Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7715/0.7715, allocations: 141.8 MB / 149.1 MB, free: 11.98 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.00122/0.00122, allocations: 179.6 kB / 181.9 MB, free: 8.723 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.356/1.356, allocations: 221.4 MB / 436.1 MB, free: 0.9297 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.001026/0.001026, allocations: 92.92 kB / 0.507 GB, free: 17.81 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001882/0.001882, allocations: 276.7 kB / 0.5885 GB, free: 2.625 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4383/0.4402, allocations: 89.63 MB / 0.676 GB, free: 136.4 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.6232, allocations: 82.77 MB / 0.7568 GB, free: 81.22 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.708, allocations: 419.2 MB / 1.166 GB, free: 278.6 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/1.708, allocations: 90.86 kB / 1.166 GB, free: 278.6 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.593/2.301, allocations: 288.5 MB / 1.448 GB, free: 356 kB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/2.302, allocations: 8 kB / 1.448 GB, free: 348 kB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/2.303, allocations: 189.8 kB / 1.448 GB, free: 156 kB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2774/2.58, allocations: 1.357 MB / 1.45 GB, free: 200.3 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/2.58, allocations: 50.38 kB / 1.45 GB, free: 200.3 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/2.58, allocations: 91.28 kB / 1.45 GB, free: 200.3 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003202/2.584, allocations: 2.266 MB / 1.452 GB, free: 200.3 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/2.586, allocations: 1.648 MB / 1.453 GB, free: 200.2 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.031e-05/2.586, allocations: 2.781 kB / 1.453 GB, free: 200.2 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/2.586, allocations: 3.562 kB / 1.453 GB, free: 200.2 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/2.586, allocations: 39.91 kB / 1.454 GB, free: 200.2 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006854/2.593, allocations: 4.991 MB / 1.458 GB, free: 199.1 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/2.594, allocations: 1.166 MB / 1.46 GB, free: 199.1 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/2.596, allocations: 1.348 MB / 1.461 GB, free: 199.1 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/2.597, allocations: 1.732 MB / 1.463 GB, free: 197.2 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/2.597, allocations: 60.16 kB / 1.463 GB, free: 197.1 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=237): time 3.677e-06/2.597, allocations: 0 / 1.463 GB, free: 197.1 MB / 0.7138 GB Notification: Performance of matching and sorting (n=237): time 0.005059/2.602, allocations: 2.443 MB / 1.465 GB, free: 197 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/2.602, allocations: 76.22 kB / 1.465 GB, free: 196.9 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/2.604, allocations: 0.6633 MB / 1.466 GB, free: 196.8 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/2.604, allocations: 25.7 kB / 1.466 GB, free: 196.8 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/2.604, allocations: 361.5 kB / 1.466 GB, free: 196.6 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007019/2.605, allocations: 0.7618 MB / 1.467 GB, free: 196.2 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.679e-05/2.605, allocations: 0 / 1.467 GB, free: 196.2 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001359/2.605, allocations: 388.4 kB / 1.467 GB, free: 195.9 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/2.606, allocations: 0.8418 MB / 1.468 GB, free: 195.9 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/2.608, allocations: 1.048 MB / 1.469 GB, free: 195.7 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/2.611, allocations: 1.307 MB / 1.47 GB, free: 195.7 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/2.611, allocations: 2.656 kB / 1.47 GB, free: 195.7 MB / 0.7138 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004974/2.616, allocations: 2.543 MB / 1.473 GB, free: 195.5 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/2.616, allocations: 4.781 kB / 1.473 GB, free: 195.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/2.616, allocations: 7.031 kB / 1.473 GB, free: 195.5 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/2.616, allocations: 13.72 kB / 1.473 GB, free: 195.5 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/2.617, allocations: 442.1 kB / 1.473 GB, free: 195.5 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/2.617, allocations: 14.72 kB / 1.473 GB, free: 195.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/2.619, allocations: 173.4 kB / 1.473 GB, free: 195.5 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/2.619, allocations: 74.23 kB / 1.474 GB, free: 195.5 MB / 0.7138 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.0003023/2.619, allocations: 138.3 kB / 1.474 GB, free: 195.4 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/2.62, allocations: 147.9 kB / 1.474 GB, free: 195.3 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005449/2.625, allocations: 2.881 MB / 1.477 GB, free: 195.2 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/2.625, allocations: 20.66 kB / 1.477 GB, free: 195.2 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/2.625, allocations: 2.969 kB / 1.477 GB, free: 195.2 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003957/2.629, allocations: 2.513 MB / 1.479 GB, free: 194.9 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006758/2.636, allocations: 4.234 MB / 1.483 GB, free: 194.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/2.636, allocations: 3.938 kB / 1.483 GB, free: 194.5 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/2.638, allocations: 413 kB / 1.484 GB, free: 194.5 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000411/2.638, allocations: 90.62 kB / 1.484 GB, free: 194.5 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/2.638, allocations: 22.38 kB / 1.484 GB, free: 194.5 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006093/2.639, allocations: 1.133 MB / 1.485 GB, free: 193.4 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/2.639, allocations: 3.656 kB / 1.485 GB, free: 193.4 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006281/2.645, allocations: 4.221 MB / 1.489 GB, free: 193.1 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008093/2.653, allocations: 6.126 MB / 1.495 GB, free: 192.4 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009526/2.654, allocations: 497 kB / 1.495 GB, free: 192.2 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/2.654, allocations: 6.562 kB / 1.495 GB, free: 192.2 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/2.656, allocations: 69.78 kB / 1.495 GB, free: 192.2 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/2.656, allocations: 127 kB / 1.496 GB, free: 192.2 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/2.656, allocations: 70.8 kB / 1.496 GB, free: 192.2 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0005964/2.657, allocations: 0.5186 MB / 1.496 GB, free: 192.1 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.002193/2.659, allocations: 0.6809 MB / 1.497 GB, free: 192.1 MB / 0.7138 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.0008896/2.66, allocations: 0.5582 MB / 1.497 GB, free: 192 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.002732/2.662, allocations: 2.196 MB / 1.5 GB, free: 192 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/2.662, allocations: 1.406 kB / 1.5 GB, free: 192 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/2.664, allocations: 1.233 MB / 1.501 GB, free: 192 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/2.666, allocations: 462.4 kB / 1.501 GB, free: 192 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/2.671, allocations: 3.172 MB / 1.504 GB, free: 191.4 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/2.673, allocations: 1.583 MB / 1.506 GB, free: 190.7 MB / 0.7138 GB Notification: Performance of SimCode: time 8.41e-07/2.673, allocations: 0 / 1.506 GB, free: 190.7 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)