Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_dev_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.004102/0.004102, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7462/0.7462, 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.45/1.45, allocations: 221.3 MB / 395 MB, free: 10.24 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.001103/0.001104, allocations: 103.1 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4446/0.4457, allocations: 88.42 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.6419, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.53/5.172, allocations: 1.893 GB / 2.526 GB, free: 68.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/5.173, allocations: 87.95 kB / 2.526 GB, free: 67.93 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.077/9.25, allocations: 1.077 GB / 3.603 GB, free: 40.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/9.25, allocations: 8 kB / 3.603 GB, free: 40.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004812/9.254, allocations: 0.5576 MB / 3.604 GB, free: 40.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003987/9.258, allocations: 1.304 MB / 3.605 GB, free: 39.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.831e-05/9.259, allocations: 44 kB / 3.605 GB, free: 39.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002809/9.259, allocations: 80 kB / 3.605 GB, free: 38.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002438/9.261, allocations: 1.259 MB / 3.606 GB, free: 37.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/9.264, allocations: 1.46 MB / 3.608 GB, free: 36.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/9.264, allocations: 11.92 kB / 3.608 GB, free: 36.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/9.264, allocations: 0 / 3.608 GB, free: 36.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/9.264, allocations: 66.58 kB / 3.608 GB, free: 36.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009179/9.273, allocations: 7.346 MB / 3.615 GB, free: 28.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/9.275, allocations: 1.049 MB / 3.616 GB, free: 27.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000711/9.275, allocations: 0.6038 MB / 3.616 GB, free: 26.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007036/9.276, allocations: 0.8672 MB / 3.617 GB, free: 25.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008738/9.277, allocations: 0.6279 MB / 3.618 GB, free: 24.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 3.586e-06/9.277, allocations: 4 kB / 3.618 GB, free: 24.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=110): time 0.003373/9.28, allocations: 1.247 MB / 3.619 GB, free: 23.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/9.28, allocations: 90.11 kB / 3.619 GB, free: 23.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/9.282, allocations: 0.8315 MB / 3.62 GB, free: 22.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/9.282, allocations: 29.7 kB / 3.62 GB, free: 22.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005163/9.282, allocations: 493.4 kB / 3.621 GB, free: 22.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004243/9.283, allocations: 366.5 kB / 3.621 GB, free: 21.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/9.283, allocations: 0 / 3.621 GB, free: 21.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001281/9.283, allocations: 357.7 kB / 3.621 GB, free: 21.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006352/9.284, allocations: 425.9 kB / 3.622 GB, free: 21.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007257/9.284, allocations: 0.5957 MB / 3.622 GB, free: 20.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/9.286, allocations: 0.5338 MB / 3.623 GB, free: 19.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/9.286, allocations: 4 kB / 3.623 GB, free: 19.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002661/9.288, allocations: 1.232 MB / 3.624 GB, free: 18.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003017/9.289, allocations: 0.9767 MB / 3.625 GB, free: 17.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/9.289, allocations: 4 kB / 3.625 GB, free: 17.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.65e-05/9.289, allocations: 8 kB / 3.625 GB, free: 17.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/9.29, allocations: 235.7 kB / 3.625 GB, free: 17.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/9.29, allocations: 7.938 kB / 3.625 GB, free: 17.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/9.292, allocations: 139.1 kB / 3.625 GB, free: 17.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/9.292, allocations: 39.98 kB / 3.625 GB, free: 17.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/9.292, allocations: 4 kB / 3.625 GB, free: 17.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001862/9.294, allocations: 1.072 MB / 3.626 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/9.294, allocations: 4 kB / 3.626 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/9.294, allocations: 11.98 kB / 3.626 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009969/9.295, allocations: 227.7 kB / 3.627 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/9.295, allocations: 11.84 kB / 3.627 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/9.297, allocations: 127.5 kB / 3.627 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/9.297, allocations: 43.98 kB / 3.627 GB, free: 15.71 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.0003108/9.297, allocations: 125.4 kB / 3.627 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/9.297, allocations: 134.3 kB / 3.627 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/9.3, allocations: 1.267 MB / 3.628 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/9.3, allocations: 8 kB / 3.628 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/9.3, allocations: 0 / 3.628 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001606/9.302, allocations: 1.036 MB / 3.629 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005749/9.307, allocations: 3.029 MB / 3.632 GB, free: 9.988 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/9.308, allocations: 4 kB / 3.632 GB, free: 9.984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/9.309, allocations: 251.7 kB / 3.633 GB, free: 9.738 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/9.309, allocations: 4 kB / 3.633 GB, free: 9.734 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-05/9.309, allocations: 19.98 kB / 3.633 GB, free: 9.715 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/9.309, allocations: 12.02 kB / 3.633 GB, free: 9.703 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/9.309, allocations: 8 kB / 3.633 GB, free: 9.695 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002872/9.312, allocations: 2.182 MB / 3.635 GB, free: 7.422 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004348/9.316, allocations: 3.46 MB / 3.638 GB, free: 3.863 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/9.318, allocations: 355.2 kB / 3.638 GB, free: 3.496 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/9.318, allocations: 12 kB / 3.638 GB, free: 3.484 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/9.319, allocations: 108 kB / 3.639 GB, free: 3.379 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/9.319, allocations: 52.92 kB / 3.639 GB, free: 3.328 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.185e-05/9.319, allocations: 47.91 kB / 3.639 GB, free: 3.281 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0009631/9.32, allocations: 0.6344 MB / 3.639 GB, free: 2.641 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005551/9.326, allocations: 1.704 MB / 3.641 GB, free: 0.9336 MB / 0.698 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.004684/9.331, allocations: 3.101 MB / 3.644 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003479/9.334, allocations: 1.698 MB / 3.646 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/9.334, allocations: 5.109 kB / 3.646 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/9.335, allocations: 0.5663 MB / 3.646 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004734/9.34, allocations: 0.6668 MB / 3.647 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007142/9.347, allocations: 2.77 MB / 3.649 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001696/9.349, allocations: 1.563 MB / 3.651 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of SimCode: time 1.283e-06/9.349, allocations: 3.938 kB / 3.651 GB, free: 6.25 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)