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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [: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.7092/0.7092, allocations: 141.8 MB / 149.1 MB, free: 1.594 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.001043/0.001043, allocations: 177.2 kB / 181.9 MB, free: 0.9531 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 221.4 MB / 436 MB, free: 5.676 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.001033/0.001033, allocations: 92.61 kB / 0.507 GB, free: 2.34 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001616/0.001616, allocations: 280.4 kB / 0.5884 GB, free: 47.41 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3236/0.3252, allocations: 89.62 MB / 0.676 GB, free: 59.81 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.459, allocations: 82.78 MB / 0.7568 GB, free: 0.7695 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.75/3.209, allocations: 1.674 GB / 2.431 GB, free: 33.21 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/3.21, allocations: 85.94 kB / 2.431 GB, free: 33.13 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.3661/3.576, allocations: 56.08 MB / 2.486 GB, free: 244.7 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/3.576, allocations: 11.28 kB / 2.486 GB, free: 244.7 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006117/3.576, allocations: 57.72 kB / 2.486 GB, free: 244.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/3.577, allocations: 197.8 kB / 2.486 GB, free: 244.5 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/3.577, allocations: 3.375 kB / 2.486 GB, free: 244.5 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/3.577, allocations: 9.281 kB / 2.486 GB, free: 244.5 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002059/3.577, allocations: 83.91 kB / 2.486 GB, free: 244.5 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/3.577, allocations: 144.1 kB / 2.487 GB, free: 244.4 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/3.577, allocations: 0 / 2.487 GB, free: 244.4 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/3.577, allocations: 4.906 kB / 2.487 GB, free: 244.4 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/3.577, allocations: 2.094 kB / 2.487 GB, free: 244.4 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/3.578, allocations: 0.7951 MB / 2.487 GB, free: 243.8 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/3.578, allocations: 96.67 kB / 2.487 GB, free: 243.7 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.176e-05/3.578, allocations: 49.41 kB / 2.488 GB, free: 243.7 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/3.579, allocations: 1.344 kB / 2.488 GB, free: 243.7 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/3.579, allocations: 35.12 kB / 2.488 GB, free: 243.7 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/3.579, allocations: 0 / 2.488 GB, free: 243.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=8): time 0.0008409/3.579, allocations: 199.3 kB / 2.488 GB, free: 243.6 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/3.579, allocations: 52.25 kB / 2.488 GB, free: 243.6 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.861e-05/3.58, allocations: 116.6 kB / 2.488 GB, free: 243.5 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/3.58, allocations: 25.7 kB / 2.488 GB, free: 243.4 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/3.58, allocations: 110.4 kB / 2.488 GB, free: 243.3 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/3.58, allocations: 26.77 kB / 2.488 GB, free: 243.3 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/3.58, allocations: 0 / 2.488 GB, free: 243.3 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 4.386e-05/3.58, allocations: 323.7 kB / 2.488 GB, free: 243 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.938e-05/3.58, allocations: 42.03 kB / 2.488 GB, free: 243 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.964e-05/3.58, allocations: 81.25 kB / 2.488 GB, free: 243 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.945e-05/3.58, allocations: 60.23 kB / 2.489 GB, free: 242.9 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/3.58, allocations: 0 / 2.489 GB, free: 242.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0008264/3.581, allocations: 215.2 kB / 2.489 GB, free: 242.9 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/3.581, allocations: 5 kB / 2.489 GB, free: 242.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/3.581, allocations: 1.562 kB / 2.489 GB, free: 242.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000678/3.582, allocations: 88.59 kB / 2.489 GB, free: 242.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/3.582, allocations: 44.52 kB / 2.489 GB, free: 242.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/3.584, allocations: 1.487 MB / 2.49 GB, free: 241.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/3.584, allocations: 32.31 kB / 2.49 GB, free: 241.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/3.584, allocations: 6.016 kB / 2.49 GB, free: 241.6 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 8.438e-05/3.584, allocations: 105.8 kB / 2.49 GB, free: 241.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/3.584, allocations: 11.09 kB / 2.49 GB, free: 241.5 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000873/3.585, allocations: 254 kB / 2.491 GB, free: 241.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/3.585, allocations: 1.438 kB / 2.491 GB, free: 241.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/3.585, allocations: 0.7031 kB / 2.491 GB, free: 241.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/3.585, allocations: 1.609 kB / 2.491 GB, free: 241.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/3.585, allocations: 211 kB / 2.491 GB, free: 241.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/3.585, allocations: 0 / 2.491 GB, free: 241.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/3.586, allocations: 39.75 kB / 2.491 GB, free: 241.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005512/3.586, allocations: 90.25 kB / 2.491 GB, free: 241.3 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/3.586, allocations: 6.594 kB / 2.491 GB, free: 241.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/3.588, allocations: 1.507 MB / 2.493 GB, free: 240 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/3.588, allocations: 0 / 2.493 GB, free: 240 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000736/3.589, allocations: 314.3 kB / 2.493 GB, free: 239.9 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008292/3.59, allocations: 0.6927 MB / 2.494 GB, free: 239.4 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/3.59, allocations: 90.83 kB / 2.494 GB, free: 239.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/3.59, allocations: 0.5625 kB / 2.494 GB, free: 239.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/3.59, allocations: 29.16 kB / 2.494 GB, free: 239.3 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/3.59, allocations: 8.203 kB / 2.494 GB, free: 239.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/3.59, allocations: 4.469 kB / 2.494 GB, free: 239.3 MB / 0.6982 GB Notification: Performance of sort global known variables: time 5.421e-05/3.59, allocations: 97.55 kB / 2.494 GB, free: 239.2 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001142/3.591, allocations: 131.6 kB / 2.494 GB, free: 239.2 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.001029/3.592, allocations: 0.7125 MB / 2.495 GB, free: 239 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.000568/3.593, allocations: 225.1 kB / 2.495 GB, free: 238.9 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/3.593, allocations: 1.219 kB / 2.495 GB, free: 238.9 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003563/3.593, allocations: 185.5 kB / 2.495 GB, free: 238.8 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/3.593, allocations: 17.83 kB / 2.495 GB, free: 238.8 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008587/3.594, allocations: 228.4 kB / 2.495 GB, free: 238.7 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/3.595, allocations: 0.7313 MB / 2.496 GB, free: 238 MB / 0.6982 GB Notification: Performance of SimCode: time 3.1e-07/3.595, allocations: 1 kB / 2.496 GB, free: 238 MB / 0.6982 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)