Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.303/1.303, allocations: 249.4 MB / 256.7 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 188.4 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.2 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008901/0.0008901, allocations: 98.89 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4274/0.4283, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.6263, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.114/4.74, allocations: 2.192 GB / 3.077 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/4.741, allocations: 89.22 kB / 3.077 GB, free: 220.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 1.804/6.545, allocations: 0.64 GB / 3.717 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/6.545, allocations: 11.38 kB / 3.717 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/6.547, allocations: 397.4 kB / 3.718 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/6.549, allocations: 0.8672 MB / 3.718 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/6.549, allocations: 32.78 kB / 3.718 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/6.549, allocations: 52.06 kB / 3.718 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001173/6.55, allocations: 0.7716 MB / 3.719 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/6.551, allocations: 0.9289 MB / 3.72 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/6.552, allocations: 0 / 3.72 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.86e-05/6.552, allocations: 6.859 kB / 3.72 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/6.552, allocations: 34.69 kB / 3.72 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004277/6.556, allocations: 4.523 MB / 3.725 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000939/6.557, allocations: 0.6499 MB / 3.725 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/6.557, allocations: 443.9 kB / 3.726 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004388/6.558, allocations: 0.683 MB / 3.726 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/6.558, allocations: 44.59 kB / 3.726 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 2.815e-06/6.558, allocations: 0 / 3.726 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.001693/6.56, allocations: 0.7694 MB / 3.727 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/6.56, allocations: 55.94 kB / 3.727 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004835/6.56, allocations: 0.4889 MB / 3.728 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/6.56, allocations: 25.7 kB / 3.728 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/6.56, allocations: 327.1 kB / 3.728 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/6.561, allocations: 237 kB / 3.728 GB, free: 165 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/6.561, allocations: 0 / 3.728 GB, free: 165 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.916e-05/6.561, allocations: 386.5 kB / 3.729 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/6.561, allocations: 264 kB / 3.729 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/6.561, allocations: 372.6 kB / 3.729 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/6.562, allocations: 341.7 kB / 3.73 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/6.562, allocations: 0 / 3.73 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001068/6.563, allocations: 0.7791 MB / 3.73 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/6.563, allocations: 7.219 kB / 3.73 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/6.563, allocations: 0 / 3.73 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/6.563, allocations: 3.656 kB / 3.73 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/6.564, allocations: 154.6 kB / 3.73 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/6.564, allocations: 3.844 kB / 3.73 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009319/6.565, allocations: 94.95 kB / 3.731 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/6.565, allocations: 29.41 kB / 3.731 GB, free: 164.5 MB / 0.8698 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.000115/6.565, allocations: 114 kB / 3.731 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/6.565, allocations: 78.41 kB / 3.731 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/6.566, allocations: 0.7974 MB / 3.732 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/6.566, allocations: 3.781 kB / 3.732 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/6.566, allocations: 0 / 3.732 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008735/6.567, allocations: 0.8239 MB / 3.732 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/6.569, allocations: 1.771 MB / 3.734 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/6.569, allocations: 0 / 3.734 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008813/6.57, allocations: 180.8 kB / 3.734 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/6.57, allocations: 6.812 kB / 3.734 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/6.57, allocations: 9.812 kB / 3.734 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/6.57, allocations: 7.812 kB / 3.734 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/6.57, allocations: 0 / 3.734 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001549/6.572, allocations: 1.295 MB / 3.736 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00218/6.574, allocations: 2.196 MB / 3.738 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/6.575, allocations: 256.6 kB / 3.738 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/6.575, allocations: 7.469 kB / 3.738 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/6.576, allocations: 64.52 kB / 3.738 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/6.576, allocations: 39.56 kB / 3.738 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/6.576, allocations: 29.12 kB / 3.738 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003898/6.576, allocations: 388.5 kB / 3.738 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001825/6.578, allocations: 0.6156 MB / 3.739 GB, free: 162.6 MB / 0.8698 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.001589/6.58, allocations: 1.779 MB / 3.741 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008896/6.58, allocations: 0.67 MB / 3.741 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/6.58, allocations: 0 / 3.741 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003806/6.581, allocations: 370.2 kB / 3.742 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/6.583, allocations: 457.5 kB / 3.742 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/6.586, allocations: 1.785 MB / 3.744 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007936/6.587, allocations: 1.23 MB / 3.745 GB, free: 161 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/6.587, allocations: 3.75 kB / 3.745 GB, free: 161 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)