Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors",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 9.1.1-maint.9.1.x/package.mo): time 1.826/1.826, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009357/0.0009357, allocations: 177.3 kB / 487 MB, free: 5.324 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 221.3 MB / 0.7819 GB, free: 1.352 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009296/0.0009296, allocations: 101.1 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4369/0.4379, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.6369, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.479/7.116, allocations: 4.438 GB / 5.643 GB, free: 106.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/7.116, allocations: 87.94 kB / 5.643 GB, free: 106 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 2.983/10.1, allocations: 0.9922 GB / 6.635 GB, free: 197.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/10.1, allocations: 8.969 kB / 6.635 GB, free: 197.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004433/10.1, allocations: 0.7146 MB / 6.636 GB, free: 197.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004821/10.11, allocations: 2.022 MB / 6.638 GB, free: 197.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/10.11, allocations: 85.06 kB / 6.638 GB, free: 197.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000737/10.11, allocations: 164.5 kB / 6.638 GB, free: 197.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00701/10.12, allocations: 4.163 MB / 6.642 GB, free: 197.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005364/10.12, allocations: 2.787 MB / 6.645 GB, free: 197.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.867e-05/10.12, allocations: 7.75 kB / 6.645 GB, free: 197.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003691/10.12, allocations: 3.906 kB / 6.645 GB, free: 197.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.061e-05/10.12, allocations: 121.5 kB / 6.645 GB, free: 197.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01573/10.14, allocations: 11.54 MB / 6.657 GB, free: 192.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005201/10.14, allocations: 4.193 MB / 6.661 GB, free: 192.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002916/10.15, allocations: 2.42 MB / 6.663 GB, free: 192.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008282/10.15, allocations: 0.8576 MB / 6.664 GB, free: 191.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/10.15, allocations: 77.98 kB / 6.664 GB, free: 191.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=399): time 5.19e-06/10.15, allocations: 2.25 kB / 6.664 GB, free: 191.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=399): time 0.009361/10.16, allocations: 4.441 MB / 6.668 GB, free: 191.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/10.16, allocations: 95.64 kB / 6.668 GB, free: 191.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/10.16, allocations: 1.038 MB / 6.669 GB, free: 190.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002146/10.16, allocations: 29.36 kB / 6.669 GB, free: 190.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/10.16, allocations: 0.5778 MB / 6.67 GB, free: 190.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008727/10.16, allocations: 1.273 MB / 6.671 GB, free: 189.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/10.16, allocations: 7.188 kB / 6.671 GB, free: 189.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000189/10.16, allocations: 444.6 kB / 6.672 GB, free: 189.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/10.16, allocations: 1.533 MB / 6.673 GB, free: 189.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/10.16, allocations: 1.804 MB / 6.675 GB, free: 189.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004472/10.17, allocations: 2.254 MB / 6.677 GB, free: 189.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/10.17, allocations: 1.406 kB / 6.677 GB, free: 189.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00766/10.18, allocations: 4.384 MB / 6.681 GB, free: 189.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/10.18, allocations: 3.688 kB / 6.681 GB, free: 189.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/10.18, allocations: 6.312 kB / 6.681 GB, free: 189.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.756e-05/10.18, allocations: 18.16 kB / 6.681 GB, free: 189.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002847/10.18, allocations: 0.6843 MB / 6.682 GB, free: 189.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.291e-05/10.18, allocations: 17.09 kB / 6.682 GB, free: 189.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002945/10.18, allocations: 332.2 kB / 6.682 GB, free: 189.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/10.18, allocations: 111.6 kB / 6.682 GB, free: 189.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.0005018/10.18, allocations: 162.1 kB / 6.683 GB, free: 189 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006135/10.18, allocations: 240.3 kB / 6.683 GB, free: 188.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008551/10.19, allocations: 4.822 MB / 6.688 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/10.19, allocations: 36.34 kB / 6.688 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/10.19, allocations: 2.938 kB / 6.688 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006783/10.2, allocations: 4.174 MB / 6.692 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/10.21, allocations: 8.207 MB / 6.7 GB, free: 188 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/10.21, allocations: 3.094 kB / 6.7 GB, free: 188 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002917/10.22, allocations: 0.6575 MB / 6.7 GB, free: 188 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004103/10.22, allocations: 137.5 kB / 6.7 GB, free: 188 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002394/10.22, allocations: 35.89 kB / 6.701 GB, free: 188 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003024/10.22, allocations: 4.339 MB / 6.705 GB, free: 184.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/10.22, allocations: 3.094 kB / 6.705 GB, free: 184.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01032/10.23, allocations: 7.017 MB / 6.712 GB, free: 183.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01367/10.24, allocations: 10.19 MB / 6.722 GB, free: 182.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/10.25, allocations: 0.768 MB / 6.722 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006588/10.25, allocations: 2.281 kB / 6.722 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002569/10.25, allocations: 152.9 kB / 6.722 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003854/10.25, allocations: 192.5 kB / 6.723 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002815/10.25, allocations: 117.1 kB / 6.723 GB, free: 182.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001229/10.25, allocations: 0.8026 MB / 6.724 GB, free: 182.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005298/10.26, allocations: 1.417 MB / 6.725 GB, free: 182.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003068/10.26, allocations: 2.542 MB / 6.727 GB, free: 181.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005057/10.26, allocations: 3.891 MB / 6.731 GB, free: 181.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/10.26, allocations: 0 / 6.731 GB, free: 181.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00306/10.27, allocations: 2.458 MB / 6.734 GB, free: 181.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005068/10.27, allocations: 0.8522 MB / 6.734 GB, free: 181.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/10.28, allocations: 5.795 MB / 6.74 GB, free: 180.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002943/10.29, allocations: 2.35 MB / 6.742 GB, free: 179.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.032e-06/10.29, allocations: 0 / 6.742 GB, free: 179.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)