Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.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.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") [: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.002108/0.002108, allocations: 178.4 kB / 7.462 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6007/0.6007, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.125/1.125, allocations: 221.3 MB / 395 MB, free: 10.2 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.0008288/0.0008288, allocations: 92.34 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.801e-06/5.841e-06, allocations: 2.875 kB / 0.5528 GB, free: 89.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7144/0.8203, allocations: 414.4 MB / 1.038 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001675/0.8205, allocations: 91.95 kB / 1.038 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.878/3.698, allocations: 1.184 GB / 2.222 GB, free: 84.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002485/3.699, allocations: 52.41 kB / 2.222 GB, free: 84.52 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004165/3.703, allocations: 2.035 MB / 2.224 GB, free: 83.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/3.703, allocations: 9.844 kB / 2.224 GB, free: 83.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/3.705, allocations: 489 kB / 2.225 GB, free: 82.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004965/3.71, allocations: 2.293 MB / 2.227 GB, free: 80.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.09e-05/3.71, allocations: 36 kB / 2.227 GB, free: 80.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/3.71, allocations: 79.61 kB / 2.227 GB, free: 80.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001306/3.711, allocations: 0.7815 MB / 2.228 GB, free: 79.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/3.713, allocations: 1.068 MB / 2.229 GB, free: 78.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/3.713, allocations: 0 / 2.229 GB, free: 78.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-05/3.713, allocations: 7.344 kB / 2.229 GB, free: 78.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/3.713, allocations: 46.64 kB / 2.229 GB, free: 78.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007028/3.72, allocations: 6.967 MB / 2.236 GB, free: 70.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/3.721, allocations: 442.7 kB / 2.236 GB, free: 70.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/3.721, allocations: 347.9 kB / 2.237 GB, free: 70.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004014/3.725, allocations: 2.931 MB / 2.239 GB, free: 66.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004151/3.726, allocations: 339.1 kB / 2.24 GB, free: 66.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=66): time 2.424e-06/3.726, allocations: 0 / 2.24 GB, free: 66.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=66): time 0.001912/3.727, allocations: 0.864 MB / 2.241 GB, free: 65.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/3.727, allocations: 123.4 kB / 2.241 GB, free: 65.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/3.729, allocations: 1.227 MB / 2.242 GB, free: 64.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/3.729, allocations: 28.36 kB / 2.242 GB, free: 64.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/3.729, allocations: 0.5638 MB / 2.243 GB, free: 63.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/3.729, allocations: 227.9 kB / 2.243 GB, free: 63.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/3.729, allocations: 0 / 2.243 GB, free: 63.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.745e-05/3.729, allocations: 345.9 kB / 2.243 GB, free: 63.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/3.73, allocations: 264 kB / 2.243 GB, free: 62.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/3.73, allocations: 0.6629 MB / 2.244 GB, free: 62.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/3.732, allocations: 0.5238 MB / 2.244 GB, free: 61.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/3.732, allocations: 8.062 kB / 2.244 GB, free: 61.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002089/3.734, allocations: 1.161 MB / 2.246 GB, free: 60.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000609/3.734, allocations: 4.421 MB / 2.25 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/3.734, allocations: 8 kB / 2.25 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/3.734, allocations: 20 kB / 2.25 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009199/3.735, allocations: 254.6 kB / 2.25 GB, free: 55.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/3.735, allocations: 27.92 kB / 2.25 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/3.736, allocations: 152.1 kB / 2.25 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.427e-05/3.737, allocations: 55.98 kB / 2.25 GB, free: 55.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.13e-06/3.737, allocations: 4 kB / 2.25 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00186/3.738, allocations: 0.9382 MB / 2.251 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/3.738, allocations: 12 kB / 2.251 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/3.738, allocations: 16 kB / 2.251 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008675/3.739, allocations: 254.9 kB / 2.252 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/3.739, allocations: 27.91 kB / 2.252 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000926/3.74, allocations: 131.3 kB / 2.252 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/3.74, allocations: 51.98 kB / 2.252 GB, free: 53.79 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 122 * Array equations: 1 * Algorithm blocks: 1 * 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.0001469/3.74, allocations: 146.8 kB / 2.252 GB, free: 53.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/3.741, allocations: 169.2 kB / 2.252 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/3.743, allocations: 1.143 MB / 2.253 GB, free: 52.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/3.743, allocations: 11.47 kB / 2.253 GB, free: 52.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/3.743, allocations: 0 / 2.253 GB, free: 52.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001419/3.744, allocations: 0.9155 MB / 2.254 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/3.748, allocations: 2.172 MB / 2.256 GB, free: 49.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/3.748, allocations: 0 / 2.256 GB, free: 49.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006797/3.748, allocations: 154.3 kB / 2.256 GB, free: 49.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001334/3.748, allocations: 28.84 kB / 2.256 GB, free: 49.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/3.749, allocations: 11.98 kB / 2.256 GB, free: 49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006196/3.749, allocations: 1.261 MB / 2.258 GB, free: 47.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/3.749, allocations: 4 kB / 2.258 GB, free: 47.62 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002002/3.751, allocations: 1.452 MB / 2.259 GB, free: 46.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/3.752, allocations: 338.7 kB / 2.259 GB, free: 45.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/3.752, allocations: 7.984 kB / 2.259 GB, free: 45.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008198/3.753, allocations: 83.27 kB / 2.259 GB, free: 45.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/3.753, allocations: 48.48 kB / 2.26 GB, free: 45.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/3.753, allocations: 35.97 kB / 2.26 GB, free: 45.63 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0008884/3.754, allocations: 0.9178 MB / 2.26 GB, free: 44.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002746/3.756, allocations: 0.9442 MB / 2.261 GB, free: 43.78 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0016/3.758, allocations: 1.184 MB / 2.263 GB, free: 42.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001487/3.76, allocations: 1.281 MB / 2.264 GB, free: 41.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/3.76, allocations: 4 kB / 2.264 GB, free: 41.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005139/3.76, allocations: 456 kB / 2.264 GB, free: 41.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/3.762, allocations: 0.5902 MB / 2.265 GB, free: 40.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/3.766, allocations: 2.339 MB / 2.267 GB, free: 38.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/3.767, allocations: 1.554 MB / 2.269 GB, free: 36.64 MB / 0.698 GB Notification: Performance of SimCode: time 3.6e-07/3.767, allocations: 0 / 2.269 GB, free: 36.64 MB / 0.698 GB Notification: Performance of Templates: time 0.04454/3.812, allocations: 35.98 MB / 2.304 GB, free: 1.402 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)