Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [: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/Buildings 1.6.0+build.1/package.mo): time 0.5071/0.5071, allocations: 94.74 MB / 102 MB, free: 10.35 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001259/0.001259, allocations: 181.4 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.325/1.325, allocations: 170.5 MB / 319 MB, free: 9.52 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001715/0.001715, allocations: 106.3 kB / 381 MB, free: 18.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.031e-06/6.162e-06, allocations: 0 / 448.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1413, allocations: 61.52 MB / 0.4981 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7849/0.9263, allocations: 393.5 MB / 0.8824 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.9266, allocations: 83.45 kB / 0.8824 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.8977/1.824, allocations: 244 MB / 1.121 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.597e-05/1.824, allocations: 18.17 kB / 1.121 GB, free: 116.1 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001482/1.826, allocations: 0.9582 MB / 1.122 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/1.826, allocations: 10.44 kB / 1.122 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/1.826, allocations: 105 kB / 1.122 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/1.827, allocations: 0.8077 MB / 1.123 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/1.828, allocations: 28.39 kB / 1.123 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/1.828, allocations: 40.06 kB / 1.123 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006773/1.828, allocations: 435.4 kB / 1.123 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007683/1.829, allocations: 0.5409 MB / 1.124 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/1.829, allocations: 2.281 kB / 1.124 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/1.829, allocations: 1.594 kB / 1.124 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/1.829, allocations: 13.78 kB / 1.124 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/1.832, allocations: 2.737 MB / 1.126 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/1.832, allocations: 258.6 kB / 1.126 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/1.833, allocations: 282.1 kB / 1.127 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008034/1.833, allocations: 1.251 MB / 1.128 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/1.834, allocations: 39.44 kB / 1.128 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=51): time 2.885e-06/1.834, allocations: 0 / 1.128 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.004132/1.838, allocations: 1.76 MB / 1.13 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/1.838, allocations: 55.88 kB / 1.13 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/1.838, allocations: 446.6 kB / 1.13 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/1.838, allocations: 25.7 kB / 1.13 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/1.838, allocations: 253.7 kB / 1.13 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/1.838, allocations: 207 kB / 1.131 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/1.839, allocations: 0 / 1.131 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.839, allocations: 377.2 kB / 1.131 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/1.839, allocations: 180.8 kB / 1.131 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/1.839, allocations: 287.9 kB / 1.131 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/1.84, allocations: 240.2 kB / 1.132 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.84, allocations: 0 / 1.132 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001077/1.841, allocations: 0.7952 MB / 1.132 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/1.841, allocations: 11.22 kB / 1.133 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.841, allocations: 0 / 1.133 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/1.841, allocations: 46.5 kB / 1.133 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/1.842, allocations: 156.7 kB / 1.133 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/1.843, allocations: 2.475 MB / 1.135 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/1.844, allocations: 51.72 kB / 1.135 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/1.844, allocations: 29.62 kB / 1.135 GB, free: 108.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/1.844, allocations: 120 kB / 1.135 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/1.844, allocations: 66.72 kB / 1.135 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/1.845, allocations: 0.8747 MB / 1.136 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/1.845, allocations: 9.859 kB / 1.136 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.845, allocations: 3.516 kB / 1.136 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.845, allocations: 3.438 kB / 1.136 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/1.847, allocations: 1.573 MB / 1.138 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/1.847, allocations: 0 / 1.138 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006583/1.848, allocations: 134.1 kB / 1.138 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/1.848, allocations: 50.78 kB / 1.138 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/1.848, allocations: 15.08 kB / 1.138 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/1.849, allocations: 2.478 MB / 1.14 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.849, allocations: 3.75 kB / 1.14 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001572/1.851, allocations: 1.171 MB / 1.142 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/1.851, allocations: 211.9 kB / 1.142 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.875e-05/1.851, allocations: 3.5 kB / 1.142 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005082/1.852, allocations: 41.45 kB / 1.142 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/1.852, allocations: 32.14 kB / 1.142 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.669e-05/1.852, allocations: 28.59 kB / 1.142 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003775/1.853, allocations: 348.6 kB / 1.142 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009392/1.853, allocations: 291.3 kB / 1.142 GB, free: 104.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (volA.dynBal.medium.p,volA.dynBal.medium.T,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.p,volOut.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006927/1.854, allocations: 469.7 kB / 1.143 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008863/1.855, allocations: 0.713 MB / 1.144 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.855, allocations: 0 / 1.144 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004965/1.856, allocations: 0.4896 MB / 1.144 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/1.857, allocations: 339.1 kB / 1.144 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/1.86, allocations: 1.344 MB / 1.146 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006381/1.86, allocations: 1.066 MB / 1.147 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of SimCode: time 3.91e-07/1.86, allocations: 0 / 1.147 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.02268/1.883, allocations: 16.09 MB / 1.162 GB, free: 102.4 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)