Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") [: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.7046/0.7046, allocations: 141.8 MB / 149.1 MB, free: 13.17 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.001154/0.001154, allocations: 186.5 kB / 182 MB, free: 9.84 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.261/1.261, allocations: 221.4 MB / 436 MB, free: 2.266 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.0009994/0.0009994, allocations: 98.92 kB / 0.507 GB, free: 17.66 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 273.6 kB / 0.5885 GB, free: 3.828 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.652e-06, allocations: 1.406 kB / 0.6759 GB, free: 136.6 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1526, allocations: 82.77 MB / 0.7567 GB, free: 83.34 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.112/3.264, allocations: 1.88 GB / 2.636 GB, free: 118.6 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/3.265, allocations: 85.5 kB / 2.637 GB, free: 118.5 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.434/4.698, allocations: 473.8 MB / 3.099 GB, free: 155.5 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001028/4.699, allocations: 27.81 kB / 3.099 GB, free: 155.5 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002933/4.702, allocations: 1.149 MB / 3.1 GB, free: 154.9 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/4.702, allocations: 8.938 kB / 3.1 GB, free: 154.9 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/4.704, allocations: 340.3 kB / 3.101 GB, free: 154.9 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/4.706, allocations: 0.7655 MB / 3.101 GB, free: 154.6 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/4.706, allocations: 25.25 kB / 3.101 GB, free: 154.6 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/4.706, allocations: 44.41 kB / 3.102 GB, free: 154.6 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000987/4.707, allocations: 0.5352 MB / 3.102 GB, free: 154.6 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/4.708, allocations: 0.6654 MB / 3.103 GB, free: 154.5 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/4.708, allocations: 3.75 kB / 3.103 GB, free: 154.5 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/4.708, allocations: 4 kB / 3.103 GB, free: 154.5 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/4.708, allocations: 27.56 kB / 3.103 GB, free: 154.5 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/4.712, allocations: 3.296 MB / 3.106 GB, free: 152.6 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007134/4.713, allocations: 465.7 kB / 3.106 GB, free: 152.6 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/4.713, allocations: 260.9 kB / 3.107 GB, free: 152.6 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004879/4.713, allocations: 0.6777 MB / 3.107 GB, free: 151.8 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/4.713, allocations: 37.19 kB / 3.107 GB, free: 151.8 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=51): time 2.224e-06/4.713, allocations: 0 / 3.107 GB, free: 151.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=51): time 0.00125/4.715, allocations: 0.5265 MB / 3.108 GB, free: 151.7 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/4.715, allocations: 55.44 kB / 3.108 GB, free: 151.7 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004799/4.715, allocations: 459 kB / 3.108 GB, free: 151.5 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/4.715, allocations: 25.7 kB / 3.108 GB, free: 151.5 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/4.715, allocations: 292.6 kB / 3.109 GB, free: 151.3 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/4.716, allocations: 176.4 kB / 3.109 GB, free: 151.2 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/4.716, allocations: 3.062 kB / 3.109 GB, free: 151.2 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.928e-05/4.716, allocations: 376.8 kB / 3.109 GB, free: 150.9 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/4.716, allocations: 173 kB / 3.109 GB, free: 150.9 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/4.716, allocations: 257.5 kB / 3.11 GB, free: 150.8 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/4.716, allocations: 225.5 kB / 3.11 GB, free: 150.8 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/4.716, allocations: 0 / 3.11 GB, free: 150.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007567/4.717, allocations: 0.5341 MB / 3.11 GB, free: 150.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/4.717, allocations: 5.969 kB / 3.11 GB, free: 150.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/4.717, allocations: 7.656 kB / 3.11 GB, free: 150.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/4.717, allocations: 6.812 kB / 3.11 GB, free: 150.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005122/4.718, allocations: 120.6 kB / 3.11 GB, free: 150.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/4.718, allocations: 3.688 kB / 3.11 GB, free: 150.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008162/4.719, allocations: 62.36 kB / 3.111 GB, free: 150.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/4.719, allocations: 18.28 kB / 3.111 GB, free: 150.7 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0001016/4.719, allocations: 124.3 kB / 3.111 GB, free: 150.6 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/4.719, allocations: 68.69 kB / 3.111 GB, free: 150.6 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007706/4.72, allocations: 0.5161 MB / 3.111 GB, free: 150.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/4.72, allocations: 7.594 kB / 3.111 GB, free: 150.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/4.72, allocations: 0 / 3.111 GB, free: 150.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006045/4.72, allocations: 0.7408 MB / 3.112 GB, free: 150.1 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/4.722, allocations: 1.363 MB / 3.113 GB, free: 149.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/4.722, allocations: 3.438 kB / 3.113 GB, free: 149.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007266/4.723, allocations: 147.5 kB / 3.113 GB, free: 149.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/4.723, allocations: 0 / 3.113 GB, free: 149.8 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/4.723, allocations: 14.02 kB / 3.113 GB, free: 149.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/4.723, allocations: 7.812 kB / 3.113 GB, free: 149.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/4.723, allocations: 0 / 3.113 GB, free: 149.8 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001003/4.724, allocations: 0.9342 MB / 3.114 GB, free: 149.5 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/4.724, allocations: 213.1 kB / 3.115 GB, free: 149.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/4.725, allocations: 10.25 kB / 3.115 GB, free: 149.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007039/4.725, allocations: 56.86 kB / 3.115 GB, free: 149.4 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/4.725, allocations: 28.53 kB / 3.115 GB, free: 149.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/4.725, allocations: 19.27 kB / 3.115 GB, free: 149.4 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003315/4.726, allocations: 356 kB / 3.115 GB, free: 149.3 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0009739/4.727, allocations: 351.5 kB / 3.115 GB, free: 149.2 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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.001621/4.728, allocations: 1.391 MB / 3.117 GB, free: 148.9 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0006104/4.729, allocations: 450.7 kB / 3.117 GB, free: 148.9 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/4.729, allocations: 0 / 3.117 GB, free: 148.9 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/4.729, allocations: 240.7 kB / 3.117 GB, free: 148.9 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/4.731, allocations: 410.5 kB / 3.118 GB, free: 148.9 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/4.734, allocations: 1.431 MB / 3.119 GB, free: 148.5 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006327/4.734, allocations: 1.105 MB / 3.12 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of SimCode: time 3.91e-07/4.734, allocations: 3.906 kB / 3.12 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of Templates: time 0.03281/4.767, allocations: 20.61 MB / 3.14 GB, free: 139.6 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)