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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7347/0.7347, allocations: 141.8 MB / 149.1 MB, free: 4.531 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 180.9 kB / 181.9 MB, free: 176 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 221.3 MB / 436 MB, free: 9.359 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.0009315/0.0009315, allocations: 102.2 kB / 0.507 GB, free: 24.14 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001889, allocations: 280.5 kB / 0.5884 GB, free: 12.34 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2146/0.2165, allocations: 89.65 MB / 0.676 GB, free: 2.617 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.6852, allocations: 82.76 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.393/10.08, allocations: 4.398 GB / 5.155 GB, free: 162.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/10.08, allocations: 91.88 kB / 5.155 GB, free: 162.4 MB / 0.6982 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 3.505/13.58, allocations: 0.9782 GB / 6.133 GB, free: 95.75 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/13.58, allocations: 14.36 kB / 6.133 GB, free: 95.75 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005664/13.59, allocations: 0.7075 MB / 6.134 GB, free: 95.59 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006051/13.6, allocations: 1.992 MB / 6.136 GB, free: 95.28 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/13.6, allocations: 91.75 kB / 6.136 GB, free: 95.28 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/13.6, allocations: 161.5 kB / 6.136 GB, free: 95.28 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008306/13.6, allocations: 4.149 MB / 6.14 GB, free: 95.26 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006199/13.61, allocations: 2.787 MB / 6.143 GB, free: 95.14 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.078e-05/13.61, allocations: 0 / 6.143 GB, free: 95.14 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/13.61, allocations: 4.906 kB / 6.143 GB, free: 95.14 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/13.61, allocations: 132.1 kB / 6.143 GB, free: 95.13 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01955/13.63, allocations: 10.74 MB / 6.153 GB, free: 91.19 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005925/13.64, allocations: 4.186 MB / 6.158 GB, free: 90.96 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003195/13.64, allocations: 2.412 MB / 6.16 GB, free: 90.93 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009183/13.64, allocations: 0.864 MB / 6.161 GB, free: 90.09 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.213e-05/13.64, allocations: 77.61 kB / 6.161 GB, free: 90.04 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=399): time 4.839e-06/13.64, allocations: 1.969 kB / 6.161 GB, free: 90.04 MB / 0.7138 GB Notification: Performance of matching and sorting (n=399): time 0.0102/13.65, allocations: 4.438 MB / 6.165 GB, free: 89.78 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/13.65, allocations: 91.14 kB / 6.165 GB, free: 89.71 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/13.65, allocations: 1.03 MB / 6.166 GB, free: 89.57 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0002653/13.65, allocations: 27.95 kB / 6.166 GB, free: 89.54 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/13.65, allocations: 0.5802 MB / 6.167 GB, free: 89.2 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001068/13.66, allocations: 1.283 MB / 6.168 GB, free: 88.33 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/13.66, allocations: 0 / 6.168 GB, free: 88.33 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0002007/13.66, allocations: 440.5 kB / 6.168 GB, free: 88.02 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002146/13.66, allocations: 1.536 MB / 6.17 GB, free: 88.01 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/13.66, allocations: 1.818 MB / 6.172 GB, free: 87.85 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004648/13.66, allocations: 2.246 MB / 6.174 GB, free: 87.8 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/13.66, allocations: 3.25 kB / 6.174 GB, free: 87.8 MB / 0.7138 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008315/13.67, allocations: 4.378 MB / 6.178 GB, free: 87.57 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/13.67, allocations: 10.31 kB / 6.178 GB, free: 87.57 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/13.67, allocations: 5.062 kB / 6.178 GB, free: 87.57 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-05/13.67, allocations: 15.56 kB / 6.178 GB, free: 87.57 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/13.68, allocations: 0.6797 MB / 6.179 GB, free: 87.57 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.61e-05/13.68, allocations: 18.16 kB / 6.179 GB, free: 87.57 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/13.68, allocations: 296.7 kB / 6.179 GB, free: 87.44 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003076/13.68, allocations: 110.2 kB / 6.179 GB, free: 87.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.0006086/13.68, allocations: 150.5 kB / 6.179 GB, free: 87.33 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006396/13.68, allocations: 239.2 kB / 6.18 GB, free: 87.21 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009235/13.69, allocations: 4.817 MB / 6.184 GB, free: 87.02 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.789e-05/13.69, allocations: 41.94 kB / 6.184 GB, free: 87.02 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/13.69, allocations: 0 / 6.184 GB, free: 87.02 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0071/13.7, allocations: 4.18 MB / 6.189 GB, free: 86.75 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/13.71, allocations: 8.188 MB / 6.197 GB, free: 86.23 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/13.71, allocations: 0 / 6.197 GB, free: 86.23 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/13.72, allocations: 0.6661 MB / 6.197 GB, free: 86.23 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/13.72, allocations: 142.9 kB / 6.197 GB, free: 86.21 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002557/13.72, allocations: 33.25 kB / 6.197 GB, free: 86.2 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003505/13.72, allocations: 4.327 MB / 6.202 GB, free: 82.4 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/13.72, allocations: 0 / 6.202 GB, free: 82.4 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01262/13.73, allocations: 7.275 MB / 6.209 GB, free: 81.98 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01633/13.75, allocations: 10.46 MB / 6.219 GB, free: 81.18 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/13.75, allocations: 0.7633 MB / 6.22 GB, free: 80.91 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005252/13.75, allocations: 17.52 kB / 6.22 GB, free: 80.91 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002342/13.75, allocations: 141.1 kB / 6.22 GB, free: 80.9 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003581/13.75, allocations: 195.8 kB / 6.22 GB, free: 80.89 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/13.76, allocations: 113.6 kB / 6.22 GB, free: 80.89 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.00116/13.76, allocations: 0.7944 MB / 6.221 GB, free: 80.79 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.005359/13.76, allocations: 1.415 MB / 6.222 GB, free: 80.69 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.002902/13.76, allocations: 2.552 MB / 6.225 GB, free: 79.94 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.005042/13.77, allocations: 3.9 MB / 6.229 GB, free: 79.88 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/13.77, allocations: 0 / 6.229 GB, free: 79.88 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.00285/13.77, allocations: 2.452 MB / 6.231 GB, free: 79.58 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004173/13.78, allocations: 0.8534 MB / 6.232 GB, free: 79.57 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/13.79, allocations: 5.744 MB / 6.237 GB, free: 78.69 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00287/13.79, allocations: 2.328 MB / 6.24 GB, free: 77.94 MB / 0.7138 GB Notification: Performance of SimCode: time 1.022e-06/13.79, allocations: 0 / 6.24 GB, free: 77.94 MB / 0.7138 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)