Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.233/2.233, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001682/0.001682, allocations: 193.2 kB / 360.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 85.16 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.139e-05/1.148e-05, allocations: 4 kB / 0.8502 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6365/0.6365, allocations: 115.2 MB / 0.9628 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.074/1.71, allocations: 453.6 MB / 1.406 GB, free: 111 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/1.711, allocations: 95.05 kB / 1.406 GB, free: 111 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.201/6.912, allocations: 1.168 GB / 2.574 GB, free: 129.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003397/6.912, allocations: 57.05 kB / 2.574 GB, free: 129.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006512/6.919, allocations: 2.09 MB / 2.576 GB, free: 128.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/6.919, allocations: 8.344 kB / 2.576 GB, free: 128.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004087/6.923, allocations: 486.9 kB / 2.577 GB, free: 128.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/6.936, allocations: 2.321 MB / 2.579 GB, free: 126.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/6.936, allocations: 34.97 kB / 2.579 GB, free: 126.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007524/6.937, allocations: 78.03 kB / 2.579 GB, free: 126.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004719/6.942, allocations: 0.7844 MB / 2.58 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005027/6.947, allocations: 1.095 MB / 2.581 GB, free: 125.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.45e-05/6.947, allocations: 0 / 2.581 GB, free: 125.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/6.947, allocations: 10.06 kB / 2.581 GB, free: 125.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.79e-05/6.948, allocations: 32.48 kB / 2.581 GB, free: 125.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02087/6.968, allocations: 6.919 MB / 2.588 GB, free: 119.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/6.971, allocations: 0.6204 MB / 2.588 GB, free: 119.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/6.972, allocations: 321.4 kB / 2.589 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01073/6.983, allocations: 2.823 MB / 2.591 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/6.984, allocations: 339.4 kB / 2.592 GB, free: 116.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 6.602e-06/6.984, allocations: 0 / 2.592 GB, free: 116.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.006021/6.99, allocations: 0.8441 MB / 2.592 GB, free: 115.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/6.991, allocations: 163.1 kB / 2.593 GB, free: 115.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00447/6.995, allocations: 1.245 MB / 2.594 GB, free: 114.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003409/6.995, allocations: 32.05 kB / 2.594 GB, free: 114.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009305/6.996, allocations: 0.5832 MB / 2.594 GB, free: 113.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005878/6.997, allocations: 212.9 kB / 2.595 GB, free: 113.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/6.997, allocations: 0 / 2.595 GB, free: 113.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001318/6.997, allocations: 341.9 kB / 2.595 GB, free: 113.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/6.998, allocations: 280.9 kB / 2.595 GB, free: 113 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/7, allocations: 0.7036 MB / 2.596 GB, free: 112.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004231/7.004, allocations: 0.5218 MB / 2.596 GB, free: 111.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-05/7.004, allocations: 4 kB / 2.596 GB, free: 111.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.007332/7.012, allocations: 1.178 MB / 2.598 GB, free: 110.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001134/7.013, allocations: 4.515 MB / 2.602 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.005e-05/7.013, allocations: 12 kB / 2.602 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-05/7.013, allocations: 16 kB / 2.602 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003134/7.016, allocations: 258.8 kB / 2.602 GB, free: 105.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.359e-05/7.016, allocations: 23.88 kB / 2.602 GB, free: 105.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/7.019, allocations: 163.7 kB / 2.602 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/7.019, allocations: 55.48 kB / 2.602 GB, free: 105.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/7.019, allocations: 4 kB / 2.602 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003804/7.023, allocations: 0.9512 MB / 2.603 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-05/7.023, allocations: 15.98 kB / 2.603 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/7.023, allocations: 19.91 kB / 2.603 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/7.025, allocations: 254.5 kB / 2.604 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/7.025, allocations: 23.92 kB / 2.604 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/7.027, allocations: 136.4 kB / 2.604 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/7.028, allocations: 55.97 kB / 2.604 GB, free: 103.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (125): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0003527/7.028, allocations: 144.5 kB / 2.604 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000468/7.029, allocations: 169.7 kB / 2.604 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004367/7.033, allocations: 1.108 MB / 2.605 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/7.033, allocations: 11.98 kB / 2.605 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/7.033, allocations: 0 / 2.605 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002683/7.036, allocations: 0.8866 MB / 2.606 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006677/7.042, allocations: 2.112 MB / 2.608 GB, free: 99.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/7.043, allocations: 0 / 2.608 GB, free: 99.13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/7.045, allocations: 146.9 kB / 2.608 GB, free: 99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003255/7.045, allocations: 31.97 kB / 2.608 GB, free: 98.96 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/7.045, allocations: 15.97 kB / 2.608 GB, free: 98.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/7.047, allocations: 1.266 MB / 2.61 GB, free: 97.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/7.047, allocations: 0 / 2.61 GB, free: 97.57 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004318/7.051, allocations: 1.41 MB / 2.611 GB, free: 96.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/7.052, allocations: 338.7 kB / 2.611 GB, free: 95.78 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005496/7.053, allocations: 22.81 kB / 2.611 GB, free: 95.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001985/7.055, allocations: 74.83 kB / 2.611 GB, free: 95.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/7.055, allocations: 48.52 kB / 2.611 GB, free: 95.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/7.055, allocations: 35.97 kB / 2.611 GB, free: 95.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002086/7.057, allocations: 0.9305 MB / 2.612 GB, free: 94.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006436/7.064, allocations: 1.005 MB / 2.613 GB, free: 93.69 MB / 0.948 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.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.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 (74): * Single equations (assignments): 65 * 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.003235/7.067, allocations: 1.23 MB / 2.615 GB, free: 92.76 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003485/7.071, allocations: 1.371 MB / 2.616 GB, free: 91.38 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/7.071, allocations: 0 / 2.616 GB, free: 91.38 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/7.072, allocations: 454.3 kB / 2.616 GB, free: 90.93 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005585/7.077, allocations: 0.5994 MB / 2.617 GB, free: 90.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00832/7.086, allocations: 2.375 MB / 2.619 GB, free: 88.08 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/7.088, allocations: 1.569 MB / 2.621 GB, free: 86.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.242e-06/7.088, allocations: 0 / 2.621 GB, free: 86.5 MB / 0.948 GB Notification: Performance of Templates: time 0.09857/7.186, allocations: 37.32 MB / 2.657 GB, free: 50.07 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)