Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 192.5 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4825/0.4825, allocations: 90.86 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 221.4 MB / 342.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009524/0.0009523, allocations: 93.22 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1716/0.1726, allocations: 78.44 MB / 493.9 MB, free: 7.969 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.5137, allocations: 72.31 MB / 0.553 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8929/1.407, allocations: 412.2 MB / 0.9556 GB, free: 236.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/1.407, allocations: 81 kB / 0.9556 GB, free: 236.1 MB / 0.6042 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.9002/2.307, allocations: 294.7 MB / 1.243 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/2.307, allocations: 15.25 kB / 1.243 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/2.308, allocations: 196.7 kB / 1.244 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003401/2.312, allocations: 1.381 MB / 1.245 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/2.312, allocations: 56.81 kB / 1.245 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004654/2.312, allocations: 86.56 kB / 1.245 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00396/2.316, allocations: 2.261 MB / 1.247 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003892/2.32, allocations: 1.652 MB / 1.249 GB, free: 127.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.506e-05/2.32, allocations: 0 / 1.249 GB, free: 127.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/2.32, allocations: 3.844 kB / 1.249 GB, free: 127.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.84e-05/2.321, allocations: 35.09 kB / 1.249 GB, free: 127.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009401/2.33, allocations: 4.996 MB / 1.254 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/2.332, allocations: 1.177 MB / 1.255 GB, free: 126.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/2.334, allocations: 1.343 MB / 1.256 GB, free: 126.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/2.335, allocations: 1.733 MB / 1.258 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/2.335, allocations: 54.78 kB / 1.258 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=237): time 4.017e-06/2.335, allocations: 0 / 1.258 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=237): time 0.005282/2.34, allocations: 2.444 MB / 1.26 GB, free: 124.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/2.34, allocations: 79.59 kB / 1.26 GB, free: 124.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009941/2.341, allocations: 0.6685 MB / 1.261 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/2.341, allocations: 25.7 kB / 1.261 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/2.342, allocations: 366.9 kB / 1.262 GB, free: 124 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004862/2.342, allocations: 0.7548 MB / 1.262 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-05/2.342, allocations: 0 / 1.262 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001094/2.342, allocations: 398.2 kB / 1.263 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/2.344, allocations: 0.8464 MB / 1.263 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/2.345, allocations: 1.051 MB / 1.264 GB, free: 123 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/2.348, allocations: 1.302 MB / 1.266 GB, free: 123 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/2.348, allocations: 0 / 1.266 GB, free: 123 MB / 0.6042 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005173/2.353, allocations: 2.544 MB / 1.268 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/2.353, allocations: 3.969 kB / 1.268 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/2.353, allocations: 6.969 kB / 1.268 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-05/2.353, allocations: 11.88 kB / 1.268 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/2.355, allocations: 446.1 kB / 1.269 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.515e-05/2.355, allocations: 15.02 kB / 1.269 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/2.357, allocations: 177 kB / 1.269 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/2.357, allocations: 75.77 kB / 1.269 GB, free: 122.8 MB / 0.6042 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.0002917/2.357, allocations: 125.8 kB / 1.269 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003397/2.357, allocations: 144.8 kB / 1.269 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006083/2.363, allocations: 2.871 MB / 1.272 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/2.364, allocations: 22.62 kB / 1.272 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.061e-05/2.364, allocations: 0 / 1.272 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005056/2.369, allocations: 2.521 MB / 1.274 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009183/2.378, allocations: 4.246 MB / 1.279 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/2.378, allocations: 3.562 kB / 1.279 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/2.38, allocations: 413.7 kB / 1.279 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004167/2.38, allocations: 84.98 kB / 1.279 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/2.38, allocations: 23.8 kB / 1.279 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006794/2.381, allocations: 1.129 MB / 1.28 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/2.381, allocations: 3.656 kB / 1.28 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00702/2.388, allocations: 4.228 MB / 1.284 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009292/2.397, allocations: 6.118 MB / 1.29 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/2.399, allocations: 499 kB / 1.291 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004533/2.399, allocations: 3.609 kB / 1.291 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/2.401, allocations: 82.44 kB / 1.291 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/2.401, allocations: 124 kB / 1.291 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/2.401, allocations: 67.28 kB / 1.291 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0008808/2.402, allocations: 0.5233 MB / 1.292 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002898/2.405, allocations: 0.6864 MB / 1.292 GB, free: 119.2 MB / 0.6042 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.001196/2.406, allocations: 0.5481 MB / 1.293 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003607/2.41, allocations: 2.2 MB / 1.295 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/2.41, allocations: 0 / 1.295 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002401/2.412, allocations: 1.237 MB / 1.296 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/2.415, allocations: 462.3 kB / 1.297 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006348/2.422, allocations: 3.176 MB / 1.3 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002004/2.424, allocations: 1.591 MB / 1.301 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of SimCode: time 1.543e-06/2.424, allocations: 0 / 1.301 GB, free: 116.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneOpenDoor.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)