Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [: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/Complex 4.0.0+maint.om/package.mo): time 0.002365/0.002365, allocations: 180.2 kB / 7.455 MB, free: 2.523 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6931/0.6931, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001293, allocations: 105.1 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.171e-05/1.19e-05, allocations: 2.375 kB / 0.5528 GB, free: 89.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2248, allocations: 82.29 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.713/4.938, allocations: 1.897 GB / 2.53 GB, free: 65.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/4.938, allocations: 91.67 kB / 2.53 GB, free: 65.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.083/11.02, allocations: 1.754 GB / 4.284 GB, free: 63.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002015/11.02, allocations: 74.39 kB / 4.284 GB, free: 63.03 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.0138/11.04, allocations: 3.578 MB / 4.287 GB, free: 61.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/11.04, allocations: 8.969 kB / 4.287 GB, free: 61.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007963/11.04, allocations: 0.978 MB / 4.288 GB, free: 61.67 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005331/11.05, allocations: 1.97 MB / 4.29 GB, free: 61.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.209e-05/11.05, allocations: 85.84 kB / 4.29 GB, free: 61.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004103/11.05, allocations: 158.6 kB / 4.29 GB, free: 61.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005384/11.05, allocations: 3.085 MB / 4.294 GB, free: 61.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004919/11.06, allocations: 2.947 MB / 4.296 GB, free: 60.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-05/11.06, allocations: 11.7 kB / 4.296 GB, free: 60.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000247/11.06, allocations: 6.625 kB / 4.296 GB, free: 60.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/11.06, allocations: 123.4 kB / 4.297 GB, free: 60.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01953/11.08, allocations: 12.8 MB / 4.309 GB, free: 54.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004085/11.08, allocations: 2.693 MB / 4.312 GB, free: 54.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002447/11.09, allocations: 1.84 MB / 4.313 GB, free: 54.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/11.09, allocations: 1.494 MB / 4.315 GB, free: 52.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/11.09, allocations: 68.53 kB / 4.315 GB, free: 52.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=278): time 5.59e-06/11.09, allocations: 0 / 4.315 GB, free: 52.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=278): time 0.007418/11.09, allocations: 3.186 MB / 4.318 GB, free: 52.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/11.09, allocations: 78.28 kB / 4.318 GB, free: 52.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/11.1, allocations: 1.028 MB / 4.319 GB, free: 52.28 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002158/11.1, allocations: 29.08 kB / 4.319 GB, free: 52.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/11.1, allocations: 0.7144 MB / 4.32 GB, free: 51.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008516/11.1, allocations: 0.9122 MB / 4.321 GB, free: 51.22 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/11.1, allocations: 0 / 4.321 GB, free: 51.22 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001373/11.1, allocations: 403.2 kB / 4.321 GB, free: 50.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/11.1, allocations: 1.137 MB / 4.322 GB, free: 50.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/11.1, allocations: 1.45 MB / 4.324 GB, free: 50.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/11.1, allocations: 1.555 MB / 4.325 GB, free: 50.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/11.1, allocations: 0 / 4.325 GB, free: 50.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006007/11.11, allocations: 3.227 MB / 4.328 GB, free: 50.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/11.11, allocations: 7.875 kB / 4.328 GB, free: 50.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/11.11, allocations: 3.875 kB / 4.328 GB, free: 50.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-05/11.11, allocations: 12.72 kB / 4.328 GB, free: 50.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/11.11, allocations: 0.535 MB / 4.329 GB, free: 50.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.596e-05/11.11, allocations: 20.5 kB / 4.329 GB, free: 50.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003475/11.12, allocations: 277.6 kB / 4.329 GB, free: 50.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/11.12, allocations: 89.22 kB / 4.329 GB, free: 50.28 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.0004689/11.12, allocations: 146.7 kB / 4.329 GB, free: 50.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005795/11.12, allocations: 220.8 kB / 4.33 GB, free: 50.05 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006985/11.13, allocations: 3.334 MB / 4.333 GB, free: 49.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/11.13, allocations: 28.94 kB / 4.333 GB, free: 49.9 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/11.13, allocations: 0 / 4.333 GB, free: 49.9 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004638/11.13, allocations: 2.85 MB / 4.336 GB, free: 49.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/11.14, allocations: 6.306 MB / 4.342 GB, free: 49.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/11.14, allocations: 1.656 kB / 4.342 GB, free: 49.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002997/11.15, allocations: 0.5762 MB / 4.342 GB, free: 49.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.493e-05/11.15, allocations: 11.06 kB / 4.342 GB, free: 49.12 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001877/11.15, allocations: 35.14 kB / 4.342 GB, free: 49.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/11.15, allocations: 10.62 kB / 4.342 GB, free: 49.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/11.15, allocations: 0 / 4.342 GB, free: 49.12 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00787/11.15, allocations: 5.134 MB / 4.347 GB, free: 48.74 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002047/11.16, allocations: 0.6235 MB / 4.348 GB, free: 48.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005015/11.16, allocations: 6.312 kB / 4.348 GB, free: 48.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002443/11.16, allocations: 183.7 kB / 4.348 GB, free: 48.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002641/11.16, allocations: 137.1 kB / 4.348 GB, free: 48.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/11.16, allocations: 90.98 kB / 4.348 GB, free: 48.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.001285/11.16, allocations: 0.7806 MB / 4.349 GB, free: 48.37 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003963/11.16, allocations: 1.199 MB / 4.35 GB, free: 48.24 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.007526/11.17, allocations: 4.689 MB / 4.355 GB, free: 46.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005822/11.18, allocations: 2.861 MB / 4.358 GB, free: 46.24 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/11.18, allocations: 0 / 4.358 GB, free: 46.24 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002381/11.18, allocations: 1.533 MB / 4.359 GB, free: 46.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006534/11.19, allocations: 1.085 MB / 4.36 GB, free: 46.21 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/11.2, allocations: 5.242 MB / 4.365 GB, free: 45.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002826/11.2, allocations: 2.226 MB / 4.368 GB, free: 44.51 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/11.2, allocations: 0 / 4.368 GB, free: 44.51 MB / 0.7448 GB Notification: Performance of Templates: time 0.1308/11.33, allocations: 70.92 MB / 4.437 GB, free: 36.05 MB / 0.7448 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)