Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.016/2.016, allocations: 253.1 MB / 260.4 MB, free: 7.484 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001666/0.001666, allocations: 189.2 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.4 MB / 0.5704 GB, free: 14.97 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001375/0.001375, allocations: 95.33 kB / 0.6746 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.588e-06/9.809e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2089, allocations: 106.3 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.485/1.694, allocations: 447.1 MB / 1.325 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/1.695, allocations: 91.77 kB / 1.325 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.643/7.338, allocations: 1.136 GB / 2.461 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004353/7.339, allocations: 55.69 kB / 2.461 GB, free: 119.8 MB / 0.8855 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.007664/7.346, allocations: 2.078 MB / 2.463 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/7.346, allocations: 12.3 kB / 2.463 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004461/7.351, allocations: 487.5 kB / 2.463 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/7.362, allocations: 2.322 MB / 2.466 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/7.363, allocations: 36.44 kB / 2.466 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005978/7.363, allocations: 72.27 kB / 2.466 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003372/7.367, allocations: 0.7916 MB / 2.467 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003422/7.37, allocations: 1.091 MB / 2.468 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.566e-05/7.37, allocations: 2.156 kB / 2.468 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/7.37, allocations: 7.562 kB / 2.468 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.603e-05/7.371, allocations: 30.38 kB / 2.468 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01659/7.387, allocations: 6.906 MB / 2.474 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/7.389, allocations: 0.6161 MB / 2.475 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000906/7.39, allocations: 328.5 kB / 2.475 GB, free: 111 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007919/7.398, allocations: 2.813 MB / 2.478 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009234/7.399, allocations: 336.8 kB / 2.478 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=64): time 4.338e-06/7.399, allocations: 1 kB / 2.478 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=64): time 0.004773/7.404, allocations: 0.8575 MB / 2.479 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/7.404, allocations: 162.9 kB / 2.479 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004065/7.408, allocations: 1.251 MB / 2.481 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003572/7.408, allocations: 33.06 kB / 2.481 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009168/7.409, allocations: 0.5737 MB / 2.481 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005042/7.41, allocations: 218.4 kB / 2.481 GB, free: 107 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.153e-05/7.41, allocations: 0 / 2.481 GB, free: 107 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001331/7.41, allocations: 343.5 kB / 2.482 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009119/7.411, allocations: 278 kB / 2.482 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/7.412, allocations: 0.7051 MB / 2.483 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003192/7.416, allocations: 0.5431 MB / 2.483 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.34e-05/7.416, allocations: 3.438 kB / 2.483 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005567/7.421, allocations: 1.196 MB / 2.484 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009362/7.422, allocations: 4.511 MB / 2.489 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.494e-05/7.422, allocations: 17.05 kB / 2.489 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.11e-05/7.422, allocations: 18 kB / 2.489 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/7.425, allocations: 254.2 kB / 2.489 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.369e-05/7.425, allocations: 24.17 kB / 2.489 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/7.428, allocations: 162.2 kB / 2.489 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003791/7.428, allocations: 55.48 kB / 2.489 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/7.428, allocations: 4.25 kB / 2.489 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004633/7.433, allocations: 0.9726 MB / 2.49 GB, free: 99.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.965e-05/7.433, allocations: 20.61 kB / 2.49 GB, free: 99.83 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.634e-05/7.433, allocations: 17.88 kB / 2.49 GB, free: 99.83 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/7.435, allocations: 257.3 kB / 2.491 GB, free: 99.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-05/7.435, allocations: 24.33 kB / 2.491 GB, free: 99.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/7.438, allocations: 131.7 kB / 2.491 GB, free: 99.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/7.438, allocations: 61.91 kB / 2.491 GB, free: 99.69 MB / 0.8855 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.0004282/7.438, allocations: 143.4 kB / 2.491 GB, free: 99.55 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000639/7.439, allocations: 163.2 kB / 2.491 GB, free: 99.46 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005237/7.444, allocations: 1.134 MB / 2.492 GB, free: 98.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/7.444, allocations: 11.31 kB / 2.492 GB, free: 98.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/7.444, allocations: 0 / 2.492 GB, free: 98.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003463/7.448, allocations: 0.9115 MB / 2.493 GB, free: 98.33 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008587/7.456, allocations: 2.127 MB / 2.495 GB, free: 96.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/7.457, allocations: 0 / 2.495 GB, free: 96.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/7.458, allocations: 143.4 kB / 2.495 GB, free: 96.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002595/7.458, allocations: 33.03 kB / 2.495 GB, free: 96.91 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/7.458, allocations: 19.56 kB / 2.495 GB, free: 96.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/7.46, allocations: 1.253 MB / 2.497 GB, free: 95.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/7.46, allocations: 5.203 kB / 2.497 GB, free: 95.61 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004869/7.465, allocations: 1.437 MB / 2.498 GB, free: 94.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/7.466, allocations: 338 kB / 2.498 GB, free: 94.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005416/7.467, allocations: 10.17 kB / 2.498 GB, free: 94.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/7.469, allocations: 76.67 kB / 2.498 GB, free: 94.49 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/7.469, allocations: 54.39 kB / 2.498 GB, free: 94.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/7.469, allocations: 27.36 kB / 2.498 GB, free: 94.45 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.002553/7.472, allocations: 0.9345 MB / 2.499 GB, free: 93.96 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007159/7.479, allocations: 0.9991 MB / 2.5 GB, free: 93.71 MB / 0.8855 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.003681/7.482, allocations: 1.218 MB / 2.501 GB, free: 93.32 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006998/7.49, allocations: 1.371 MB / 2.503 GB, free: 92.68 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/7.49, allocations: 2.656 kB / 2.503 GB, free: 92.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002346/7.492, allocations: 459.9 kB / 2.503 GB, free: 92.43 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0088/7.501, allocations: 0.602 MB / 2.504 GB, free: 92.18 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/7.515, allocations: 2.364 MB / 2.506 GB, free: 91.08 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003867/7.519, allocations: 1.563 MB / 2.508 GB, free: 89.78 MB / 0.8855 GB Notification: Performance of SimCode: time 2.014e-06/7.519, allocations: 3.469 kB / 2.508 GB, free: 89.78 MB / 0.8855 GB Notification: Performance of Templates: time 0.1291/7.648, allocations: 37.15 MB / 2.544 GB, free: 53.92 MB / 0.8855 GB