Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume",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.004478/0.004478, allocations: 181.8 kB / 7.455 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.7449/0.7449, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.532/1.532, allocations: 221.3 MB / 395 MB, free: 10.19 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.0009956/0.0009958, allocations: 106.9 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4837/0.4847, allocations: 88.41 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.6701, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.296/4.966, allocations: 1.893 GB / 2.526 GB, free: 58.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/4.966, allocations: 87.95 kB / 2.526 GB, free: 58.63 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 4.139/9.105, allocations: 1.077 GB / 3.603 GB, free: 31.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/9.105, allocations: 12 kB / 3.603 GB, free: 31.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003954/9.109, allocations: 0.5634 MB / 3.604 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003691/9.113, allocations: 1.296 MB / 3.605 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/9.113, allocations: 47.98 kB / 3.605 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/9.113, allocations: 84 kB / 3.605 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002374/9.116, allocations: 1.259 MB / 3.606 GB, free: 28.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/9.118, allocations: 1.46 MB / 3.608 GB, free: 27.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.494e-05/9.118, allocations: 7.938 kB / 3.608 GB, free: 27.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/9.118, allocations: 4 kB / 3.608 GB, free: 27.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.585e-05/9.118, allocations: 58.58 kB / 3.608 GB, free: 27.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009778/9.128, allocations: 7.355 MB / 3.615 GB, free: 19.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/9.13, allocations: 1.043 MB / 3.616 GB, free: 18.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007285/9.13, allocations: 0.5999 MB / 3.616 GB, free: 17.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007246/9.131, allocations: 0.8711 MB / 3.617 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008474/9.132, allocations: 0.624 MB / 3.618 GB, free: 15.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 4.588e-06/9.132, allocations: 0 / 3.618 GB, free: 15.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=110): time 0.003162/9.135, allocations: 1.263 MB / 3.619 GB, free: 14.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/9.135, allocations: 90.11 kB / 3.619 GB, free: 14.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/9.136, allocations: 0.8268 MB / 3.62 GB, free: 13.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.539e-05/9.136, allocations: 25.7 kB / 3.62 GB, free: 13.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/9.137, allocations: 492.7 kB / 3.621 GB, free: 13.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/9.137, allocations: 370.5 kB / 3.621 GB, free: 12.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/9.137, allocations: 4 kB / 3.621 GB, free: 12.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.75e-05/9.137, allocations: 345.8 kB / 3.621 GB, free: 12.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/9.138, allocations: 429.9 kB / 3.622 GB, free: 12.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/9.138, allocations: 0.5957 MB / 3.622 GB, free: 11.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009649/9.139, allocations: 0.5342 MB / 3.623 GB, free: 10.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/9.139, allocations: 4 kB / 3.623 GB, free: 10.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001895/9.141, allocations: 1.24 MB / 3.624 GB, free: 9.613 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002046/9.142, allocations: 0.9728 MB / 3.625 GB, free: 8.578 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/9.142, allocations: 4 kB / 3.625 GB, free: 8.574 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/9.142, allocations: 11.98 kB / 3.625 GB, free: 8.562 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/9.143, allocations: 235.7 kB / 3.625 GB, free: 8.332 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/9.143, allocations: 11.94 kB / 3.625 GB, free: 8.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/9.144, allocations: 135.1 kB / 3.625 GB, free: 8.188 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/9.144, allocations: 43.97 kB / 3.625 GB, free: 8.145 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/9.144, allocations: 7.938 kB / 3.625 GB, free: 8.137 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001683/9.146, allocations: 1.068 MB / 3.626 GB, free: 7.066 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/9.146, allocations: 8.25 kB / 3.626 GB, free: 7.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/9.146, allocations: 8 kB / 3.626 GB, free: 7.051 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/9.147, allocations: 227.7 kB / 3.627 GB, free: 6.828 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/9.147, allocations: 11.84 kB / 3.627 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/9.149, allocations: 127.2 kB / 3.627 GB, free: 6.691 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.957e-05/9.149, allocations: 39.98 kB / 3.627 GB, free: 6.652 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.0003276/9.149, allocations: 127.8 kB / 3.627 GB, free: 6.523 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/9.15, allocations: 134.3 kB / 3.627 GB, free: 6.391 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/9.152, allocations: 1.263 MB / 3.628 GB, free: 5.117 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/9.152, allocations: 12 kB / 3.628 GB, free: 5.105 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/9.152, allocations: 0 / 3.628 GB, free: 5.105 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001476/9.153, allocations: 1.032 MB / 3.629 GB, free: 4.062 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005478/9.159, allocations: 3.021 MB / 3.632 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/9.159, allocations: 4 kB / 3.632 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/9.16, allocations: 256 kB / 3.633 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/9.16, allocations: 8 kB / 3.633 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.462e-05/9.16, allocations: 19.98 kB / 3.633 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.545e-06/9.16, allocations: 7.984 kB / 3.633 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/9.16, allocations: 4 kB / 3.633 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003279/9.164, allocations: 2.19 MB / 3.635 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004935/9.169, allocations: 3.449 MB / 3.638 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/9.17, allocations: 367.1 kB / 3.638 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/9.17, allocations: 4 kB / 3.638 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/9.171, allocations: 103.6 kB / 3.639 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/9.172, allocations: 64.86 kB / 3.639 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/9.172, allocations: 47.91 kB / 3.639 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.001073/9.173, allocations: 0.6344 MB / 3.639 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005797/9.179, allocations: 1.7 MB / 3.641 GB, free: 7.883 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.005074/9.184, allocations: 3.099 MB / 3.644 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003191/9.187, allocations: 1.706 MB / 3.646 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/9.187, allocations: 3.859 kB / 3.646 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008635/9.188, allocations: 0.5659 MB / 3.646 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003678/9.191, allocations: 0.665 MB / 3.647 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4424/9.634, allocations: 2.767 MB / 3.649 GB, free: 143.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001915/9.636, allocations: 1.56 MB / 3.651 GB, free: 142.7 MB / 0.7136 GB Notification: Performance of SimCode: time 2.555e-06/9.636, allocations: 0 / 3.651 GB, free: 142.7 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)