Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.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.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") [: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.7423/0.7423, allocations: 141.8 MB / 149.1 MB, free: 13.7 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.001213/0.001213, allocations: 173.5 kB / 181.9 MB, free: 10.31 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.265/1.265, allocations: 221.3 MB / 436 MB, free: 2.836 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.0009173/0.0009173, allocations: 103.2 kB / 0.507 GB, free: 18.03 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001702/0.001702, allocations: 280.6 kB / 0.5885 GB, free: 4.281 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.075e-06/8.095e-06, allocations: 1.375 kB / 0.6759 GB, free: 137.2 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1637, allocations: 82.79 MB / 0.7567 GB, free: 84.15 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.205/3.369, allocations: 1.882 GB / 2.638 GB, free: 122.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/3.369, allocations: 87.89 kB / 2.638 GB, free: 122.8 MB / 0.6982 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd: time 1.848/5.217, allocations: 0.6122 GB / 3.251 GB, free: 32.94 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001075/5.217, allocations: 31.92 kB / 3.251 GB, free: 32.91 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005206/5.222, allocations: 1.561 MB / 3.252 GB, free: 31.3 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/5.223, allocations: 13.03 kB / 3.252 GB, free: 31.29 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00269/5.225, allocations: 354.2 kB / 3.252 GB, free: 30.94 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/5.228, allocations: 0.8666 MB / 3.253 GB, free: 30.03 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/5.228, allocations: 32 kB / 3.253 GB, free: 30 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003771/5.228, allocations: 60 kB / 3.253 GB, free: 29.94 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002107/5.23, allocations: 1.015 MB / 3.254 GB, free: 28.92 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/5.232, allocations: 0.9802 MB / 3.255 GB, free: 27.91 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/5.232, allocations: 0 / 3.255 GB, free: 27.91 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/5.233, allocations: 7.984 kB / 3.255 GB, free: 27.9 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-05/5.233, allocations: 61.98 kB / 3.255 GB, free: 27.84 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006657/5.239, allocations: 5.148 MB / 3.26 GB, free: 22.27 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/5.24, allocations: 0.8669 MB / 3.261 GB, free: 21.39 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006787/5.241, allocations: 0.5421 MB / 3.262 GB, free: 20.85 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-05/5.241, allocations: 20.62 kB / 3.262 GB, free: 20.83 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005975/5.242, allocations: 474.9 kB / 3.262 GB, free: 20.35 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=76): time 3.466e-06/5.242, allocations: 0 / 3.262 GB, free: 20.35 MB / 0.6982 GB Notification: Performance of matching and sorting (n=76): time 0.001652/5.244, allocations: 0.8427 MB / 3.263 GB, free: 19.5 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/5.244, allocations: 56.06 kB / 3.263 GB, free: 19.43 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/5.244, allocations: 418.2 kB / 3.264 GB, free: 19.02 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.871e-05/5.244, allocations: 33.64 kB / 3.264 GB, free: 18.98 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/5.244, allocations: 375.5 kB / 3.264 GB, free: 18.6 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/5.245, allocations: 260.1 kB / 3.264 GB, free: 18.34 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/5.245, allocations: 0 / 3.264 GB, free: 18.34 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001056/5.245, allocations: 374.8 kB / 3.265 GB, free: 17.97 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/5.245, allocations: 329.5 kB / 3.265 GB, free: 17.65 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/5.246, allocations: 446.8 kB / 3.265 GB, free: 17.17 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/5.246, allocations: 403 kB / 3.266 GB, free: 16.78 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/5.246, allocations: 3.938 kB / 3.266 GB, free: 16.77 MB / 0.6982 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0012/5.247, allocations: 0.8855 MB / 3.267 GB, free: 15.88 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/5.247, allocations: 4.625 kB / 3.267 GB, free: 15.88 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/5.247, allocations: 4 kB / 3.267 GB, free: 15.87 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/5.247, allocations: 4 kB / 3.267 GB, free: 15.87 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/5.248, allocations: 163.8 kB / 3.267 GB, free: 15.71 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/5.248, allocations: 11.88 kB / 3.267 GB, free: 15.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/5.249, allocations: 119.6 kB / 3.267 GB, free: 15.58 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/5.249, allocations: 23.98 kB / 3.267 GB, free: 15.55 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.000167/5.25, allocations: 116.8 kB / 3.267 GB, free: 15.43 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/5.25, allocations: 75.16 kB / 3.267 GB, free: 15.36 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/5.25, allocations: 103 kB / 3.267 GB, free: 15.26 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/5.25, allocations: 8 kB / 3.267 GB, free: 15.25 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/5.25, allocations: 0 / 3.267 GB, free: 15.25 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009905/5.251, allocations: 1.08 MB / 3.268 GB, free: 14.08 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/5.254, allocations: 1.873 MB / 3.27 GB, free: 12.16 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/5.254, allocations: 0 / 3.27 GB, free: 12.16 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009312/5.255, allocations: 187.8 kB / 3.27 GB, free: 11.98 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/5.255, allocations: 4 kB / 3.27 GB, free: 11.97 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/5.255, allocations: 4 kB / 3.27 GB, free: 11.97 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/5.255, allocations: 4 kB / 3.27 GB, free: 11.96 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/5.255, allocations: 0 / 3.27 GB, free: 11.96 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001656/5.256, allocations: 1.504 MB / 3.272 GB, free: 10.44 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005393/5.257, allocations: 252 kB / 3.272 GB, free: 10.17 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/5.257, allocations: 7.938 kB / 3.272 GB, free: 10.16 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/5.258, allocations: 83.81 kB / 3.272 GB, free: 10.08 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/5.258, allocations: 36.59 kB / 3.272 GB, free: 10.05 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/5.258, allocations: 24 kB / 3.272 GB, free: 10.02 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003693/5.259, allocations: 330.8 kB / 3.272 GB, free: 9.703 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001354/5.26, allocations: 463 kB / 3.273 GB, free: 9.25 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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 Backend phase and start with SimCode phase: time 0.002186/5.262, allocations: 1.813 MB / 3.275 GB, free: 7.352 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001037/5.263, allocations: 0.7917 MB / 3.275 GB, free: 6.559 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/5.263, allocations: 0.6875 kB / 3.275 GB, free: 6.559 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004765/5.264, allocations: 434.2 kB / 3.276 GB, free: 6.137 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/5.266, allocations: 480.7 kB / 3.276 GB, free: 5.672 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/5.269, allocations: 1.776 MB / 3.278 GB, free: 3.855 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009765/5.27, allocations: 1.248 MB / 3.279 GB, free: 2.586 MB / 0.6982 GB Notification: Performance of SimCode: time 9.42e-07/5.27, allocations: 0 / 3.279 GB, free: 2.586 MB / 0.6982 GB Notification: Performance of Templates: time 0.3785/5.649, allocations: 26.85 MB / 3.305 GB, free: 160.8 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)