Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [: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.5141/0.5141, 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.00121/0.00121, allocations: 167 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.481/1.481, allocations: 170.5 MB / 319 MB, free: 9.34 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.001718/0.001718, allocations: 108.1 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.231e-05/1.244e-05, allocations: 3.938 kB / 448.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1641, allocations: 61.51 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.374/1.538, allocations: 408.4 MB / 0.897 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/1.539, allocations: 84.53 kB / 0.8971 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.805/4.344, allocations: 0.7897 GB / 1.687 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000349/4.344, allocations: 60 kB / 1.687 GB, free: 8.023 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: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.0129/4.357, allocations: 3.145 MB / 1.69 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/4.357, allocations: 8.781 kB / 1.69 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002796/4.36, allocations: 328.3 kB / 1.69 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007926/4.368, allocations: 2.144 MB / 1.692 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/4.368, allocations: 76 kB / 1.692 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/4.369, allocations: 148.5 kB / 1.692 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008479/4.378, allocations: 2.903 MB / 1.695 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009299/4.387, allocations: 2.51 MB / 1.698 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/4.387, allocations: 7.906 kB / 1.698 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008554/4.388, allocations: 0 / 1.698 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.994e-05/4.388, allocations: 60.52 kB / 1.698 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02864/4.417, allocations: 10.14 MB / 1.708 GB, free: 1.938 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003963/4.421, allocations: 1.449 MB / 1.709 GB, free: 500 kB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004208/4.425, allocations: 1.733 MB / 1.711 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004152/4.429, allocations: 3.37 MB / 1.714 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.048e-05/4.43, allocations: 73 kB / 1.714 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=309): time 7.384e-06/4.43, allocations: 3.938 kB / 1.714 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=329): time 0.02797/4.457, allocations: 7.749 MB / 1.722 GB, free: 2.652 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/4.458, allocations: 111.7 kB / 1.722 GB, free: 2.523 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/4.46, allocations: 0.9669 MB / 1.723 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003546/4.46, allocations: 25.7 kB / 1.723 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005486/4.461, allocations: 0.6208 MB / 1.723 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.3648/4.826, allocations: 1.068 MB / 1.725 GB, free: 94.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/4.826, allocations: 0 / 1.725 GB, free: 94.09 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004489/4.826, allocations: 418.6 kB / 1.725 GB, free: 93.78 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/4.829, allocations: 1.133 MB / 1.726 GB, free: 93.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001986/4.831, allocations: 1.518 MB / 1.727 GB, free: 93.43 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004408/4.835, allocations: 1.586 MB / 1.729 GB, free: 93.39 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/4.835, allocations: 6.312 kB / 1.729 GB, free: 93.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.008028/4.843, allocations: 3.718 MB / 1.733 GB, free: 92.87 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/4.843, allocations: 7.281 kB / 1.733 GB, free: 92.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/4.843, allocations: 9.281 kB / 1.733 GB, free: 92.87 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/4.843, allocations: 102.2 kB / 1.733 GB, free: 92.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003226/4.847, allocations: 0.6545 MB / 1.733 GB, free: 92.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003303/4.85, allocations: 4.981 MB / 1.738 GB, free: 88.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003123/4.853, allocations: 175.5 kB / 1.738 GB, free: 88.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004042/4.854, allocations: 112.6 kB / 1.739 GB, free: 88.15 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (370): * Single equations (assignments): 366 * 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.0006398/4.854, allocations: 160.8 kB / 1.739 GB, free: 88.04 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008089/4.855, allocations: 226.5 kB / 1.739 GB, free: 88.03 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009863/4.865, allocations: 4.546 MB / 1.743 GB, free: 87.41 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.243e-05/4.865, allocations: 35.28 kB / 1.743 GB, free: 87.41 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/4.865, allocations: 5.094 kB / 1.743 GB, free: 87.41 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.39e-05/4.865, allocations: 22.7 kB / 1.743 GB, free: 87.41 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/4.88, allocations: 6.727 MB / 1.75 GB, free: 86.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/4.88, allocations: 0 / 1.75 GB, free: 86.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003391/4.884, allocations: 0.6216 MB / 1.751 GB, free: 86.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003599/4.884, allocations: 94.72 kB / 1.751 GB, free: 86.54 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003896/4.884, allocations: 44.83 kB / 1.751 GB, free: 86.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003305/4.888, allocations: 4.976 MB / 1.756 GB, free: 81.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/4.888, allocations: 10.77 kB / 1.756 GB, free: 81.79 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01114/4.899, allocations: 5.956 MB / 1.761 GB, free: 80.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002221/4.901, allocations: 0.6459 MB / 1.762 GB, free: 80.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009632/4.902, allocations: 10.81 kB / 1.762 GB, free: 80.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003307/4.906, allocations: 126.2 kB / 1.762 GB, free: 80.61 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003825/4.906, allocations: 185.6 kB / 1.762 GB, free: 80.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003863/4.906, allocations: 116.5 kB / 1.762 GB, free: 80.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001854/4.908, allocations: 0.7533 MB / 1.763 GB, free: 80.49 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004779/4.913, allocations: 1.041 MB / 1.764 GB, free: 80.49 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 16 (volBotEas.dynBal.medium.p,volBotEas.dynBal.medium.T,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.p,volBotWes.dynBal.medium.T,oriEasTop.mExc,volTopEas.dynBal.medium.p,volTopEas.dynBal.medium.T,volTopWes.dynBal.medium.p,volTopWes.dynBal.medium.T,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 347 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003041/4.916, allocations: 1.295 MB / 1.766 GB, free: 80.26 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00578/4.922, allocations: 3.497 MB / 1.769 GB, free: 79.81 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/4.922, allocations: 0 / 1.769 GB, free: 79.81 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002998/4.925, allocations: 2.134 MB / 1.771 GB, free: 79.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00545/4.93, allocations: 0.9082 MB / 1.772 GB, free: 79.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/4.944, allocations: 5.373 MB / 1.777 GB, free: 78.45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003679/4.948, allocations: 2.141 MB / 1.779 GB, free: 77.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.362e-06/4.948, allocations: 1.25 kB / 1.779 GB, free: 77.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.1027/5.051, allocations: 57.88 MB / 1.836 GB, free: 74.32 MB / 0.5573 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)