Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.242/2.242, 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.001727/0.001727, allocations: 177.3 kB / 360.4 MB, free: 7.535 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.835/1.835, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001345/0.001344, allocations: 96 kB / 0.7318 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.839e-06/1.014e-05, allocations: 0 / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6508/0.6508, allocations: 115.2 MB / 0.9628 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.078/1.729, allocations: 453.7 MB / 1.406 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/1.73, allocations: 92.72 kB / 1.406 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.112/6.842, allocations: 1.168 GB / 2.574 GB, free: 109.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004014/6.842, allocations: 54.22 kB / 2.574 GB, free: 109.6 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.006664/6.849, allocations: 2.095 MB / 2.576 GB, free: 107.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/6.849, allocations: 8.031 kB / 2.576 GB, free: 107.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00407/6.853, allocations: 480.5 kB / 2.577 GB, free: 107.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009981/6.863, allocations: 2.323 MB / 2.579 GB, free: 104.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.422e-05/6.863, allocations: 39.98 kB / 2.579 GB, free: 104.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004047/6.864, allocations: 75.91 kB / 2.579 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002718/6.866, allocations: 0.7815 MB / 2.58 GB, free: 103.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/6.869, allocations: 1.098 MB / 2.581 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.798e-05/6.869, allocations: 0 / 2.581 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/6.869, allocations: 4 kB / 2.581 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/6.87, allocations: 35.73 kB / 2.581 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01379/6.883, allocations: 6.92 MB / 2.588 GB, free: 95.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/6.885, allocations: 0.6166 MB / 2.589 GB, free: 94.69 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007477/6.886, allocations: 315.1 kB / 2.589 GB, free: 94.38 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006914/6.893, allocations: 2.832 MB / 2.592 GB, free: 91.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000776/6.894, allocations: 339.1 kB / 2.592 GB, free: 90.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 4.028e-06/6.894, allocations: 0 / 2.592 GB, free: 90.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.003934/6.898, allocations: 0.8603 MB / 2.593 GB, free: 90.04 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/6.898, allocations: 162.9 kB / 2.593 GB, free: 89.85 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/6.9, allocations: 1.248 MB / 2.594 GB, free: 88.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002642/6.901, allocations: 25.7 kB / 2.594 GB, free: 88.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/6.901, allocations: 0.5785 MB / 2.595 GB, free: 87.98 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/6.902, allocations: 228.5 kB / 2.595 GB, free: 87.76 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/6.902, allocations: 0 / 2.595 GB, free: 87.76 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000101/6.902, allocations: 341.9 kB / 2.595 GB, free: 87.42 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007235/6.903, allocations: 274.2 kB / 2.596 GB, free: 87.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009533/6.904, allocations: 0.7048 MB / 2.596 GB, free: 86.26 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/6.906, allocations: 0.549 MB / 2.597 GB, free: 85.74 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/6.906, allocations: 0 / 2.597 GB, free: 85.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004527/6.911, allocations: 1.199 MB / 2.598 GB, free: 84.54 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009569/6.912, allocations: 4.509 MB / 2.602 GB, free: 79.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.67e-05/6.912, allocations: 12 kB / 2.602 GB, free: 79.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.967e-05/6.912, allocations: 19.98 kB / 2.602 GB, free: 79.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/6.914, allocations: 255.2 kB / 2.603 GB, free: 79.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-05/6.914, allocations: 27.86 kB / 2.603 GB, free: 79.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/6.917, allocations: 161.2 kB / 2.603 GB, free: 79.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/6.917, allocations: 59.98 kB / 2.603 GB, free: 79.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/6.917, allocations: 7.938 kB / 2.603 GB, free: 79.17 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003802/6.921, allocations: 0.9694 MB / 2.604 GB, free: 78.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.977e-05/6.921, allocations: 15.98 kB / 2.604 GB, free: 78.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/6.921, allocations: 20.72 kB / 2.604 GB, free: 78.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/6.923, allocations: 253.3 kB / 2.604 GB, free: 77.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/6.923, allocations: 24.64 kB / 2.604 GB, free: 77.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/6.925, allocations: 130.9 kB / 2.604 GB, free: 77.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/6.925, allocations: 57.66 kB / 2.604 GB, free: 77.73 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.0003336/6.926, allocations: 144.5 kB / 2.604 GB, free: 77.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/6.926, allocations: 165.8 kB / 2.605 GB, free: 77.42 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/6.931, allocations: 1.127 MB / 2.606 GB, free: 76.31 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/6.931, allocations: 15.98 kB / 2.606 GB, free: 76.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/6.931, allocations: 3.906 kB / 2.606 GB, free: 76.29 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002857/6.934, allocations: 0.9065 MB / 2.607 GB, free: 75.34 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00677/6.94, allocations: 2.127 MB / 2.609 GB, free: 73.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/6.94, allocations: 0 / 2.609 GB, free: 73.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/6.942, allocations: 143.8 kB / 2.609 GB, free: 73.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000234/6.942, allocations: 28.78 kB / 2.609 GB, free: 73.02 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.797e-05/6.942, allocations: 17.98 kB / 2.609 GB, free: 73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/6.943, allocations: 1.269 MB / 2.61 GB, free: 71.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/6.943, allocations: 0 / 2.61 GB, free: 71.62 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004261/6.948, allocations: 1.437 MB / 2.611 GB, free: 70.16 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/6.949, allocations: 342.7 kB / 2.612 GB, free: 69.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003485/6.949, allocations: 9.359 kB / 2.612 GB, free: 69.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/6.951, allocations: 74.55 kB / 2.612 GB, free: 69.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/6.951, allocations: 55.77 kB / 2.612 GB, free: 69.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/6.951, allocations: 31.97 kB / 2.612 GB, free: 69.65 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001916/6.953, allocations: 0.9312 MB / 2.613 GB, free: 68.73 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006046/6.959, allocations: 1.017 MB / 2.614 GB, free: 67.71 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,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 (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.003387/6.963, allocations: 1.221 MB / 2.615 GB, free: 66.73 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003501/6.966, allocations: 1.366 MB / 2.616 GB, free: 65.34 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/6.966, allocations: 5 kB / 2.616 GB, free: 65.34 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/6.967, allocations: 453.1 kB / 2.617 GB, free: 64.89 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005399/6.973, allocations: 0.6092 MB / 2.617 GB, free: 64.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008132/6.981, allocations: 2.379 MB / 2.62 GB, free: 61.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001978/6.983, allocations: 1.562 MB / 2.621 GB, free: 60.32 MB / 0.948 GB Notification: Performance of SimCode: time 1.673e-06/6.983, allocations: 0 / 2.621 GB, free: 60.32 MB / 0.948 GB Notification: Performance of Templates: time 0.0977/7.081, allocations: 37.31 MB / 2.658 GB, free: 23.58 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)