Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7762/0.7762, allocations: 141.8 MB / 149.1 MB, free: 2.91 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 178.9 kB / 182 MB, free: 14.79 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 221.3 MB / 436 MB, free: 7.859 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.001159, allocations: 92.05 kB / 0.507 GB, free: 24.47 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001893/0.001893, allocations: 274.5 kB / 0.5885 GB, free: 11 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2259/0.2278, allocations: 89.65 MB / 0.676 GB, free: 1.27 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.7633, allocations: 82.76 MB / 0.7568 GB, free: 111.5 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.052/4.815, allocations: 1.897 GB / 2.654 GB, free: 170 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/4.816, allocations: 92.52 kB / 2.654 GB, free: 169.9 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 7.077/11.89, allocations: 1.973 GB / 4.627 GB, free: 48.62 MB / 0.7607 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/11.89, allocations: 10.59 kB / 4.627 GB, free: 48.62 MB / 0.7607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008606/11.9, allocations: 1.068 MB / 4.628 GB, free: 48.42 MB / 0.7607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007052/11.91, allocations: 2.256 MB / 4.63 GB, free: 47.82 MB / 0.7607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/11.91, allocations: 103.3 kB / 4.63 GB, free: 47.82 MB / 0.7607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001627/11.91, allocations: 193.2 kB / 4.63 GB, free: 47.82 MB / 0.7607 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009478/11.92, allocations: 4.235 MB / 4.634 GB, free: 47.81 MB / 0.7607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009023/11.93, allocations: 3.74 MB / 4.638 GB, free: 47.48 MB / 0.7607 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.368e-05/11.93, allocations: 12.59 kB / 4.638 GB, free: 47.48 MB / 0.7607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003351/11.93, allocations: 3.812 kB / 4.638 GB, free: 47.48 MB / 0.7607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/11.93, allocations: 158.3 kB / 4.638 GB, free: 47.47 MB / 0.7607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02248/11.95, allocations: 15.11 MB / 4.653 GB, free: 40.23 MB / 0.7607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005502/11.96, allocations: 3.95 MB / 4.657 GB, free: 40.11 MB / 0.7607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003675/11.96, allocations: 2.424 MB / 4.659 GB, free: 40.07 MB / 0.7607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/11.96, allocations: 1.61 MB / 4.661 GB, free: 38.38 MB / 0.7607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.24e-05/11.96, allocations: 77.48 kB / 4.661 GB, free: 38.34 MB / 0.7607 GB Notification: Performance of pre-optimization done (n=392): time 5.26e-06/11.96, allocations: 0 / 4.661 GB, free: 38.34 MB / 0.7607 GB Notification: Performance of matching and sorting (n=392): time 0.0105/11.97, allocations: 4.369 MB / 4.665 GB, free: 38.09 MB / 0.7607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/11.97, allocations: 91.05 kB / 4.665 GB, free: 38.02 MB / 0.7607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/11.97, allocations: 1.199 MB / 4.666 GB, free: 37.87 MB / 0.7607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003253/11.98, allocations: 29.42 kB / 4.666 GB, free: 37.84 MB / 0.7607 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/11.98, allocations: 0.8144 MB / 4.667 GB, free: 37.38 MB / 0.7607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001064/11.98, allocations: 1.266 MB / 4.668 GB, free: 36.51 MB / 0.7607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/11.98, allocations: 3.312 kB / 4.668 GB, free: 36.51 MB / 0.7607 GB Notification: Performance of setup shared object (initialization): time 0.0002159/11.98, allocations: 439.9 kB / 4.669 GB, free: 36.2 MB / 0.7607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/11.98, allocations: 1.564 MB / 4.67 GB, free: 35.93 MB / 0.7607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/11.98, allocations: 1.952 MB / 4.672 GB, free: 34.98 MB / 0.7607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004755/11.99, allocations: 2.199 MB / 4.674 GB, free: 34.28 MB / 0.7607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/11.99, allocations: 2.031 kB / 4.674 GB, free: 34.28 MB / 0.7607 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01052/12, allocations: 4.434 MB / 4.679 GB, free: 32.6 MB / 0.7607 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/12, allocations: 11.41 kB / 4.679 GB, free: 32.59 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/12, allocations: 4 kB / 4.679 GB, free: 32.59 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.438e-05/12, allocations: 22.22 kB / 4.679 GB, free: 32.57 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00327/12, allocations: 0.7144 MB / 4.679 GB, free: 31.95 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-05/12, allocations: 23.94 kB / 4.68 GB, free: 31.93 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003957/12, allocations: 351.4 kB / 4.68 GB, free: 31.66 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003378/12.01, allocations: 125.5 kB / 4.68 GB, free: 31.54 MB / 0.7607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.0006722/12.01, allocations: 156.1 kB / 4.68 GB, free: 31.38 MB / 0.7607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008718/12.01, allocations: 276.7 kB / 4.68 GB, free: 31.11 MB / 0.7607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009134/12.02, allocations: 4.706 MB / 4.685 GB, free: 27.22 MB / 0.7607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.62e-05/12.02, allocations: 36 kB / 4.685 GB, free: 27.19 MB / 0.7607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/12.02, allocations: 0 / 4.685 GB, free: 27.19 MB / 0.7607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007014/12.02, allocations: 4.09 MB / 4.689 GB, free: 23.61 MB / 0.7607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01652/12.04, allocations: 8.654 MB / 4.697 GB, free: 16.61 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/12.04, allocations: 4 kB / 4.697 GB, free: 16.61 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003845/12.04, allocations: 0.753 MB / 4.698 GB, free: 15.96 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.977e-05/12.04, allocations: 16 kB / 4.698 GB, free: 15.95 MB / 0.7607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003267/12.04, allocations: 46.16 kB / 4.698 GB, free: 15.92 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.524e-05/12.04, allocations: 16 kB / 4.698 GB, free: 15.9 MB / 0.7607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/12.04, allocations: 10.34 kB / 4.698 GB, free: 15.89 MB / 0.7607 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01073/12.05, allocations: 7.401 MB / 4.706 GB, free: 9.195 MB / 0.7607 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01818/12.07, allocations: 10.87 MB / 4.716 GB, free: 15.55 MB / 0.7763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003215/12.08, allocations: 0.7983 MB / 4.717 GB, free: 14.85 MB / 0.7763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/12.08, allocations: 15 kB / 4.717 GB, free: 14.84 MB / 0.7763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00434/12.08, allocations: 211.8 kB / 4.717 GB, free: 14.71 MB / 0.7763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007506/12.08, allocations: 197 kB / 4.717 GB, free: 14.59 MB / 0.7763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006274/12.08, allocations: 121.7 kB / 4.717 GB, free: 14.49 MB / 0.7763 GB Notification: Performance of sort global known variables: time 0.002033/12.09, allocations: 0.9173 MB / 4.718 GB, free: 13.66 MB / 0.7763 GB Notification: Performance of remove unused functions: time 0.007749/12.09, allocations: 2.093 MB / 4.72 GB, free: 11.6 MB / 0.7763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 392 * 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.008807/12.1, allocations: 5.554 MB / 4.726 GB, free: 6.914 MB / 0.7763 GB Notification: Performance of simCode: created initialization part: time 0.009089/12.11, allocations: 3.946 MB / 4.73 GB, free: 3.262 MB / 0.7763 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/12.11, allocations: 0 / 4.73 GB, free: 3.262 MB / 0.7763 GB Notification: Performance of simCode: created simulation system equations: time 0.004146/12.12, allocations: 2.136 MB / 4.732 GB, free: 1.293 MB / 0.7763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008234/12.12, allocations: 1.226 MB / 4.733 GB, free: 416 kB / 0.7763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/12.14, allocations: 6.782 MB / 4.74 GB, free: 10.3 MB / 0.7919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004519/12.15, allocations: 2.685 MB / 4.742 GB, free: 7.578 MB / 0.7919 GB Notification: Performance of SimCode: time 1.764e-06/12.15, allocations: 0 / 4.742 GB, free: 7.578 MB / 0.7919 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)