Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset") translateModel(Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset") [: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/Annex60 1.0.0/package.mo): time 0.284/0.284, allocations: 54.39 MB / 61.68 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001595/0.001595, allocations: 186.8 kB / 75.38 MB, free: 1.5 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.729/1.729, allocations: 194.2 MB / 283.2 MB, free: 3.574 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001702/0.001702, allocations: 117.2 kB / 341.3 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.318e-06/9.337e-06, allocations: 0 / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1695, allocations: 57.64 MB / 462.6 MB, free: 2.008 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4761/0.6457, allocations: 85.37 MB / 0.5351 GB, free: 11.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.6461, allocations: 71.64 kB / 0.5352 GB, free: 11.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.005541/0.6516, allocations: 1.566 MB / 0.5367 GB, free: 10.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.6517, allocations: 0 / 0.5367 GB, free: 10.34 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007052/0.6524, allocations: 422.3 kB / 0.5371 GB, free: 9.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.6525, allocations: 15.97 kB / 0.5371 GB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.6525, allocations: 15.81 kB / 0.5371 GB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.6529, allocations: 206.7 kB / 0.5373 GB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.6529, allocations: 0 / 0.5373 GB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.6529, allocations: 4 kB / 0.5373 GB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001916/0.6531, allocations: 60.73 kB / 0.5374 GB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.6533, allocations: 90.11 kB / 0.5375 GB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.6534, allocations: 0 / 0.5375 GB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.6534, allocations: 0 / 0.5375 GB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.6534, allocations: 8 kB / 0.5375 GB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009463/0.6544, allocations: 449.7 kB / 0.5379 GB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.6547, allocations: 105.9 kB / 0.538 GB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.6548, allocations: 40.53 kB / 0.5381 GB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.6549, allocations: 4 kB / 0.5381 GB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.6549, allocations: 38.69 kB / 0.5381 GB, free: 8.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.6549, allocations: 0 / 0.5381 GB, free: 8.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003394/0.6553, allocations: 100.3 kB / 0.5382 GB, free: 8.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.6553, allocations: 81.02 kB / 0.5383 GB, free: 8.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.6555, allocations: 139.7 kB / 0.5384 GB, free: 8.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.6555, allocations: 25.7 kB / 0.5384 GB, free: 8.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/0.6556, allocations: 102.5 kB / 0.5385 GB, free: 8.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.6557, allocations: 30.92 kB / 0.5386 GB, free: 8.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/0.6557, allocations: 4 kB / 0.5386 GB, free: 8.391 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.6559, allocations: 320.3 kB / 0.5389 GB, free: 8.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.736e-05/0.6559, allocations: 26 kB / 0.5389 GB, free: 8.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.428e-05/0.656, allocations: 39.09 kB / 0.5389 GB, free: 8.027 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.54e-05/0.6561, allocations: 29.61 kB / 0.539 GB, free: 8.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6561, allocations: 0 / 0.539 GB, free: 8.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001992/0.6563, allocations: 108.6 kB / 0.5391 GB, free: 7.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.6563, allocations: 4 kB / 0.5391 GB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.6563, allocations: 8 kB / 0.5391 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6563, allocations: 0 / 0.5391 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.6565, allocations: 23.98 kB / 0.5391 GB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.6566, allocations: 4.641 kB / 0.5391 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.6567, allocations: 23.89 kB / 0.5391 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.6567, allocations: 4 kB / 0.5391 GB, free: 7.852 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.808e-05/0.6568, allocations: 101 kB / 0.5392 GB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.6569, allocations: 19.8 kB / 0.5392 GB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.6572, allocations: 116.8 kB / 0.5394 GB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.6572, allocations: 8 kB / 0.5394 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6572, allocations: 0 / 0.5394 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.6572, allocations: 0 / 0.5394 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.6575, allocations: 197.6 kB / 0.5395 GB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6575, allocations: 3.938 kB / 0.5396 GB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.6577, allocations: 23.98 kB / 0.5396 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.6577, allocations: 4 kB / 0.5396 GB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.6577, allocations: 4 kB / 0.5396 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6577, allocations: 192 / 0.5396 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6577, allocations: 0 / 0.5396 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002969/0.658, allocations: 292.8 kB / 0.5399 GB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.6581, allocations: 88.92 kB / 0.5399 GB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.6581, allocations: 0 / 0.5399 GB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.6583, allocations: 15.98 kB / 0.54 GB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.6584, allocations: 10.92 kB / 0.54 GB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.6584, allocations: 4.188 kB / 0.54 GB, free: 6.969 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.7e-05/0.6585, allocations: 111 kB / 0.5401 GB, free: 6.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002761/0.6588, allocations: 24 kB / 0.5401 GB, free: 6.848 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.000176/0.659, allocations: 103.2 kB / 0.5402 GB, free: 6.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.6592, allocations: 62.12 kB / 0.5403 GB, free: 6.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6592, allocations: 4 kB / 0.5403 GB, free: 6.695 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.896e-05/0.6593, allocations: 35.31 kB / 0.5403 GB, free: 6.672 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.6596, allocations: 41.48 kB / 0.5403 GB, free: 6.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.6602, allocations: 159.9 kB / 0.5405 GB, free: 6.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.6606, allocations: 0.7318 MB / 0.5412 GB, free: 5.711 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6606, allocations: 3.938 kB / 0.5412 GB, free: 5.707 MB / 378.7 MB Notification: Performance of Templates: time 0.005127/0.6658, allocations: 1.935 MB / 0.5431 GB, free: 3.805 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile (rm -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.sim & ./Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe 2>&1)