Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7283/0.7283, allocations: 141.8 MB / 149.1 MB, free: 4.574 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 182.3 kB / 181.9 MB, free: 248 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 221.3 MB / 436 MB, free: 9.406 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008594/0.0008593, allocations: 94.62 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001769/0.001769, allocations: 273.4 kB / 0.5884 GB, free: 12.39 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 5.581e-06/5.701e-06, allocations: 0 / 0.6759 GB, free: 2.754 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3791, allocations: 82.76 MB / 0.7567 GB, free: 113 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.213/3.592, allocations: 1.674 GB / 2.431 GB, free: 132.3 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/3.592, allocations: 83.95 kB / 2.431 GB, free: 132.2 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.1063/3.698, allocations: 55.62 MB / 2.486 GB, free: 75.81 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 1.379e-05/3.699, allocations: 4 kB / 2.486 GB, free: 75.8 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000814/3.699, allocations: 470.1 kB / 2.486 GB, free: 75.3 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/3.699, allocations: 8.031 kB / 2.486 GB, free: 75.29 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000692/3.7, allocations: 63.73 kB / 2.486 GB, free: 75.23 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/3.7, allocations: 194.9 kB / 2.486 GB, free: 75 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/3.7, allocations: 0 / 2.486 GB, free: 75 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/3.7, allocations: 8 kB / 2.486 GB, free: 74.99 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003043/3.701, allocations: 79.91 kB / 2.486 GB, free: 74.91 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/3.701, allocations: 154.9 kB / 2.487 GB, free: 74.75 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/3.701, allocations: 0 / 2.487 GB, free: 74.75 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/3.701, allocations: 0 / 2.487 GB, free: 74.75 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/3.701, allocations: 4 kB / 2.487 GB, free: 74.74 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/3.702, allocations: 0.7941 MB / 2.487 GB, free: 73.88 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/3.702, allocations: 98.48 kB / 2.487 GB, free: 73.78 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.306e-05/3.702, allocations: 52.84 kB / 2.487 GB, free: 73.72 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/3.703, allocations: 0 / 2.487 GB, free: 73.72 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/3.703, allocations: 34.56 kB / 2.487 GB, free: 73.68 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/3.703, allocations: 0 / 2.487 GB, free: 73.68 MB / 0.6982 GB Notification: Performance of matching and sorting (n=8): time 0.000836/3.703, allocations: 194.2 kB / 2.488 GB, free: 73.48 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/3.703, allocations: 55.41 kB / 2.488 GB, free: 73.41 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/3.704, allocations: 116 kB / 2.488 GB, free: 73.29 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/3.704, allocations: 25.7 kB / 2.488 GB, free: 73.26 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/3.704, allocations: 115.8 kB / 2.488 GB, free: 73.14 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/3.704, allocations: 23.66 kB / 2.488 GB, free: 73.12 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/3.704, allocations: 4 kB / 2.488 GB, free: 73.12 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.01e-05/3.704, allocations: 322.8 kB / 2.488 GB, free: 72.79 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.132e-05/3.704, allocations: 35.98 kB / 2.488 GB, free: 72.76 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.449e-05/3.704, allocations: 85.94 kB / 2.488 GB, free: 72.65 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.807e-05/3.704, allocations: 49.09 kB / 2.488 GB, free: 72.61 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/3.704, allocations: 0 / 2.488 GB, free: 72.61 MB / 0.6982 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0008093/3.705, allocations: 222.1 kB / 2.489 GB, free: 72.38 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/3.705, allocations: 4 kB / 2.489 GB, free: 72.38 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/3.705, allocations: 3.984 kB / 2.489 GB, free: 72.37 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006274/3.705, allocations: 88.91 kB / 2.489 GB, free: 72.28 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/3.706, allocations: 43.95 kB / 2.489 GB, free: 72.24 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/3.707, allocations: 1.49 MB / 2.49 GB, free: 70.62 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/3.708, allocations: 31.98 kB / 2.49 GB, free: 70.59 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/3.708, allocations: 4 kB / 2.49 GB, free: 70.59 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 7.895e-05/3.708, allocations: 109 kB / 2.49 GB, free: 70.48 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/3.708, allocations: 11.81 kB / 2.49 GB, free: 70.46 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007389/3.709, allocations: 246.7 kB / 2.491 GB, free: 70.21 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/3.709, allocations: 4 kB / 2.491 GB, free: 70.21 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/3.709, allocations: 0 / 2.491 GB, free: 70.21 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/3.709, allocations: 0 / 2.491 GB, free: 70.21 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/3.709, allocations: 214 kB / 2.491 GB, free: 69.96 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/3.709, allocations: 0 / 2.491 GB, free: 69.96 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/3.709, allocations: 35.97 kB / 2.491 GB, free: 69.93 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/3.71, allocations: 88.77 kB / 2.491 GB, free: 69.84 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/3.71, allocations: 7.906 kB / 2.491 GB, free: 69.83 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/3.711, allocations: 1.512 MB / 2.492 GB, free: 68.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/3.711, allocations: 0 / 2.492 GB, free: 68.2 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006763/3.712, allocations: 325.1 kB / 2.493 GB, free: 67.86 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/3.712, allocations: 88.95 kB / 2.493 GB, free: 67.76 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/3.712, allocations: 3.906 kB / 2.493 GB, free: 67.75 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/3.712, allocations: 23.98 kB / 2.493 GB, free: 67.73 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/3.712, allocations: 7.984 kB / 2.493 GB, free: 67.72 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/3.712, allocations: 7.984 kB / 2.493 GB, free: 67.71 MB / 0.6982 GB Notification: Performance of sort global known variables: time 4.697e-05/3.712, allocations: 102.1 kB / 2.493 GB, free: 67.62 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0005108/3.713, allocations: 79.92 kB / 2.493 GB, free: 67.54 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008545/3.714, allocations: 0.6958 MB / 2.494 GB, free: 66.84 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0005469/3.714, allocations: 229.7 kB / 2.494 GB, free: 66.61 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/3.714, allocations: 0 / 2.494 GB, free: 66.61 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003215/3.715, allocations: 189.9 kB / 2.494 GB, free: 66.41 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/3.715, allocations: 15.91 kB / 2.494 GB, free: 66.4 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/3.716, allocations: 223.3 kB / 2.494 GB, free: 66.16 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/3.716, allocations: 0.7306 MB / 2.495 GB, free: 65.4 MB / 0.6982 GB Notification: Performance of SimCode: time 2.6e-07/3.716, allocations: 3.938 kB / 2.495 GB, free: 65.4 MB / 0.6982 GB Notification: Performance of Templates: time 0.01162/3.728, allocations: 6.64 MB / 2.502 GB, free: 58.79 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)