Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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: translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [: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.002939/0.002939, allocations: 176.2 kB / 7.46 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6035/0.6035, 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.13/1.13, allocations: 221.3 MB / 395 MB, free: 10.22 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.0008539/0.0008541, allocations: 98.48 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/6.973e-06, allocations: 2.656 kB / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 82.31 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7552/0.8726, allocations: 380.9 MB / 1.005 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001747/0.8728, allocations: 92.81 kB / 1.005 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.9299/1.803, allocations: 442.8 MB / 1.438 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001271/1.803, allocations: 35.91 kB / 1.438 GB, free: 80.84 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.00229/1.805, allocations: 1.254 MB / 1.439 GB, free: 79.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/1.805, allocations: 8.031 kB / 1.439 GB, free: 79.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004998/1.806, allocations: 134.5 kB / 1.439 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02473/1.83, allocations: 13 MB / 1.452 GB, free: 66.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/1.831, allocations: 24 kB / 1.452 GB, free: 66.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/1.831, allocations: 44 kB / 1.452 GB, free: 66.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008562/1.832, allocations: 451.9 kB / 1.452 GB, free: 65.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000932/1.832, allocations: 0.6344 MB / 1.453 GB, free: 65.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/1.833, allocations: 0 / 1.453 GB, free: 65.22 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/1.833, allocations: 0 / 1.453 GB, free: 65.22 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/1.833, allocations: 23.98 kB / 1.453 GB, free: 65.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003584/1.836, allocations: 3.547 MB / 1.456 GB, free: 61.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/1.837, allocations: 194.3 kB / 1.457 GB, free: 61.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/1.837, allocations: 149.3 kB / 1.457 GB, free: 61.15 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003384/1.837, allocations: 0.6649 MB / 1.457 GB, free: 60.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/1.837, allocations: 42.55 kB / 1.457 GB, free: 60.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/1.837, allocations: 0 / 1.457 GB, free: 60.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.0007333/1.838, allocations: 352.4 kB / 1.458 GB, free: 59.94 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.733e-05/1.838, allocations: 55.34 kB / 1.458 GB, free: 59.87 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007397/1.839, allocations: 0.6415 MB / 1.458 GB, free: 59.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/1.839, allocations: 25.7 kB / 1.459 GB, free: 59.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/1.839, allocations: 386.8 kB / 1.459 GB, free: 58.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.086e-05/1.839, allocations: 114.3 kB / 1.459 GB, free: 58.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/1.839, allocations: 0 / 1.459 GB, free: 58.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.555e-05/1.839, allocations: 326 kB / 1.459 GB, free: 58.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/1.839, allocations: 117 kB / 1.459 GB, free: 58.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/1.839, allocations: 321.8 kB / 1.46 GB, free: 57.85 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/1.84, allocations: 197.5 kB / 1.46 GB, free: 57.66 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.84, allocations: 0 / 1.46 GB, free: 57.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007262/1.84, allocations: 492.5 kB / 1.46 GB, free: 57.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/1.84, allocations: 4 kB / 1.46 GB, free: 57.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.841, allocations: 12.03 kB / 1.46 GB, free: 57.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/1.841, allocations: 8 kB / 1.46 GB, free: 57.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/1.841, allocations: 123.8 kB / 1.461 GB, free: 57.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.841, allocations: 11.92 kB / 1.461 GB, free: 57.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/1.842, allocations: 87.39 kB / 1.461 GB, free: 56.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/1.842, allocations: 24 kB / 1.461 GB, free: 56.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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 8.815e-05/1.842, allocations: 120.9 kB / 1.461 GB, free: 56.78 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/1.842, allocations: 82.97 kB / 1.461 GB, free: 56.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007076/1.843, allocations: 441.8 kB / 1.461 GB, free: 56.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.843, allocations: 11.98 kB / 1.461 GB, free: 56.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.843, allocations: 0 / 1.461 GB, free: 56.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004521/1.843, allocations: 401.8 kB / 1.462 GB, free: 55.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/1.845, allocations: 1.228 MB / 1.463 GB, free: 54.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.845, allocations: 4.031 kB / 1.463 GB, free: 54.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/1.845, allocations: 79.89 kB / 1.463 GB, free: 54.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/1.845, allocations: 7.906 kB / 1.463 GB, free: 54.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/1.845, allocations: 11.98 kB / 1.463 GB, free: 54.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.845, allocations: 4 kB / 1.463 GB, free: 54.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.845, allocations: 4 kB / 1.463 GB, free: 54.43 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007894/1.846, allocations: 0.7477 MB / 1.464 GB, free: 53.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/1.846, allocations: 231.9 kB / 1.464 GB, free: 53.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/1.846, allocations: 0 / 1.464 GB, free: 53.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005134/1.847, allocations: 55.86 kB / 1.464 GB, free: 53.32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/1.847, allocations: 23.97 kB / 1.464 GB, free: 53.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/1.847, allocations: 19.98 kB / 1.464 GB, free: 53.28 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004662/1.847, allocations: 0.4952 MB / 1.464 GB, free: 52.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001033/1.848, allocations: 371.1 kB / 1.465 GB, free: 52.42 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008544/1.849, allocations: 0.5697 MB / 1.465 GB, free: 51.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004177/1.85, allocations: 337.2 kB / 1.466 GB, free: 51.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.85, allocations: 0 / 1.466 GB, free: 51.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/1.85, allocations: 165.6 kB / 1.466 GB, free: 51.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/1.852, allocations: 462.6 kB / 1.466 GB, free: 50.97 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/1.854, allocations: 1.18 MB / 1.467 GB, free: 49.74 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/1.854, allocations: 1.14 MB / 1.469 GB, free: 48.57 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/1.854, allocations: 0 / 1.469 GB, free: 48.57 MB / 0.6823 GB Notification: Performance of Templates: time 0.02244/1.877, allocations: 17.04 MB / 1.485 GB, free: 31.76 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)