Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.389/1.389, allocations: 289.8 MB / 297.1 MB, free: 6.707 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.0008844/0.0008842, allocations: 185.3 kB / 366.3 MB, free: 2.023 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.134/1.134, allocations: 205.1 MB / 0.6256 GB, free: 5.914 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.0008761/0.000876, allocations: 84.48 kB / 0.7395 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2174/0.2183, allocations: 122.4 MB / 0.8591 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5522/0.7705, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8039/1.574, allocations: 448.4 MB / 1.411 GB, free: 41.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/1.575, allocations: 87.39 kB / 1.411 GB, free: 41.41 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.968/2.543, allocations: 283.2 MB / 1.687 GB, free: 263.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/2.543, allocations: 8.688 kB / 1.687 GB, free: 263.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/2.543, allocations: 192 kB / 1.687 GB, free: 263.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/2.545, allocations: 1.361 MB / 1.689 GB, free: 262.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/2.546, allocations: 48.84 kB / 1.689 GB, free: 262.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/2.546, allocations: 90.34 kB / 1.689 GB, free: 262.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003072/2.549, allocations: 2.27 MB / 1.691 GB, free: 261.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/2.551, allocations: 1.647 MB / 1.693 GB, free: 260.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/2.551, allocations: 10.97 kB / 1.693 GB, free: 260.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/2.551, allocations: 0 / 1.693 GB, free: 260.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/2.551, allocations: 38.16 kB / 1.693 GB, free: 260.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006569/2.558, allocations: 4.994 MB / 1.698 GB, free: 257.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/2.559, allocations: 1.163 MB / 1.699 GB, free: 256.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/2.561, allocations: 1.347 MB / 1.7 GB, free: 256 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/2.562, allocations: 1.742 MB / 1.702 GB, free: 254 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/2.562, allocations: 60.81 kB / 1.702 GB, free: 253.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=237): time 3.607e-06/2.562, allocations: 0 / 1.702 GB, free: 253.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=237): time 0.004656/2.567, allocations: 2.441 MB / 1.704 GB, free: 252.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/2.567, allocations: 78.36 kB / 1.704 GB, free: 252.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007949/2.568, allocations: 0.6574 MB / 1.705 GB, free: 252.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.705e-05/2.568, allocations: 28.83 kB / 1.705 GB, free: 252.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/2.568, allocations: 361.1 kB / 1.705 GB, free: 252.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004602/2.568, allocations: 0.7562 MB / 1.706 GB, free: 251.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/2.569, allocations: 0 / 1.706 GB, free: 251.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001025/2.569, allocations: 388.7 kB / 1.706 GB, free: 251 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/2.57, allocations: 0.8462 MB / 1.707 GB, free: 250.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/2.571, allocations: 1.054 MB / 1.708 GB, free: 250.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/2.574, allocations: 1.304 MB / 1.709 GB, free: 249.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/2.574, allocations: 0 / 1.709 GB, free: 249.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004284/2.578, allocations: 2.544 MB / 1.712 GB, free: 246.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/2.578, allocations: 4 kB / 1.712 GB, free: 246.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/2.578, allocations: 7.906 kB / 1.712 GB, free: 246.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/2.578, allocations: 12 kB / 1.712 GB, free: 246.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/2.58, allocations: 446.4 kB / 1.712 GB, free: 246.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/2.58, allocations: 12.78 kB / 1.712 GB, free: 246.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/2.581, allocations: 175.7 kB / 1.713 GB, free: 246.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/2.581, allocations: 73.2 kB / 1.713 GB, free: 246 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * 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 0.0002379/2.582, allocations: 140.4 kB / 1.713 GB, free: 245.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/2.582, allocations: 138.3 kB / 1.713 GB, free: 245.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005023/2.587, allocations: 2.87 MB / 1.716 GB, free: 242.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/2.587, allocations: 24 kB / 1.716 GB, free: 242.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/2.587, allocations: 0 / 1.716 GB, free: 242.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003877/2.591, allocations: 2.529 MB / 1.718 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006284/2.597, allocations: 4.231 MB / 1.722 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/2.597, allocations: 3.875 kB / 1.722 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/2.599, allocations: 405.8 kB / 1.723 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003783/2.599, allocations: 93.42 kB / 1.723 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/2.599, allocations: 19.98 kB / 1.723 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005637/2.6, allocations: 1.132 MB / 1.724 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/2.6, allocations: 0 / 1.724 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005856/2.606, allocations: 4.222 MB / 1.728 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007325/2.613, allocations: 6.118 MB / 1.734 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000947/2.614, allocations: 0.4946 MB / 1.735 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/2.614, allocations: 0 / 1.735 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/2.615, allocations: 74.61 kB / 1.735 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/2.616, allocations: 121.8 kB / 1.735 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/2.616, allocations: 71.97 kB / 1.735 GB, free: 223.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006467/2.616, allocations: 0.5133 MB / 1.735 GB, free: 222.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002328/2.619, allocations: 0.6865 MB / 1.736 GB, free: 221.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009821/2.62, allocations: 0.5575 MB / 1.736 GB, free: 221.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002793/2.623, allocations: 2.202 MB / 1.739 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/2.623, allocations: 1.156 kB / 1.739 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001396/2.624, allocations: 1.226 MB / 1.74 GB, free: 218.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/2.626, allocations: 488.3 kB / 1.74 GB, free: 217.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/2.63, allocations: 3.176 MB / 1.743 GB, free: 214.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/2.632, allocations: 1.58 MB / 1.745 GB, free: 212.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.9e-07/2.632, allocations: 0 / 1.745 GB, free: 212.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)