Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.005536/0.005536, allocations: 183.7 kB / 7.456 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7705/0.7705, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 221.3 MB / 395 MB, free: 10.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009943/0.0009944, allocations: 102.5 kB / 477.8 MB, free: 10.65 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4457/0.4467, allocations: 88.43 MB / 0.5529 GB, free: 89.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.6307, allocations: 82.3 MB / 0.6333 GB, free: 13.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.45/5.081, allocations: 1.882 GB / 2.515 GB, free: 79.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/5.082, allocations: 83.95 kB / 2.515 GB, free: 79.03 MB / 0.6823 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 3.118/8.2, allocations: 0.6654 GB / 3.181 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.556e-05/8.2, allocations: 8.438 kB / 3.181 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003632/8.203, allocations: 401.7 kB / 3.181 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/8.206, allocations: 0.8737 MB / 3.182 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/8.207, allocations: 26.47 kB / 3.182 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003712/8.207, allocations: 54.41 kB / 3.182 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002223/8.209, allocations: 0.7713 MB / 3.183 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/8.211, allocations: 0.9182 MB / 3.184 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.526e-05/8.211, allocations: 7.062 kB / 3.184 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/8.211, allocations: 0 / 3.184 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.018e-05/8.212, allocations: 37.38 kB / 3.184 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007302/8.219, allocations: 4.494 MB / 3.188 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/8.22, allocations: 0.6402 MB / 3.189 GB, free: 107 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007354/8.221, allocations: 459 kB / 3.189 GB, free: 107 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005042/8.221, allocations: 0.6717 MB / 3.19 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/8.221, allocations: 43.72 kB / 3.19 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.705e-06/8.221, allocations: 3.219 kB / 3.19 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.002124/8.223, allocations: 0.7845 MB / 3.191 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/8.223, allocations: 59.44 kB / 3.191 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007423/8.224, allocations: 484.6 kB / 3.191 GB, free: 106 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.444e-05/8.224, allocations: 28.55 kB / 3.191 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/8.225, allocations: 333.2 kB / 3.192 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/8.225, allocations: 241.3 kB / 3.192 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/8.225, allocations: 3.688 kB / 3.192 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001522/8.225, allocations: 382.8 kB / 3.192 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004084/8.225, allocations: 270.7 kB / 3.192 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/8.226, allocations: 376.1 kB / 3.193 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006512/8.227, allocations: 343 kB / 3.193 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/8.227, allocations: 3.625 kB / 3.193 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001445/8.228, allocations: 0.7818 MB / 3.194 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/8.228, allocations: 5.688 kB / 3.194 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/8.228, allocations: 3.422 kB / 3.194 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/8.228, allocations: 7.281 kB / 3.194 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/8.229, allocations: 145.5 kB / 3.194 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/8.229, allocations: 6.062 kB / 3.194 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/8.23, allocations: 92.58 kB / 3.194 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.08e-05/8.23, allocations: 20.16 kB / 3.194 GB, free: 105.1 MB / 0.6823 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.0002121/8.231, allocations: 113.7 kB / 3.194 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/8.231, allocations: 83.25 kB / 3.194 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/8.233, allocations: 0.8141 MB / 3.195 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/8.233, allocations: 7.594 kB / 3.195 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/8.233, allocations: 0 / 3.195 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001026/8.234, allocations: 0.8212 MB / 3.196 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/8.237, allocations: 1.78 MB / 3.198 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/8.237, allocations: 0 / 3.198 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009594/8.238, allocations: 181.4 kB / 3.198 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/8.238, allocations: 3.312 kB / 3.198 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/8.238, allocations: 17.08 kB / 3.198 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/8.238, allocations: 3.906 kB / 3.198 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/8.238, allocations: 3.188 kB / 3.198 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001726/8.239, allocations: 1.31 MB / 3.199 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002653/8.242, allocations: 2.23 MB / 3.201 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006384/8.243, allocations: 247.7 kB / 3.202 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/8.243, allocations: 10.56 kB / 3.202 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/8.244, allocations: 66.75 kB / 3.202 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/8.244, allocations: 37.62 kB / 3.202 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-05/8.244, allocations: 22.06 kB / 3.202 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000628/8.245, allocations: 385 kB / 3.202 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002716/8.248, allocations: 0.6075 MB / 3.203 GB, free: 103.3 MB / 0.6823 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.003553/8.251, allocations: 1.786 MB / 3.204 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001749/8.253, allocations: 0.6796 MB / 3.205 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/8.253, allocations: 0 / 3.205 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008331/8.254, allocations: 371.5 kB / 3.205 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00419/8.258, allocations: 461.8 kB / 3.206 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00703/8.265, allocations: 1.769 MB / 3.208 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/8.267, allocations: 1.214 MB / 3.209 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.084e-06/8.267, allocations: 0 / 3.209 GB, free: 101.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)