Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo): time 0.4984/0.4984, allocations: 94.74 MB / 102 MB, free: 10.36 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.001171/0.001172, allocations: 185.8 kB / 125.3 MB, free: 11.99 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.442/1.442, allocations: 170.5 MB / 319 MB, free: 9.539 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.001761/0.001761, allocations: 107.9 kB / 381 MB, free: 18.11 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.167e-05/1.169e-05, allocations: 224 / 448.6 MB, free: 2.137 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1673, allocations: 61.52 MB / 0.4981 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.311/1.479, allocations: 406.5 MB / 0.8951 GB, free: 187.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/1.479, allocations: 79.22 kB / 0.8952 GB, free: 187.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.462/3.941, allocations: 0.6846 GB / 1.58 GB, free: 48.38 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001438/3.941, allocations: 55.84 kB / 1.58 GB, free: 48.37 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.006825/3.948, allocations: 2.502 MB / 1.582 GB, free: 47.42 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/3.948, allocations: 13.19 kB / 1.582 GB, free: 47.42 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000955/3.949, allocations: 266.5 kB / 1.583 GB, free: 47.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003965/3.953, allocations: 1.81 MB / 1.584 GB, free: 46.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.684e-05/3.953, allocations: 59.69 kB / 1.584 GB, free: 46.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000233/3.953, allocations: 118.8 kB / 1.584 GB, free: 46.89 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00331/3.956, allocations: 1.953 MB / 1.586 GB, free: 46.89 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002941/3.959, allocations: 1.84 MB / 1.588 GB, free: 46.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.022e-05/3.959, allocations: 2.531 kB / 1.588 GB, free: 46.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/3.96, allocations: 5.812 kB / 1.588 GB, free: 46.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/3.96, allocations: 46.12 kB / 1.588 GB, free: 46.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/3.971, allocations: 8.104 MB / 1.596 GB, free: 42.88 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/3.973, allocations: 1.016 MB / 1.597 GB, free: 42.86 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/3.975, allocations: 1.264 MB / 1.598 GB, free: 42.84 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002262/3.977, allocations: 3.273 MB / 1.602 GB, free: 39.18 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/3.977, allocations: 61.05 kB / 1.602 GB, free: 39.14 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=215): time 3.717e-06/3.977, allocations: 0 / 1.602 GB, free: 39.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=235): time 0.01626/3.993, allocations: 5.841 MB / 1.607 GB, free: 37.97 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/3.993, allocations: 78.53 kB / 1.607 GB, free: 37.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/3.995, allocations: 0.843 MB / 1.608 GB, free: 37.76 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000144/3.995, allocations: 28.89 kB / 1.608 GB, free: 37.73 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/3.995, allocations: 0.5244 MB / 1.609 GB, free: 37.42 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000592/3.996, allocations: 0.7639 MB / 1.61 GB, free: 36.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.523e-05/3.996, allocations: 0 / 1.61 GB, free: 36.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001316/3.996, allocations: 387.6 kB / 1.61 GB, free: 36.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/3.997, allocations: 0.7749 MB / 1.611 GB, free: 36.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/3.998, allocations: 1.064 MB / 1.612 GB, free: 36.32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/4.001, allocations: 1.08 MB / 1.613 GB, free: 36.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/4.001, allocations: 3.75 kB / 1.613 GB, free: 36.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.005361/4.007, allocations: 2.723 MB / 1.615 GB, free: 35.72 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/4.007, allocations: 6.969 kB / 1.615 GB, free: 35.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/4.007, allocations: 7.688 kB / 1.615 GB, free: 35.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003012/4.007, allocations: 93.06 kB / 1.616 GB, free: 35.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/4.009, allocations: 499.5 kB / 1.616 GB, free: 35.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/4.012, allocations: 4.987 MB / 1.621 GB, free: 30.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/4.014, allocations: 150.8 kB / 1.621 GB, free: 30.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/4.015, allocations: 81.92 kB / 1.621 GB, free: 30.92 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 260 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003956/4.015, allocations: 144 kB / 1.621 GB, free: 30.81 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/4.015, allocations: 175.1 kB / 1.621 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006344/4.022, allocations: 3.228 MB / 1.625 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/4.022, allocations: 23.91 kB / 1.625 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/4.022, allocations: 3.906 kB / 1.625 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/4.022, allocations: 16.08 kB / 1.625 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009055/4.031, allocations: 5.115 MB / 1.63 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/4.031, allocations: 0 / 1.63 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002259/4.033, allocations: 475.7 kB / 1.63 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/4.033, allocations: 95.94 kB / 1.63 GB, free: 29.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/4.034, allocations: 29.22 kB / 1.63 GB, free: 29.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002331/4.036, allocations: 4.964 MB / 1.635 GB, free: 24.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/4.036, allocations: 7.562 kB / 1.635 GB, free: 24.58 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006811/4.043, allocations: 4.288 MB / 1.639 GB, free: 23.81 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/4.044, allocations: 0.5123 MB / 1.64 GB, free: 23.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003132/4.045, allocations: 10.2 kB / 1.64 GB, free: 23.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/4.046, allocations: 116.1 kB / 1.64 GB, free: 23.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/4.046, allocations: 130.9 kB / 1.64 GB, free: 23.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/4.046, allocations: 84.52 kB / 1.64 GB, free: 23.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0009223/4.047, allocations: 0.6399 MB / 1.641 GB, free: 23.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002723/4.05, allocations: 0.8372 MB / 1.641 GB, free: 23.43 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 14 (volEas.dynBal.medium.p,volEas.dynBal.medium.T,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.p,volOut.dynBal.medium.T,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.p,volTop.dynBal.medium.T,volWes.dynBal.medium.p,volWes.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(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.001873/4.052, allocations: 1.13 MB / 1.643 GB, free: 23.15 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003696/4.056, allocations: 2.572 MB / 1.645 GB, free: 22.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/4.056, allocations: 7.906 kB / 1.645 GB, free: 22.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001988/4.058, allocations: 1.635 MB / 1.647 GB, free: 22.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004574/4.062, allocations: 0.7847 MB / 1.647 GB, free: 22.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/4.075, allocations: 4.139 MB / 1.651 GB, free: 21.51 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002656/4.077, allocations: 1.825 MB / 1.653 GB, free: 20.77 MB / 0.5417 GB Notification: Performance of SimCode: time 1.783e-06/4.077, allocations: 0.5625 kB / 1.653 GB, free: 20.77 MB / 0.5417 GB Notification: Performance of Templates: time 0.08754/4.165, allocations: 46.38 MB / 1.699 GB, free: 17.41 MB / 0.5417 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)