Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",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 10.0.0-master/package.mo): time 1.767/1.767, allocations: 390.4 MB / 397.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001022, allocations: 185.9 kB / 490.8 MB, free: 11.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.12/1.12, allocations: 221.4 MB / 0.7863 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008256/0.0008255, allocations: 97.91 kB / 0.9264 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2307/0.2316, allocations: 149.1 MB / 1.072 GB, free: 15.47 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.7255, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.639/3.364, allocations: 1.921 GB / 3.132 GB, free: 185.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/3.364, allocations: 87.45 kB / 3.132 GB, free: 185.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 1.156/4.52, allocations: 478.7 MB / 3.6 GB, free: 178.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/4.52, allocations: 8 kB / 3.6 GB, free: 178.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/4.522, allocations: 330.4 kB / 3.6 GB, free: 178.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/4.523, allocations: 0.7928 MB / 3.601 GB, free: 177.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/4.523, allocations: 24 kB / 3.601 GB, free: 177.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.071e-05/4.523, allocations: 40 kB / 3.601 GB, free: 177.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000775/4.524, allocations: 0.5492 MB / 3.602 GB, free: 176.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008424/4.525, allocations: 0.6557 MB / 3.602 GB, free: 176.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/4.525, allocations: 0 / 3.602 GB, free: 176.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/4.525, allocations: 4 kB / 3.602 GB, free: 176.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/4.525, allocations: 25.31 kB / 3.602 GB, free: 176.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/4.528, allocations: 3.402 MB / 3.606 GB, free: 172.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/4.528, allocations: 468.3 kB / 3.606 GB, free: 172 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/4.529, allocations: 254.1 kB / 3.606 GB, free: 171.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004485/4.529, allocations: 0.6769 MB / 3.607 GB, free: 171 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/4.529, allocations: 43 kB / 3.607 GB, free: 170.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=51): time 1.533e-06/4.529, allocations: 0 / 3.607 GB, free: 170.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=51): time 0.001075/4.53, allocations: 0.5256 MB / 3.608 GB, free: 170.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.713e-05/4.53, allocations: 59.84 kB / 3.608 GB, free: 170.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/4.531, allocations: 467.6 kB / 3.608 GB, free: 169.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/4.531, allocations: 25.7 kB / 3.608 GB, free: 169.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/4.531, allocations: 284.1 kB / 3.608 GB, free: 169.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/4.531, allocations: 177.2 kB / 3.609 GB, free: 169.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/4.531, allocations: 0 / 3.609 GB, free: 169.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.818e-05/4.531, allocations: 378.8 kB / 3.609 GB, free: 169 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/4.531, allocations: 181.7 kB / 3.609 GB, free: 168.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/4.531, allocations: 250.4 kB / 3.609 GB, free: 168.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/4.532, allocations: 217.4 kB / 3.609 GB, free: 168.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/4.532, allocations: 0 / 3.609 GB, free: 168.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006592/4.532, allocations: 0.5427 MB / 3.61 GB, free: 167.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/4.532, allocations: 8 kB / 3.61 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/4.532, allocations: 3.984 kB / 3.61 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/4.532, allocations: 4 kB / 3.61 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/4.533, allocations: 115.9 kB / 3.61 GB, free: 167.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/4.533, allocations: 7.938 kB / 3.61 GB, free: 167.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006773/4.534, allocations: 79.53 kB / 3.61 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/4.534, allocations: 20 kB / 3.61 GB, free: 167.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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 9.009e-05/4.534, allocations: 108.9 kB / 3.61 GB, free: 167.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.737e-05/4.534, allocations: 71.16 kB / 3.61 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006947/4.535, allocations: 0.5215 MB / 3.611 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/4.535, allocations: 12 kB / 3.611 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/4.535, allocations: 0 / 3.611 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005568/4.535, allocations: 0.7434 MB / 3.612 GB, free: 166 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/4.537, allocations: 1.382 MB / 3.613 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/4.537, allocations: 0 / 3.613 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006785/4.537, allocations: 147.9 kB / 3.613 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/4.537, allocations: 4 kB / 3.613 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/4.537, allocations: 12 kB / 3.613 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/4.537, allocations: 0 / 3.613 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/4.537, allocations: 7.984 kB / 3.613 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008908/4.538, allocations: 0.8891 MB / 3.614 GB, free: 163.4 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001323/4.54, allocations: 1.603 MB / 3.616 GB, free: 161.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/4.54, allocations: 212 kB / 3.616 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/4.54, allocations: 4 kB / 3.616 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006291/4.541, allocations: 55.8 kB / 3.616 GB, free: 161.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/4.541, allocations: 32.33 kB / 3.616 GB, free: 161.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/4.541, allocations: 20 kB / 3.616 GB, free: 161.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.000288/4.541, allocations: 367.2 kB / 3.616 GB, free: 161.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001421/4.543, allocations: 483.3 kB / 3.617 GB, free: 160.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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.00124/4.544, allocations: 1.399 MB / 3.618 GB, free: 159.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005207/4.544, allocations: 451.5 kB / 3.619 GB, free: 158.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/4.544, allocations: 4 kB / 3.619 GB, free: 158.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/4.545, allocations: 237.5 kB / 3.619 GB, free: 158.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/4.546, allocations: 405.6 kB / 3.619 GB, free: 158.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/4.548, allocations: 1.464 MB / 3.621 GB, free: 156.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005524/4.549, allocations: 1.125 MB / 3.622 GB, free: 155.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.012e-06/4.549, allocations: 0 / 3.622 GB, free: 155.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)