Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.412/1.412, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001232/0.001232, allocations: 181.2 kB / 366.3 MB, free: 1.969 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.238/1.238, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0009473/0.0009472, allocations: 84.91 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2378/0.2388, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5668/0.8057, allocations: 116.3 MB / 0.9726 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.063/7.869, allocations: 4.641 GB / 5.613 GB, free: 13.45 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/7.869, allocations: 91.89 kB / 5.613 GB, free: 13.36 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 2.63/10.5, allocations: 0.9706 GB / 6.584 GB, free: 113.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/10.5, allocations: 11.98 kB / 6.584 GB, free: 113.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00431/10.5, allocations: 0.7065 MB / 6.585 GB, free: 112.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004286/10.51, allocations: 2.001 MB / 6.587 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/10.51, allocations: 87.94 kB / 6.587 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007134/10.51, allocations: 159.9 kB / 6.587 GB, free: 110.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005867/10.51, allocations: 4.157 MB / 6.591 GB, free: 106.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003981/10.52, allocations: 2.785 MB / 6.594 GB, free: 103.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.003e-05/10.52, allocations: 3.906 kB / 6.594 GB, free: 103.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/10.52, allocations: 8 kB / 6.594 GB, free: 103.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.398e-05/10.52, allocations: 125.4 kB / 6.594 GB, free: 103.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/10.53, allocations: 10.71 MB / 6.604 GB, free: 92.22 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004399/10.54, allocations: 4.203 MB / 6.608 GB, free: 88.05 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002502/10.54, allocations: 2.415 MB / 6.611 GB, free: 85.62 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008267/10.54, allocations: 0.8568 MB / 6.612 GB, free: 84.61 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/10.54, allocations: 85.61 kB / 6.612 GB, free: 84.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=399): time 4.748e-06/10.54, allocations: 0 / 6.612 GB, free: 84.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=399): time 0.008613/10.55, allocations: 4.43 MB / 6.616 GB, free: 80.05 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/10.55, allocations: 98.48 kB / 6.616 GB, free: 79.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/10.55, allocations: 1.028 MB / 6.617 GB, free: 78.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001875/10.55, allocations: 25.7 kB / 6.617 GB, free: 78.88 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/10.55, allocations: 0.5827 MB / 6.618 GB, free: 78.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007079/10.55, allocations: 1.277 MB / 6.619 GB, free: 76.99 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/10.55, allocations: 0 / 6.619 GB, free: 76.99 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001245/10.55, allocations: 445.1 kB / 6.619 GB, free: 76.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/10.55, allocations: 1.529 MB / 6.621 GB, free: 75.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/10.55, allocations: 1.827 MB / 6.623 GB, free: 73.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004224/10.56, allocations: 2.248 MB / 6.625 GB, free: 70.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/10.56, allocations: 4 kB / 6.625 GB, free: 70.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006898/10.56, allocations: 4.375 MB / 6.629 GB, free: 66.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/10.57, allocations: 4 kB / 6.629 GB, free: 66.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/10.57, allocations: 4.406 kB / 6.629 GB, free: 66.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/10.57, allocations: 27.75 kB / 6.629 GB, free: 66.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/10.57, allocations: 0.6788 MB / 6.63 GB, free: 65.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/10.57, allocations: 23.88 kB / 6.63 GB, free: 65.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/10.57, allocations: 293.2 kB / 6.63 GB, free: 65.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/10.57, allocations: 112 kB / 6.63 GB, free: 65.34 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.0004007/10.57, allocations: 152.3 kB / 6.63 GB, free: 65.19 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/10.57, allocations: 241.1 kB / 6.631 GB, free: 64.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007706/10.58, allocations: 4.818 MB / 6.635 GB, free: 60.09 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/10.58, allocations: 40 kB / 6.635 GB, free: 60.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/10.58, allocations: 0 / 6.635 GB, free: 60.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006326/10.59, allocations: 4.174 MB / 6.639 GB, free: 55.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/10.6, allocations: 8.178 MB / 6.647 GB, free: 47.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/10.6, allocations: 3.906 kB / 6.647 GB, free: 47.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002843/10.6, allocations: 0.6749 MB / 6.648 GB, free: 46.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003915/10.6, allocations: 134.5 kB / 6.648 GB, free: 46.84 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/10.6, allocations: 31.97 kB / 6.648 GB, free: 46.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002948/10.6, allocations: 4.328 MB / 6.653 GB, free: 42.15 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/10.6, allocations: 11.94 kB / 6.653 GB, free: 42.14 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01016/10.61, allocations: 7.261 MB / 6.66 GB, free: 34.82 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01265/10.63, allocations: 10.46 MB / 6.67 GB, free: 24.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/10.63, allocations: 0.7704 MB / 6.671 GB, free: 23.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005225/10.63, allocations: 0 / 6.671 GB, free: 23.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/10.63, allocations: 147.7 kB / 6.671 GB, free: 23.37 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003235/10.63, allocations: 194.8 kB / 6.671 GB, free: 23.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002396/10.63, allocations: 112 kB / 6.671 GB, free: 23.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009641/10.63, allocations: 0.7971 MB / 6.672 GB, free: 22.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004678/10.64, allocations: 1.412 MB / 6.673 GB, free: 20.86 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.002452/10.64, allocations: 2.544 MB / 6.676 GB, free: 18.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004498/10.64, allocations: 3.895 MB / 6.679 GB, free: 14.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/10.64, allocations: 0 / 6.679 GB, free: 14.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002541/10.65, allocations: 2.457 MB / 6.682 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/10.65, allocations: 0.865 MB / 6.683 GB, free: 11.27 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00838/10.66, allocations: 5.738 MB / 6.688 GB, free: 5.551 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002313/10.66, allocations: 2.324 MB / 6.691 GB, free: 3.191 MB / 0.948 GB Notification: Performance of SimCode: time 7.12e-07/10.66, allocations: 0 / 6.691 GB, free: 3.191 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)