Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors",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.0/package.mo): time 2.166/2.166, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001613/0.001613, allocations: 181.2 kB / 360.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.0012/0.001199, allocations: 93.38 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2705/0.2717, allocations: 121.4 MB / 0.8502 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5842/0.8559, allocations: 115.2 MB / 0.9627 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.941/10.8, allocations: 4.64 GB / 5.602 GB, free: 194.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/10.8, allocations: 85.06 kB / 5.602 GB, free: 194.7 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 4.69/15.49, allocations: 0.9706 GB / 6.573 GB, free: 136.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/15.49, allocations: 11.75 kB / 6.573 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009679/15.5, allocations: 0.7144 MB / 6.574 GB, free: 136.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/15.51, allocations: 1.998 MB / 6.576 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/15.51, allocations: 87.53 kB / 6.576 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/15.51, allocations: 164.5 kB / 6.576 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01677/15.53, allocations: 4.151 MB / 6.58 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009984/15.54, allocations: 2.787 MB / 6.583 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/15.54, allocations: 3.906 kB / 6.583 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004339/15.54, allocations: 0.8438 kB / 6.583 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/15.54, allocations: 126 kB / 6.583 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03228/15.57, allocations: 10.73 MB / 6.593 GB, free: 132.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01415/15.58, allocations: 4.186 MB / 6.597 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008457/15.59, allocations: 2.413 MB / 6.6 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001827/15.59, allocations: 0.8578 MB / 6.601 GB, free: 131.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.76e-05/15.59, allocations: 84.05 kB / 6.601 GB, free: 131.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=399): time 1.556e-05/15.59, allocations: 0 / 6.601 GB, free: 131.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=399): time 0.02561/15.62, allocations: 4.426 MB / 6.605 GB, free: 130.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/15.62, allocations: 94.23 kB / 6.605 GB, free: 130.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/15.62, allocations: 1.03 MB / 6.606 GB, free: 130.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008791/15.62, allocations: 29.64 kB / 6.606 GB, free: 130.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/15.62, allocations: 0.5827 MB / 6.607 GB, free: 130.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001925/15.62, allocations: 1.279 MB / 6.608 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/15.62, allocations: 0 / 6.608 GB, free: 129.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002753/15.63, allocations: 439.4 kB / 6.608 GB, free: 129.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004095/15.63, allocations: 1.537 MB / 6.61 GB, free: 129.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004737/15.63, allocations: 1.821 MB / 6.612 GB, free: 128.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009065/15.64, allocations: 2.251 MB / 6.614 GB, free: 128.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.658e-05/15.64, allocations: 0 / 6.614 GB, free: 128.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01541/15.66, allocations: 4.376 MB / 6.618 GB, free: 128.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/15.66, allocations: 6.938 kB / 6.618 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/15.66, allocations: 3.594 kB / 6.618 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.457e-05/15.66, allocations: 20.31 kB / 6.618 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006229/15.67, allocations: 0.6822 MB / 6.619 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.886e-05/15.67, allocations: 15.28 kB / 6.619 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005281/15.67, allocations: 294.5 kB / 6.619 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000963/15.67, allocations: 114.6 kB / 6.619 GB, free: 128.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0008508/15.67, allocations: 148.8 kB / 6.619 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000936/15.67, allocations: 234.8 kB / 6.62 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/15.69, allocations: 4.824 MB / 6.624 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-05/15.69, allocations: 37.5 kB / 6.624 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/15.69, allocations: 6.312 kB / 6.624 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01411/15.7, allocations: 4.173 MB / 6.628 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02643/15.73, allocations: 8.183 MB / 6.636 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/15.73, allocations: 3.906 kB / 6.636 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006523/15.74, allocations: 0.6703 MB / 6.637 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007308/15.74, allocations: 144.4 kB / 6.637 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006075/15.74, allocations: 29.64 kB / 6.637 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004857/15.74, allocations: 4.328 MB / 6.641 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/15.74, allocations: 7.875 kB / 6.641 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02102/15.77, allocations: 7.272 MB / 6.649 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02852/15.79, allocations: 10.45 MB / 6.659 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00313/15.8, allocations: 0.7705 MB / 6.66 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000986/15.8, allocations: 7.781 kB / 6.66 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005025/15.8, allocations: 144.5 kB / 6.66 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008786/15.8, allocations: 196.4 kB / 6.66 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004627/15.8, allocations: 108.9 kB / 6.66 GB, free: 122 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0019/15.81, allocations: 0.7964 MB / 6.661 GB, free: 121.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008699/15.82, allocations: 1.417 MB / 6.662 GB, free: 121.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005086/15.82, allocations: 2.537 MB / 6.665 GB, free: 121 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01157/15.83, allocations: 3.899 MB / 6.668 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/15.83, allocations: 0 / 6.668 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006337/15.84, allocations: 2.453 MB / 6.671 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008497/15.85, allocations: 0.8658 MB / 6.672 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/15.86, allocations: 5.742 MB / 6.677 GB, free: 119.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004822/15.87, allocations: 2.328 MB / 6.68 GB, free: 119 MB / 0.948 GB Notification: Performance of SimCode: time 1.593e-06/15.87, allocations: 2.406 kB / 6.68 GB, free: 119 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)