Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") [: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.00266/0.00266, allocations: 178.4 kB / 7.457 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.614/0.614, 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.153/1.153, allocations: 221.3 MB / 395 MB, free: 10.23 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.0008514/0.0008514, allocations: 101.8 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.753e-06/6.883e-06, allocations: 2.906 kB / 0.5528 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 82.3 MB / 0.6332 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.052/3.161, allocations: 2.145 GB / 2.778 GB, free: 79.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/3.161, allocations: 99.94 kB / 2.778 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.501/5.662, allocations: 0.882 GB / 3.66 GB, free: 79.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002947/5.663, allocations: 56.83 kB / 3.66 GB, free: 79.11 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.004894/5.668, allocations: 2.364 MB / 3.662 GB, free: 78.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/5.668, allocations: 10.09 kB / 3.662 GB, free: 78.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/5.669, allocations: 396.3 kB / 3.663 GB, free: 77.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/5.673, allocations: 2.08 MB / 3.665 GB, free: 77.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/5.673, allocations: 43.94 kB / 3.665 GB, free: 77.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/5.673, allocations: 85.41 kB / 3.665 GB, free: 77.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00162/5.675, allocations: 1.132 MB / 3.666 GB, free: 77.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/5.676, allocations: 1.388 MB / 3.667 GB, free: 77.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/5.676, allocations: 0 / 3.667 GB, free: 77.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.695e-05/5.677, allocations: 5.859 kB / 3.667 GB, free: 77.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/5.677, allocations: 47.53 kB / 3.667 GB, free: 77.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006795/5.683, allocations: 6.702 MB / 3.674 GB, free: 75.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/5.685, allocations: 0.9161 MB / 3.675 GB, free: 75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005939/5.685, allocations: 0.5886 MB / 3.675 GB, free: 75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004199/5.686, allocations: 0.6901 MB / 3.676 GB, free: 74.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/5.686, allocations: 42.25 kB / 3.676 GB, free: 74.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 2.605e-06/5.686, allocations: 2.375 kB / 3.676 GB, free: 74.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.004261/5.69, allocations: 2.75 MB / 3.679 GB, free: 73.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/5.69, allocations: 199.4 kB / 3.679 GB, free: 73.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/5.691, allocations: 1.513 MB / 3.68 GB, free: 73.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.63e-05/5.692, allocations: 29.36 kB / 3.68 GB, free: 73.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/5.692, allocations: 0.5799 MB / 3.681 GB, free: 72.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/5.692, allocations: 278.5 kB / 3.681 GB, free: 72.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/5.692, allocations: 5.906 kB / 3.681 GB, free: 72.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.371e-05/5.692, allocations: 338.5 kB / 3.682 GB, free: 72.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/5.693, allocations: 0.5782 MB / 3.682 GB, free: 72.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007012/5.693, allocations: 0.8369 MB / 3.683 GB, free: 72.18 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/5.697, allocations: 2.18 MB / 3.685 GB, free: 71.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/5.697, allocations: 3.406 kB / 3.685 GB, free: 71.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00183/5.699, allocations: 1.544 MB / 3.687 GB, free: 71.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001841/5.699, allocations: 1.455 MB / 3.688 GB, free: 70.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/5.699, allocations: 3.281 kB / 3.688 GB, free: 70.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/5.699, allocations: 13.09 kB / 3.688 GB, free: 70.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007143/5.7, allocations: 186.2 kB / 3.688 GB, free: 70.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/5.7, allocations: 7.344 kB / 3.688 GB, free: 70.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/5.701, allocations: 104.4 kB / 3.688 GB, free: 70.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-05/5.701, allocations: 45.48 kB / 3.688 GB, free: 70.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.689e-06/5.701, allocations: 3.75 kB / 3.688 GB, free: 70.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001597/5.703, allocations: 1.342 MB / 3.69 GB, free: 70.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/5.703, allocations: 3.844 kB / 3.69 GB, free: 70.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/5.703, allocations: 7.469 kB / 3.69 GB, free: 70.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006752/5.703, allocations: 186.5 kB / 3.69 GB, free: 70.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/5.703, allocations: 9.969 kB / 3.69 GB, free: 70.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009787/5.704, allocations: 93.36 kB / 3.69 GB, free: 70.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-05/5.704, allocations: 46.75 kB / 3.69 GB, free: 70.18 MB / 0.698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * 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.0002081/5.705, allocations: 230.1 kB / 3.69 GB, free: 69.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/5.705, allocations: 178.4 kB / 3.69 GB, free: 69.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/5.707, allocations: 1.294 MB / 3.692 GB, free: 69.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/5.707, allocations: 9.125 kB / 3.692 GB, free: 69.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/5.707, allocations: 2.531 kB / 3.692 GB, free: 69.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/5.708, allocations: 1.379 MB / 3.693 GB, free: 69.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003955/5.712, allocations: 3.279 MB / 3.696 GB, free: 68.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/5.712, allocations: 3.938 kB / 3.696 GB, free: 68.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006985/5.713, allocations: 169.6 kB / 3.696 GB, free: 68.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/5.713, allocations: 11.39 kB / 3.696 GB, free: 68.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/5.713, allocations: 13.94 kB / 3.696 GB, free: 68.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/5.713, allocations: 11.03 kB / 3.696 GB, free: 68.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/5.713, allocations: 7.125 kB / 3.696 GB, free: 68.89 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002261/5.715, allocations: 2.543 MB / 3.699 GB, free: 68.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006158/5.716, allocations: 435.6 kB / 3.699 GB, free: 67.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/5.716, allocations: 10.09 kB / 3.699 GB, free: 67.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009516/5.717, allocations: 92.95 kB / 3.699 GB, free: 67.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/5.717, allocations: 88.5 kB / 3.7 GB, free: 67.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/5.717, allocations: 35.41 kB / 3.7 GB, free: 67.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001403/5.718, allocations: 1.152 MB / 3.701 GB, free: 67.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002353/5.721, allocations: 0.9061 MB / 3.702 GB, free: 67.74 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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.002714/5.723, allocations: 2.391 MB / 3.704 GB, free: 67.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002406/5.726, allocations: 2.372 MB / 3.706 GB, free: 66.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/5.726, allocations: 3.594 kB / 3.706 GB, free: 66.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008742/5.727, allocations: 0.9139 MB / 3.707 GB, free: 66.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/5.73, allocations: 0.7926 MB / 3.708 GB, free: 66.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/5.735, allocations: 3.112 MB / 3.711 GB, free: 65.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/5.736, allocations: 1.692 MB / 3.713 GB, free: 65.08 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/5.736, allocations: 0 / 3.713 GB, free: 65.08 MB / 0.698 GB Notification: Performance of Templates: time 0.06347/5.799, allocations: 48.67 MB / 3.76 GB, free: 63.25 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)