Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") translateModel(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.6986/0.6986, allocations: 141.8 MB / 149.1 MB, free: 12.99 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 183.8 kB / 181.9 MB, free: 9.68 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 221.4 MB / 436 MB, free: 2.215 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009357/0.0009358, allocations: 93.11 kB / 0.507 GB, free: 10.91 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00181/0.00181, allocations: 286.7 kB / 0.5884 GB, free: 7.734 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.993e-06, allocations: 0 / 0.6759 GB, free: 14.11 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3678, allocations: 82.78 MB / 0.7567 GB, free: 138.9 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.342/7.709, allocations: 4.398 GB / 5.155 GB, free: 57.16 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/7.71, allocations: 88.78 kB / 5.155 GB, free: 57.08 MB / 0.6982 GB Notification: Performance of FrontEnd: time 3.097/10.81, allocations: 0.9749 GB / 6.13 GB, free: 88.86 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0002602/10.81, allocations: 66.47 kB / 6.13 GB, free: 88.85 MB / 0.7138 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 0.01218/10.82, allocations: 3.326 MB / 6.133 GB, free: 87.64 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/10.82, allocations: 6.938 kB / 6.133 GB, free: 87.64 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00524/10.82, allocations: 0.7118 MB / 6.134 GB, free: 87.48 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005632/10.83, allocations: 1.997 MB / 6.136 GB, free: 87.04 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/10.83, allocations: 84.91 kB / 6.136 GB, free: 87.04 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/10.83, allocations: 161.1 kB / 6.136 GB, free: 87.04 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008083/10.84, allocations: 4.147 MB / 6.14 GB, free: 87.02 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007213/10.85, allocations: 2.787 MB / 6.143 GB, free: 86.9 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/10.85, allocations: 3.906 kB / 6.143 GB, free: 86.9 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006363/10.85, allocations: 3.938 kB / 6.143 GB, free: 86.9 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/10.85, allocations: 124.4 kB / 6.143 GB, free: 86.89 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01941/10.87, allocations: 10.74 MB / 6.153 GB, free: 82.87 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006742/10.87, allocations: 4.202 MB / 6.157 GB, free: 82.62 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004133/10.88, allocations: 2.409 MB / 6.16 GB, free: 82.58 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/10.88, allocations: 0.8642 MB / 6.161 GB, free: 81.73 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.722e-05/10.88, allocations: 72.39 kB / 6.161 GB, free: 81.69 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=399): time 6.242e-06/10.88, allocations: 3.531 kB / 6.161 GB, free: 81.69 MB / 0.7138 GB Notification: Performance of matching and sorting (n=399): time 0.0129/10.89, allocations: 4.445 MB / 6.165 GB, free: 81.13 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/10.89, allocations: 92.98 kB / 6.165 GB, free: 81.07 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/10.89, allocations: 1.022 MB / 6.166 GB, free: 80.64 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.000593/10.9, allocations: 28.58 kB / 6.166 GB, free: 80.61 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/10.9, allocations: 0.5799 MB / 6.167 GB, free: 80.19 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/10.9, allocations: 1.277 MB / 6.168 GB, free: 79.17 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004327/10.9, allocations: 3.656 kB / 6.168 GB, free: 79.17 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0003261/10.9, allocations: 446.6 kB / 6.168 GB, free: 78.8 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002623/10.9, allocations: 1.527 MB / 6.17 GB, free: 78.25 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002936/10.9, allocations: 1.817 MB / 6.172 GB, free: 77.48 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006102/10.91, allocations: 2.252 MB / 6.174 GB, free: 76.79 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.012e-05/10.91, allocations: 5.375 kB / 6.174 GB, free: 76.79 MB / 0.7138 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01213/10.92, allocations: 4.375 MB / 6.178 GB, free: 75.39 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/10.92, allocations: 4.719 kB / 6.178 GB, free: 75.39 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/10.92, allocations: 5.203 kB / 6.178 GB, free: 75.39 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.895e-05/10.92, allocations: 17.91 kB / 6.178 GB, free: 75.39 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/10.93, allocations: 0.6892 MB / 6.179 GB, free: 74.79 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.949e-05/10.93, allocations: 19.84 kB / 6.179 GB, free: 74.78 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/10.93, allocations: 290.2 kB / 6.179 GB, free: 74.54 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003081/10.93, allocations: 109.3 kB / 6.179 GB, free: 74.44 MB / 0.7138 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.0005732/10.93, allocations: 162.2 kB / 6.179 GB, free: 74.28 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006583/10.93, allocations: 241.1 kB / 6.18 GB, free: 74.04 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009339/10.94, allocations: 4.817 MB / 6.184 GB, free: 70.03 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-05/10.94, allocations: 36 kB / 6.184 GB, free: 69.99 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/10.94, allocations: 0 / 6.184 GB, free: 69.99 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007164/10.95, allocations: 4.176 MB / 6.188 GB, free: 66.39 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/10.96, allocations: 8.18 MB / 6.196 GB, free: 59.87 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.988e-06/10.96, allocations: 3.938 kB / 6.196 GB, free: 59.87 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003056/10.96, allocations: 0.6691 MB / 6.197 GB, free: 59.28 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000423/10.96, allocations: 132.8 kB / 6.197 GB, free: 59.16 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002468/10.96, allocations: 31.73 kB / 6.197 GB, free: 59.14 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003079/10.97, allocations: 4.342 MB / 6.201 GB, free: 54.62 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/10.97, allocations: 3.156 kB / 6.201 GB, free: 54.62 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01082/10.98, allocations: 7.259 MB / 6.209 GB, free: 48.21 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/10.98, allocations: 0.7671 MB / 6.209 GB, free: 47.54 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005434/10.98, allocations: 4 kB / 6.209 GB, free: 47.54 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/10.98, allocations: 156.5 kB / 6.209 GB, free: 47.44 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003822/10.98, allocations: 195.9 kB / 6.21 GB, free: 47.32 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002708/10.98, allocations: 114.5 kB / 6.21 GB, free: 47.22 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.001094/10.98, allocations: 0.797 MB / 6.211 GB, free: 46.5 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.004562/10.99, allocations: 1.135 MB / 6.212 GB, free: 45.38 MB / 0.7138 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.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],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.002928/10.99, allocations: 2.539 MB / 6.214 GB, free: 43.45 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.005067/11, allocations: 3.899 MB / 6.218 GB, free: 39.84 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/11, allocations: 0 / 6.218 GB, free: 39.84 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.002801/11, allocations: 2.452 MB / 6.22 GB, free: 37.54 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/11, allocations: 0.8564 MB / 6.221 GB, free: 36.94 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009196/11.01, allocations: 5.723 MB / 6.227 GB, free: 32.43 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002652/11.02, allocations: 2.277 MB / 6.229 GB, free: 30.44 MB / 0.7138 GB Notification: Performance of SimCode: time 8.12e-07/11.02, allocations: 0 / 6.229 GB, free: 30.44 MB / 0.7138 GB Notification: Performance of Templates: time 0.4068/11.42, allocations: 63.52 MB / 6.291 GB, free: 140.9 MB / 0.7294 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)