Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo): time 0.4852/0.4852, allocations: 94.73 MB / 102 MB, free: 10.34 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001307/0.001307, allocations: 185.3 kB / 125.3 MB, free: 11.97 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.193/1.193, allocations: 170.5 MB / 319 MB, free: 9.359 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001681/0.001681, allocations: 104.3 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.576e-06/8.596e-06, allocations: 0 / 448.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1283, allocations: 61.52 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3512/0.4796, allocations: 93.65 MB / 0.5896 GB, free: 8.684 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.4799, allocations: 74.16 kB / 0.5896 GB, free: 8.613 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.005138/0.485, allocations: 1.566 MB / 0.5912 GB, free: 7.109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.4851, allocations: 0 / 0.5912 GB, free: 7.109 MB / 410.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.0005683/0.4857, allocations: 422.5 kB / 0.5916 GB, free: 6.656 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.4857, allocations: 9.031 kB / 0.5916 GB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.4858, allocations: 15.81 kB / 0.5916 GB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.486, allocations: 207.8 kB / 0.5918 GB, free: 6.391 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.486, allocations: 0 / 0.5918 GB, free: 6.391 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.4861, allocations: 4.844 kB / 0.5918 GB, free: 6.387 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001601/0.4862, allocations: 61.3 kB / 0.5919 GB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.4864, allocations: 87.39 kB / 0.5919 GB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.4864, allocations: 4 kB / 0.592 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.4864, allocations: 0 / 0.592 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.4865, allocations: 6.844 kB / 0.592 GB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007282/0.4872, allocations: 445.2 kB / 0.5924 GB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.4875, allocations: 106.2 kB / 0.5925 GB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.751e-05/0.4876, allocations: 37.86 kB / 0.5925 GB, free: 5.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.4876, allocations: 11.98 kB / 0.5925 GB, free: 5.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.4876, allocations: 34.56 kB / 0.5926 GB, free: 5.527 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.4876, allocations: 0 / 0.5926 GB, free: 5.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002789/0.4879, allocations: 104.7 kB / 0.5927 GB, free: 5.422 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.488, allocations: 77.11 kB / 0.5927 GB, free: 5.328 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.4881, allocations: 135.2 kB / 0.5929 GB, free: 5.184 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.4881, allocations: 25.7 kB / 0.5929 GB, free: 5.152 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.4882, allocations: 108.7 kB / 0.593 GB, free: 5.043 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.4882, allocations: 27.55 kB / 0.593 GB, free: 5.016 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.4882, allocations: 0 / 0.593 GB, free: 5.016 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4883, allocations: 326.7 kB / 0.5933 GB, free: 4.688 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.372e-05/0.4884, allocations: 24 kB / 0.5934 GB, free: 4.664 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/0.4885, allocations: 38.75 kB / 0.5934 GB, free: 4.621 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.098e-05/0.4885, allocations: 29.17 kB / 0.5934 GB, free: 4.594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.4885, allocations: 0 / 0.5934 GB, free: 4.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001792/0.4887, allocations: 108.2 kB / 0.5935 GB, free: 4.484 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.4887, allocations: 4 kB / 0.5935 GB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4888, allocations: 0 / 0.5935 GB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.4888, allocations: 4 kB / 0.5935 GB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.489, allocations: 31.97 kB / 0.5936 GB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.489, allocations: 6.094 kB / 0.5936 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.4891, allocations: 19.47 kB / 0.5936 GB, free: 4.426 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4891, allocations: 14.55 kB / 0.5936 GB, free: 4.414 MB / 410.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 6.962e-05/0.4892, allocations: 101 kB / 0.5937 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.4893, allocations: 15.81 kB / 0.5937 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.4895, allocations: 114.7 kB / 0.5938 GB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4895, allocations: 4 kB / 0.5938 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4895, allocations: 0 / 0.5938 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4896, allocations: 0 / 0.5938 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.4898, allocations: 202.1 kB / 0.594 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4898, allocations: 0 / 0.594 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.49, allocations: 27.98 kB / 0.594 GB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.49, allocations: 4 kB / 0.594 GB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.49, allocations: 0 / 0.594 GB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.49, allocations: 1.312 kB / 0.594 GB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.49, allocations: 0 / 0.594 GB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002392/0.4903, allocations: 288.3 kB / 0.5943 GB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.4903, allocations: 92.92 kB / 0.5944 GB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.4904, allocations: 0 / 0.5944 GB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.4906, allocations: 11.98 kB / 0.5944 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.4906, allocations: 11.98 kB / 0.5944 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.4906, allocations: 4 kB / 0.5944 GB, free: 3.469 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.818e-05/0.4907, allocations: 120.1 kB / 0.5946 GB, free: 3.352 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.491, allocations: 28 kB / 0.5946 GB, free: 3.324 MB / 410.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.000108/0.4911, allocations: 99.19 kB / 0.5947 GB, free: 3.215 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.4913, allocations: 62 kB / 0.5947 GB, free: 3.156 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.4913, allocations: 3.938 kB / 0.5947 GB, free: 3.152 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.4914, allocations: 39.92 kB / 0.5948 GB, free: 3.113 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.4917, allocations: 35.08 kB / 0.5948 GB, free: 3.082 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.4921, allocations: 150.4 kB / 0.595 GB, free: 2.906 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.4924, allocations: 0.7231 MB / 0.5957 GB, free: 2.156 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4924, allocations: 0 / 0.5957 GB, free: 2.156 MB / 410.7 MB Notification: Performance of Templates: time 0.006532/0.499, allocations: 1.946 MB / 0.5976 GB, free: 308 kB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe 2>&1)