Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo): time 0.5151/0.5151, allocations: 94.73 MB / 102 MB, free: 10.37 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.001187/0.001187, allocations: 178.5 kB / 125.3 MB, free: 12 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.249/1.249, allocations: 170.5 MB / 319 MB, free: 9.414 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.001578/0.001578, allocations: 109.8 kB / 381 MB, free: 18.11 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.01e-05/1.027e-05, allocations: 4.219 kB / 448.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1468, allocations: 61.52 MB / 0.4981 GB, free: 4.527 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.93/11.08, allocations: 5.258 GB / 5.756 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/11.08, allocations: 83.95 kB / 5.756 GB, free: 5.965 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Airflow/Multizone/ZonalFlow_ACS.mo:30:3-36: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.348/12.43, allocations: 402 MB / 6.149 GB, free: 30.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.025e-05/12.43, allocations: 25.41 kB / 6.149 GB, free: 30.88 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.005933/12.44, allocations: 1.605 MB / 6.15 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/12.44, allocations: 8.031 kB / 6.15 GB, free: 29.22 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007333/12.44, allocations: 106.9 kB / 6.15 GB, free: 29.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07969/12.52, allocations: 26.68 MB / 6.176 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.845e-05/12.52, allocations: 23.91 kB / 6.176 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/12.52, allocations: 44 kB / 6.176 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001696/12.52, allocations: 0.7927 MB / 6.177 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/12.52, allocations: 0.7414 MB / 6.178 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/12.52, allocations: 0 / 6.178 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/12.52, allocations: 0 / 6.178 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.74e-05/12.52, allocations: 41.98 kB / 6.178 GB, free: 492 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2816/12.8, allocations: 3.194 MB / 6.181 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/12.8, allocations: 0.5063 MB / 6.182 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/12.8, allocations: 397.4 kB / 6.182 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/12.8, allocations: 201.6 kB / 6.182 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005552/12.8, allocations: 436.8 kB / 6.183 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 2.905e-06/12.8, allocations: 0 / 6.183 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.009864/12.81, allocations: 3.972 MB / 6.186 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/12.81, allocations: 63.47 kB / 6.187 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/12.81, allocations: 443.5 kB / 6.187 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/12.81, allocations: 25.7 kB / 6.187 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/12.81, allocations: 264.3 kB / 6.187 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/12.81, allocations: 279.3 kB / 6.188 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/12.81, allocations: 0 / 6.188 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001004/12.81, allocations: 378.2 kB / 6.188 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/12.81, allocations: 380.4 kB / 6.188 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005514/12.82, allocations: 466.9 kB / 6.189 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/12.82, allocations: 0.555 MB / 6.189 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/12.82, allocations: 3.062 kB / 6.189 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002546/12.82, allocations: 1.296 MB / 6.19 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/12.82, allocations: 3.938 kB / 6.19 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/12.82, allocations: 0.9375 kB / 6.19 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000932/12.82, allocations: 262.9 kB / 6.191 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007367/12.82, allocations: 174.5 kB / 6.191 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/12.83, allocations: 5.303 MB / 6.196 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/12.83, allocations: 83.83 kB / 6.196 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002471/12.83, allocations: 37.86 kB / 6.196 GB, free: 104.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (89): * Single equations (assignments): 87 * 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 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003942/12.83, allocations: 125.7 kB / 6.196 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003185/12.83, allocations: 68.56 kB / 6.196 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00369/12.84, allocations: 1.421 MB / 6.198 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/12.84, allocations: 15.59 kB / 6.198 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/12.84, allocations: 0 / 6.198 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/12.84, allocations: 6 kB / 6.198 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005111/12.84, allocations: 2.717 MB / 6.2 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/12.84, allocations: 3.125 kB / 6.2 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000797/12.84, allocations: 182.3 kB / 6.201 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/12.84, allocations: 306 kB / 6.201 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-05/12.84, allocations: 26.97 kB / 6.201 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/12.85, allocations: 2.959 MB / 6.204 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/12.85, allocations: 1.125 kB / 6.204 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003556/12.85, allocations: 1.877 MB / 6.206 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009295/12.85, allocations: 292.4 kB / 6.206 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/12.85, allocations: 10.38 kB / 6.206 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/12.85, allocations: 65.3 kB / 6.206 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/12.85, allocations: 53.28 kB / 6.206 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/12.85, allocations: 51.77 kB / 6.206 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0004474/12.85, allocations: 351.4 kB / 6.206 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003171/12.86, allocations: 0.7159 MB / 6.207 GB, free: 100.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (rooA.dynBal.medium.p,rooA.dynBal.medium.Xi[1],rooA.dynBal.medium.T,rooB.dynBal.medium.p,rooB.dynBal.medium.Xi[1],rooB.dynBal.medium.T) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 90 * 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 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003452/12.86, allocations: 1.7 MB / 6.209 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002081/12.86, allocations: 1.201 MB / 6.21 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/12.86, allocations: 3.219 kB / 6.21 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/12.86, allocations: 0.7895 MB / 6.211 GB, free: 99.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/12.87, allocations: 439.5 kB / 6.211 GB, free: 99.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/12.87, allocations: 1.866 MB / 6.213 GB, free: 99.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/12.87, allocations: 1.176 MB / 6.214 GB, free: 98.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/12.87, allocations: 0 / 6.214 GB, free: 98.88 MB / 0.5261 GB Notification: Performance of Templates: time 0.04869/12.92, allocations: 31.63 MB / 6.245 GB, free: 98.13 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)