Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.246/1.246, allocations: 249.4 MB / 256.7 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.001011, allocations: 173.3 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.1 MB / 0.5667 GB, free: 15.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009157/0.0009158, allocations: 89.72 kB / 0.671 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3713/0.3723, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.547, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.027/4.574, allocations: 2.187 GB / 3.072 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/4.574, allocations: 79.95 kB / 3.072 GB, free: 218.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.2806/4.855, allocations: 162.1 MB / 3.23 GB, free: 52.78 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/4.855, allocations: 15.98 kB / 3.23 GB, free: 52.77 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008982/4.856, allocations: 139.4 kB / 3.23 GB, free: 52.63 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/4.856, allocations: 415.2 kB / 3.231 GB, free: 52.19 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/4.856, allocations: 11.98 kB / 3.231 GB, free: 52.18 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/4.856, allocations: 16 kB / 3.231 GB, free: 52.16 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002905/4.857, allocations: 184.9 kB / 3.231 GB, free: 51.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/4.857, allocations: 245.8 kB / 3.231 GB, free: 51.73 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/4.857, allocations: 0 / 3.231 GB, free: 51.73 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/4.857, allocations: 0 / 3.231 GB, free: 51.73 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/4.857, allocations: 12.41 kB / 3.231 GB, free: 51.71 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/4.858, allocations: 1.253 MB / 3.232 GB, free: 50.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/4.859, allocations: 198.9 kB / 3.232 GB, free: 50.14 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.967e-05/4.859, allocations: 80.83 kB / 3.232 GB, free: 50.05 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/4.859, allocations: 7.906 kB / 3.232 GB, free: 50.05 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/4.859, allocations: 34.56 kB / 3.233 GB, free: 50 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 2.525e-06/4.859, allocations: 4 kB / 3.233 GB, free: 50 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.000585/4.859, allocations: 222.4 kB / 3.233 GB, free: 49.77 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/4.86, allocations: 59.34 kB / 3.233 GB, free: 49.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/4.86, allocations: 239.6 kB / 3.233 GB, free: 49.46 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/4.86, allocations: 25.7 kB / 3.233 GB, free: 49.43 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/4.86, allocations: 164.1 kB / 3.233 GB, free: 49.26 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/4.86, allocations: 66.95 kB / 3.233 GB, free: 49.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/4.86, allocations: 7.938 kB / 3.233 GB, free: 49.19 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.474e-05/4.86, allocations: 338.8 kB / 3.234 GB, free: 48.85 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/4.86, allocations: 59.92 kB / 3.234 GB, free: 48.79 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.224e-05/4.86, allocations: 110.8 kB / 3.234 GB, free: 48.66 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/4.86, allocations: 78.06 kB / 3.234 GB, free: 48.58 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/4.86, allocations: 0 / 3.234 GB, free: 48.58 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002636/4.861, allocations: 221.1 kB / 3.234 GB, free: 48.36 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/4.861, allocations: 4 kB / 3.234 GB, free: 48.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/4.861, allocations: 8.188 kB / 3.234 GB, free: 48.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/4.861, allocations: 0 / 3.234 GB, free: 48.35 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/4.861, allocations: 43.92 kB / 3.234 GB, free: 48.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/4.861, allocations: 4 kB / 3.234 GB, free: 48.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/4.861, allocations: 23.73 kB / 3.234 GB, free: 48.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/4.861, allocations: 4 kB / 3.234 GB, free: 48.27 MB / 0.8698 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.966e-05/4.861, allocations: 112.9 kB / 3.234 GB, free: 48.16 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/4.861, allocations: 35.62 kB / 3.234 GB, free: 48.12 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/4.861, allocations: 34.08 kB / 3.234 GB, free: 48.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/4.861, allocations: 0 / 3.234 GB, free: 48.09 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/4.861, allocations: 4 kB / 3.234 GB, free: 48.08 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/4.861, allocations: 0 / 3.234 GB, free: 48.08 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/4.862, allocations: 361.8 kB / 3.235 GB, free: 47.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/4.862, allocations: 0 / 3.235 GB, free: 47.69 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/4.862, allocations: 35.92 kB / 3.235 GB, free: 47.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/4.862, allocations: 48.83 kB / 3.235 GB, free: 47.61 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/4.862, allocations: 3.938 kB / 3.235 GB, free: 47.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008502/4.863, allocations: 1.369 MB / 3.236 GB, free: 46.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/4.863, allocations: 0 / 3.236 GB, free: 46.12 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004153/4.863, allocations: 391.3 kB / 3.236 GB, free: 45.72 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006134/4.864, allocations: 0.8654 MB / 3.237 GB, free: 44.83 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/4.864, allocations: 132.6 kB / 3.237 GB, free: 44.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/4.864, allocations: 4 kB / 3.237 GB, free: 44.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/4.864, allocations: 7.984 kB / 3.237 GB, free: 44.67 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/4.864, allocations: 15.83 kB / 3.237 GB, free: 44.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/4.864, allocations: 12 kB / 3.237 GB, free: 44.64 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001285/4.865, allocations: 195.1 kB / 3.238 GB, free: 44.45 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001087/4.866, allocations: 219.8 kB / 3.238 GB, free: 44.24 MB / 0.8698 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.0006923/4.866, allocations: 0.8067 MB / 3.239 GB, free: 43.43 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002115/4.867, allocations: 152.2 kB / 3.239 GB, free: 43.28 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/4.867, allocations: 384 / 3.239 GB, free: 43.28 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/4.867, allocations: 181.2 kB / 3.239 GB, free: 43.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007702/4.868, allocations: 174.5 kB / 3.239 GB, free: 42.93 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008647/4.869, allocations: 0.5662 MB / 3.24 GB, free: 42.34 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/4.869, allocations: 0.8458 MB / 3.241 GB, free: 41.46 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/4.869, allocations: 0 / 3.241 GB, free: 41.46 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)