Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") [: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.001983/0.001983, allocations: 179.7 kB / 7.458 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.5938/0.5938, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.12/1.12, allocations: 221.3 MB / 395 MB, free: 10.15 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.0008361/0.000836, allocations: 117.2 kB / 477.8 MB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.561e-06/5.601e-06, allocations: 0 / 0.5528 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 82.3 MB / 0.6332 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7339/0.8481, allocations: 363 MB / 0.9877 GB, free: 263.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.8483, allocations: 83.58 kB / 0.9878 GB, free: 263.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.727/4.575, allocations: 1.537 GB / 2.524 GB, free: 43.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001158/4.575, allocations: 46.33 kB / 2.524 GB, free: 43.54 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.002384/4.578, allocations: 1.88 MB / 2.526 GB, free: 41.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/4.578, allocations: 8.031 kB / 2.526 GB, free: 41.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/4.581, allocations: 0.665 MB / 2.527 GB, free: 40.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/4.583, allocations: 1.46 MB / 2.528 GB, free: 39.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/4.583, allocations: 32 kB / 2.528 GB, free: 39.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/4.584, allocations: 68 kB / 2.528 GB, free: 39.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001236/4.585, allocations: 0.8318 MB / 2.529 GB, free: 38.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/4.586, allocations: 1.074 MB / 2.53 GB, free: 37.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/4.586, allocations: 0 / 2.53 GB, free: 37.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/4.586, allocations: 4 kB / 2.53 GB, free: 37.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/4.586, allocations: 24 kB / 2.53 GB, free: 37.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005904/4.592, allocations: 6.69 MB / 2.537 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/4.593, allocations: 0.8447 MB / 2.538 GB, free: 29.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005286/4.594, allocations: 0.496 MB / 2.538 GB, free: 28.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/4.595, allocations: 2.262 MB / 2.54 GB, free: 26.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006666/4.596, allocations: 0.6367 MB / 2.541 GB, free: 25.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 2.475e-06/4.596, allocations: 0 / 2.541 GB, free: 25.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.002555/4.598, allocations: 1.309 MB / 2.542 GB, free: 24.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/4.598, allocations: 144.5 kB / 2.542 GB, free: 24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008258/4.599, allocations: 0.9062 MB / 2.543 GB, free: 23.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.91e-05/4.599, allocations: 29.7 kB / 2.543 GB, free: 23.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/4.599, allocations: 453.6 kB / 2.544 GB, free: 22.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/4.6, allocations: 311.4 kB / 2.544 GB, free: 22.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/4.6, allocations: 4 kB / 2.544 GB, free: 22.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.371e-05/4.6, allocations: 345.9 kB / 2.544 GB, free: 21.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004943/4.6, allocations: 410.2 kB / 2.545 GB, free: 21.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005876/4.601, allocations: 0.6795 MB / 2.545 GB, free: 20.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/4.602, allocations: 0.6956 MB / 2.546 GB, free: 20.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/4.602, allocations: 0 / 2.546 GB, free: 20.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00259/4.605, allocations: 1.457 MB / 2.547 GB, free: 18.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002833/4.605, allocations: 2.14 MB / 2.55 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/4.605, allocations: 8 kB / 2.55 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.87e-05/4.605, allocations: 8 kB / 2.55 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/4.607, allocations: 309.8 kB / 2.55 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/4.607, allocations: 11.94 kB / 2.55 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/4.608, allocations: 226.9 kB / 2.55 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/4.608, allocations: 63.97 kB / 2.55 GB, free: 15.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.652e-06/4.608, allocations: 9.938 kB / 2.55 GB, free: 15.72 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0024/4.61, allocations: 1.262 MB / 2.551 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/4.61, allocations: 4 kB / 2.551 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/4.611, allocations: 15.94 kB / 2.551 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/4.612, allocations: 304.3 kB / 2.552 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/4.612, allocations: 12 kB / 2.552 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/4.613, allocations: 211.1 kB / 2.552 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/4.613, allocations: 63.97 kB / 2.552 GB, free: 13.86 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * 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.0002167/4.613, allocations: 246.1 kB / 2.552 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/4.613, allocations: 157.8 kB / 2.552 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003589/4.617, allocations: 2.046 MB / 2.554 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/4.617, allocations: 19.98 kB / 2.554 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/4.617, allocations: 3.906 kB / 2.554 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/4.617, allocations: 3.984 kB / 2.554 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004655/4.622, allocations: 3.121 MB / 2.557 GB, free: 8.211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/4.622, allocations: 0 / 2.557 GB, free: 8.211 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/4.623, allocations: 247.2 kB / 2.558 GB, free: 7.973 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/4.623, allocations: 4 kB / 2.558 GB, free: 7.969 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.384e-05/4.623, allocations: 35.97 kB / 2.558 GB, free: 7.934 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/4.623, allocations: 4 kB / 2.558 GB, free: 7.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/4.623, allocations: 0 / 2.558 GB, free: 7.93 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003486/4.626, allocations: 2.592 MB / 2.56 GB, free: 5.262 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005199/4.627, allocations: 399.9 kB / 2.561 GB, free: 4.852 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/4.627, allocations: 16 kB / 2.561 GB, free: 4.836 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/4.628, allocations: 171.7 kB / 2.561 GB, free: 4.668 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/4.629, allocations: 68.67 kB / 2.561 GB, free: 4.602 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.58e-05/4.629, allocations: 51.97 kB / 2.561 GB, free: 4.551 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.000629/4.629, allocations: 0.6792 MB / 2.562 GB, free: 3.875 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001831/4.631, allocations: 0.8774 MB / 2.562 GB, free: 2.996 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.001192/4.632, allocations: 0.9954 MB / 2.563 GB, free: 2.117 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001951/4.634, allocations: 1.931 MB / 2.565 GB, free: 152 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/4.634, allocations: 7.938 kB / 2.565 GB, free: 144 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.214/4.848, allocations: 0.7993 MB / 2.566 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/4.851, allocations: 498.3 kB / 2.567 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/4.855, allocations: 2.691 MB / 2.569 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000947/4.856, allocations: 1.489 MB / 2.571 GB, free: 139.9 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/4.856, allocations: 0 / 2.571 GB, free: 139.9 MB / 0.698 GB Notification: Performance of Templates: time 0.04688/4.903, allocations: 36.82 MB / 2.607 GB, free: 139 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)