Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1",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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.363/1.363, allocations: 289.8 MB / 297.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 173.3 kB / 366.3 MB, free: 1.973 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.075/1.075, allocations: 205.2 MB / 0.6256 GB, free: 5.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008343/0.0008343, allocations: 89.73 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2115/0.2123, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4935/0.7059, allocations: 116.3 MB / 0.9726 GB, free: 68.68 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.156/3.862, allocations: 2.069 GB / 3.041 GB, free: 7.355 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/3.862, allocations: 83.95 kB / 3.041 GB, free: 7.273 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.619/4.481, allocations: 164.3 MB / 3.202 GB, free: 228.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/4.482, allocations: 8 kB / 3.202 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000935/4.482, allocations: 143.4 kB / 3.202 GB, free: 228.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/4.483, allocations: 411.3 kB / 3.202 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/4.483, allocations: 15.84 kB / 3.202 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/4.483, allocations: 12 kB / 3.202 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002735/4.483, allocations: 180.9 kB / 3.203 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/4.484, allocations: 237.7 kB / 3.203 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/4.484, allocations: 0 / 3.203 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/4.484, allocations: 4 kB / 3.203 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/4.484, allocations: 8.5 kB / 3.203 GB, free: 227.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/4.485, allocations: 1.25 MB / 3.204 GB, free: 226.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/4.485, allocations: 191 kB / 3.204 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/4.485, allocations: 88.78 kB / 3.204 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/4.485, allocations: 4 kB / 3.204 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/4.486, allocations: 30.56 kB / 3.204 GB, free: 225.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/4.486, allocations: 4 kB / 3.204 GB, free: 225.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0005818/4.486, allocations: 226.4 kB / 3.205 GB, free: 225.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.506e-05/4.486, allocations: 55.41 kB / 3.205 GB, free: 225.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/4.486, allocations: 235.6 kB / 3.205 GB, free: 225.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/4.486, allocations: 29.7 kB / 3.205 GB, free: 225.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/4.486, allocations: 160.1 kB / 3.205 GB, free: 225.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/4.486, allocations: 74.89 kB / 3.205 GB, free: 225.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/4.486, allocations: 0 / 3.205 GB, free: 225.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.616e-05/4.487, allocations: 338.8 kB / 3.205 GB, free: 224.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/4.487, allocations: 59.98 kB / 3.206 GB, free: 224.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.986e-05/4.487, allocations: 114.8 kB / 3.206 GB, free: 224.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.914e-05/4.487, allocations: 76 kB / 3.206 GB, free: 224.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/4.487, allocations: 3.984 kB / 3.206 GB, free: 224.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002657/4.487, allocations: 227.9 kB / 3.206 GB, free: 224.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/4.487, allocations: 8.188 kB / 3.206 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/4.487, allocations: 0 / 3.206 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/4.487, allocations: 4 kB / 3.206 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/4.487, allocations: 47.91 kB / 3.206 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/4.487, allocations: 4 kB / 3.206 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/4.488, allocations: 15.75 kB / 3.206 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/4.488, allocations: 12 kB / 3.206 GB, free: 224.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.582e-05/4.488, allocations: 112.9 kB / 3.206 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/4.488, allocations: 27.62 kB / 3.206 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/4.488, allocations: 34.02 kB / 3.206 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/4.488, allocations: 4 kB / 3.206 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/4.488, allocations: 0 / 3.206 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/4.488, allocations: 3.984 kB / 3.206 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/4.488, allocations: 353.8 kB / 3.207 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/4.488, allocations: 7.922 kB / 3.207 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/4.488, allocations: 31.98 kB / 3.207 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001761/4.489, allocations: 52.77 kB / 3.207 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/4.489, allocations: 4 kB / 3.207 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008136/4.489, allocations: 1.365 MB / 3.208 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/4.489, allocations: 0 / 3.208 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004195/4.49, allocations: 396.3 kB / 3.208 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005896/4.49, allocations: 0.883 MB / 3.209 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/4.491, allocations: 128.7 kB / 3.209 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/4.491, allocations: 3.984 kB / 3.209 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/4.491, allocations: 7.938 kB / 3.209 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/4.491, allocations: 11.98 kB / 3.209 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/4.491, allocations: 8 kB / 3.209 GB, free: 220.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001286/4.491, allocations: 191.1 kB / 3.21 GB, free: 220.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001091/4.492, allocations: 215.7 kB / 3.21 GB, free: 220.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006461/4.493, allocations: 0.8193 MB / 3.211 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002051/4.493, allocations: 147.9 kB / 3.211 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/4.493, allocations: 384 / 3.211 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/4.493, allocations: 193.6 kB / 3.211 GB, free: 219 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/4.494, allocations: 163.1 kB / 3.211 GB, free: 218.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007979/4.495, allocations: 0.5549 MB / 3.212 GB, free: 218.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/4.495, allocations: 0.8384 MB / 3.212 GB, free: 217.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/4.495, allocations: 0 / 3.212 GB, free: 217.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)