Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.8/1.8, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.0009024/0.0009024, allocations: 178.5 kB / 490.8 MB, free: 1.891 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.128/1.128, allocations: 221.4 MB / 0.7863 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008093/0.0008094, allocations: 106.4 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4296/0.4305, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.621, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.337/6.958, allocations: 4.439 GB / 5.65 GB, free: 74.54 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/6.958, allocations: 87.77 kB / 5.65 GB, free: 74.45 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.828/9.787, allocations: 0.9922 GB / 6.643 GB, free: 210.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/9.787, allocations: 9.875 kB / 6.643 GB, free: 210.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004374/9.791, allocations: 0.7023 MB / 6.643 GB, free: 210 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004686/9.796, allocations: 2.029 MB / 6.645 GB, free: 209.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/9.796, allocations: 92.12 kB / 6.645 GB, free: 209.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007311/9.797, allocations: 161.4 kB / 6.645 GB, free: 209.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006663/9.803, allocations: 4.162 MB / 6.65 GB, free: 209.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004265/9.808, allocations: 2.79 MB / 6.652 GB, free: 209.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.728e-05/9.808, allocations: 7.797 kB / 6.652 GB, free: 209.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/9.808, allocations: 0 / 6.652 GB, free: 209.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.991e-05/9.808, allocations: 125.7 kB / 6.652 GB, free: 209.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/9.821, allocations: 11.54 MB / 6.664 GB, free: 205 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004496/9.826, allocations: 4.188 MB / 6.668 GB, free: 204.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002558/9.828, allocations: 2.421 MB / 6.67 GB, free: 204.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007749/9.829, allocations: 0.8619 MB / 6.671 GB, free: 203.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/9.829, allocations: 75.61 kB / 6.671 GB, free: 203.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=399): time 4.849e-06/9.829, allocations: 0 / 6.671 GB, free: 203.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=399): time 0.008606/9.838, allocations: 4.44 MB / 6.675 GB, free: 203.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/9.838, allocations: 91.14 kB / 6.675 GB, free: 203.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/9.839, allocations: 1.04 MB / 6.676 GB, free: 203.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001625/9.839, allocations: 30.77 kB / 6.677 GB, free: 203.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/9.839, allocations: 0.5832 MB / 6.677 GB, free: 203.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006927/9.84, allocations: 1.278 MB / 6.678 GB, free: 202.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/9.84, allocations: 0 / 6.678 GB, free: 202.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001239/9.84, allocations: 438.6 kB / 6.679 GB, free: 202.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/9.842, allocations: 1.537 MB / 6.68 GB, free: 202 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/9.844, allocations: 1.805 MB / 6.682 GB, free: 201.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004142/9.848, allocations: 2.249 MB / 6.684 GB, free: 201.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/9.848, allocations: 2.625 kB / 6.684 GB, free: 201.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006838/9.855, allocations: 4.387 MB / 6.688 GB, free: 201.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/9.855, allocations: 3.719 kB / 6.688 GB, free: 201.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/9.855, allocations: 3.594 kB / 6.689 GB, free: 201.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/9.855, allocations: 18.94 kB / 6.689 GB, free: 201.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/9.858, allocations: 0.6849 MB / 6.689 GB, free: 201.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/9.858, allocations: 14.88 kB / 6.689 GB, free: 201.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/9.86, allocations: 336.2 kB / 6.69 GB, free: 201.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002444/9.861, allocations: 116.2 kB / 6.69 GB, free: 201.5 MB / 1.167 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.0003929/9.861, allocations: 154.6 kB / 6.69 GB, free: 201.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/9.861, allocations: 233.4 kB / 6.69 GB, free: 201.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007878/9.869, allocations: 4.833 MB / 6.695 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/9.869, allocations: 41.41 kB / 6.695 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/9.869, allocations: 0 / 6.695 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006409/9.876, allocations: 4.183 MB / 6.699 GB, free: 200.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/9.888, allocations: 8.199 MB / 6.707 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/9.888, allocations: 0 / 6.707 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002849/9.891, allocations: 0.6558 MB / 6.707 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003901/9.891, allocations: 137.4 kB / 6.708 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002184/9.892, allocations: 32.97 kB / 6.708 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002966/9.895, allocations: 4.339 MB / 6.712 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/9.895, allocations: 6.25 kB / 6.712 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009839/9.904, allocations: 7.026 MB / 6.719 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01296/9.917, allocations: 10.19 MB / 6.729 GB, free: 195.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/9.919, allocations: 0.7633 MB / 6.729 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004026/9.919, allocations: 10.28 kB / 6.729 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/9.921, allocations: 144 kB / 6.73 GB, free: 194.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/9.922, allocations: 198.5 kB / 6.73 GB, free: 194.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002507/9.922, allocations: 112 kB / 6.73 GB, free: 194.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0009333/9.923, allocations: 0.8063 MB / 6.731 GB, free: 194.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004362/9.927, allocations: 1.419 MB / 6.732 GB, free: 194.7 MB / 1.167 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.002394/9.93, allocations: 2.527 MB / 6.735 GB, free: 194 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004308/9.934, allocations: 3.897 MB / 6.738 GB, free: 193.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/9.934, allocations: 3.438 kB / 6.738 GB, free: 193.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002488/9.937, allocations: 2.464 MB / 6.741 GB, free: 193.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003808/9.94, allocations: 0.85 MB / 6.742 GB, free: 193.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008404/9.949, allocations: 5.797 MB / 6.747 GB, free: 192.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00235/9.951, allocations: 2.351 MB / 6.75 GB, free: 191.9 MB / 1.167 GB Notification: Performance of SimCode: time 6.41e-07/9.951, allocations: 0 / 6.75 GB, free: 191.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)