Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation",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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.296/1.296, allocations: 285.5 MB / 292.8 MB, free: 10.4 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009862/0.0009861, allocations: 185.2 kB / 361.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9901/0.9901, allocations: 205.1 MB / 0.6195 GB, free: 11.93 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007571/0.0007571, allocations: 92.89 kB / 0.7325 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1749/0.1757, allocations: 121.4 MB / 0.8511 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.5868, allocations: 115.3 MB / 0.9637 GB, free: 77.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.658/3.245, allocations: 2.073 GB / 3.037 GB, free: 62.41 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/3.245, allocations: 86.27 kB / 3.037 GB, free: 62.32 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 1.722/4.967, allocations: 0.6562 GB / 3.693 GB, free: 143.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/4.967, allocations: 16.48 kB / 3.693 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003199/4.97, allocations: 402.1 kB / 3.694 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/4.972, allocations: 0.8481 MB / 3.694 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/4.972, allocations: 28 kB / 3.694 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/4.973, allocations: 48 kB / 3.694 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001374/4.974, allocations: 0.7769 MB / 3.695 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/4.975, allocations: 0.9184 MB / 3.696 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/4.975, allocations: 0 / 3.696 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.119e-05/4.975, allocations: 4 kB / 3.696 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/4.975, allocations: 38 kB / 3.696 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/4.98, allocations: 4.501 MB / 3.701 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008251/4.98, allocations: 0.6384 MB / 3.701 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/4.981, allocations: 457.3 kB / 3.702 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/4.981, allocations: 0.6733 MB / 3.702 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/4.981, allocations: 39.22 kB / 3.702 GB, free: 133.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.284e-06/4.981, allocations: 4 kB / 3.702 GB, free: 133.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001685/4.983, allocations: 0.7688 MB / 3.703 GB, free: 132.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/4.983, allocations: 64.06 kB / 3.703 GB, free: 132.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004723/4.984, allocations: 483.7 kB / 3.704 GB, free: 131.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/4.984, allocations: 25.7 kB / 3.704 GB, free: 131.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/4.984, allocations: 323.9 kB / 3.704 GB, free: 131.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/4.984, allocations: 248.3 kB / 3.704 GB, free: 131.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/4.984, allocations: 0 / 3.704 GB, free: 131.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/4.984, allocations: 378.8 kB / 3.705 GB, free: 131 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/4.984, allocations: 273.2 kB / 3.705 GB, free: 130.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/4.985, allocations: 375.2 kB / 3.705 GB, free: 130.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/4.985, allocations: 347 kB / 3.705 GB, free: 130 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/4.985, allocations: 0 / 3.705 GB, free: 130 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001084/4.986, allocations: 0.784 MB / 3.706 GB, free: 129.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/4.986, allocations: 7.938 kB / 3.706 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/4.986, allocations: 4 kB / 3.706 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/4.987, allocations: 7.906 kB / 3.706 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/4.987, allocations: 155.7 kB / 3.706 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/4.987, allocations: 4 kB / 3.706 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009077/4.988, allocations: 87.66 kB / 3.707 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/4.988, allocations: 20 kB / 3.707 GB, free: 128.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0001129/4.988, allocations: 116.8 kB / 3.707 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/4.988, allocations: 86.97 kB / 3.707 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/4.99, allocations: 0.8007 MB / 3.708 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/4.99, allocations: 8 kB / 3.708 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/4.99, allocations: 0 / 3.708 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008914/4.991, allocations: 0.836 MB / 3.708 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/4.993, allocations: 1.769 MB / 3.71 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/4.993, allocations: 4.047 kB / 3.71 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008657/4.994, allocations: 183.8 kB / 3.71 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/4.994, allocations: 11.89 kB / 3.71 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/4.994, allocations: 8 kB / 3.71 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/4.994, allocations: 0 / 3.71 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/4.994, allocations: 4 kB / 3.71 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001447/4.995, allocations: 1.305 MB / 3.712 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002115/4.997, allocations: 2.224 MB / 3.714 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/4.998, allocations: 248 kB / 3.714 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/4.998, allocations: 11.98 kB / 3.714 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007869/4.999, allocations: 59.78 kB / 3.714 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/4.999, allocations: 32.61 kB / 3.714 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/4.999, allocations: 23.98 kB / 3.714 GB, free: 121 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003463/4.999, allocations: 379.2 kB / 3.714 GB, free: 120.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001862/5.001, allocations: 0.6124 MB / 3.715 GB, free: 120 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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.001636/5.003, allocations: 1.787 MB / 3.717 GB, free: 118.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008174/5.004, allocations: 0.6866 MB / 3.717 GB, free: 117.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/5.004, allocations: 0 / 3.717 GB, free: 117.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003801/5.004, allocations: 366.3 kB / 3.718 GB, free: 117.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/5.006, allocations: 462.5 kB / 3.718 GB, free: 116.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/5.008, allocations: 1.762 MB / 3.72 GB, free: 114.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/5.009, allocations: 1.213 MB / 3.721 GB, free: 113.6 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/5.009, allocations: 0 / 3.721 GB, free: 113.6 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)