Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") [: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.097/2.097, allocations: 253.1 MB / 260.4 MB, free: 7.559 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.001603/0.001602, allocations: 181.3 kB / 319.6 MB, free: 3.34 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.779/1.779, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001303/0.001303, allocations: 94.08 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.11e-05/1.129e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2093, allocations: 106.2 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.429/1.638, allocations: 442.9 MB / 1.321 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/1.638, allocations: 91.06 kB / 1.321 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.318/5.956, allocations: 0.9589 GB / 2.28 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004275/5.957, allocations: 65.5 kB / 2.28 GB, free: 127.3 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.009408/5.966, allocations: 2.154 MB / 2.282 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/5.966, allocations: 7.594 kB / 2.282 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/5.977, allocations: 0.7993 MB / 2.282 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04928/6.026, allocations: 8.824 MB / 2.291 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/6.026, allocations: 44.56 kB / 2.291 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006605/6.027, allocations: 76.5 kB / 2.291 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004949/6.032, allocations: 0.9342 MB / 2.292 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005156/6.037, allocations: 1.231 MB / 2.293 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.526e-05/6.037, allocations: 4.031 kB / 2.293 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002796/6.038, allocations: 3.812 kB / 2.293 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.062e-05/6.038, allocations: 30.69 kB / 2.293 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02206/6.06, allocations: 8.283 MB / 2.301 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/6.062, allocations: 0.6726 MB / 2.302 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009575/6.063, allocations: 369.4 kB / 2.302 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008255/6.071, allocations: 2.881 MB / 2.305 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009436/6.072, allocations: 405.9 kB / 2.306 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=66): time 3.166e-06/6.072, allocations: 0 / 2.306 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66): time 0.003505/6.075, allocations: 0.8551 MB / 2.306 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/6.075, allocations: 113.7 kB / 2.307 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/6.078, allocations: 1.182 MB / 2.308 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002714/6.078, allocations: 29.02 kB / 2.308 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005957/6.079, allocations: 0.5998 MB / 2.308 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/6.079, allocations: 231.5 kB / 2.309 GB, free: 118 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.442e-05/6.08, allocations: 6.078 kB / 2.309 GB, free: 118 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001056/6.08, allocations: 344.8 kB / 2.309 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000904/6.081, allocations: 333 kB / 2.309 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/6.082, allocations: 0.7814 MB / 2.31 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/6.084, allocations: 0.5068 MB / 2.31 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/6.084, allocations: 4.312 kB / 2.31 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004592/6.089, allocations: 1.241 MB / 2.312 GB, free: 117 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001226/6.09, allocations: 4.956 MB / 2.317 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.301e-05/6.09, allocations: 19.05 kB / 2.317 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.911e-05/6.09, allocations: 22.47 kB / 2.317 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/6.093, allocations: 299.1 kB / 2.317 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-05/6.093, allocations: 23.31 kB / 2.317 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003156/6.096, allocations: 198.3 kB / 2.317 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003559/6.096, allocations: 64.25 kB / 2.317 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/6.096, allocations: 7.438 kB / 2.317 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003945/6.1, allocations: 1.008 MB / 2.318 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-05/6.101, allocations: 13.53 kB / 2.318 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/6.101, allocations: 22.59 kB / 2.318 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/6.103, allocations: 301.8 kB / 2.318 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.451e-05/6.103, allocations: 26.69 kB / 2.318 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004187/6.107, allocations: 172.4 kB / 2.319 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005619/6.108, allocations: 62.98 kB / 2.319 GB, free: 111.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 127 * 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.0007699/6.109, allocations: 149.5 kB / 2.319 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007952/6.11, allocations: 168.7 kB / 2.319 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007465/6.117, allocations: 1.17 MB / 2.32 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/6.117, allocations: 12.03 kB / 2.32 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/6.117, allocations: 0 / 2.32 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002908/6.12, allocations: 0.9923 MB / 2.321 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007183/6.127, allocations: 2.275 MB / 2.323 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/6.127, allocations: 3.906 kB / 2.323 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/6.129, allocations: 185.8 kB / 2.324 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/6.13, allocations: 3.812 kB / 2.324 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/6.13, allocations: 22.42 kB / 2.324 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/6.13, allocations: 0 / 2.324 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/6.13, allocations: 5.062 kB / 2.324 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004497/6.134, allocations: 1.536 MB / 2.325 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/6.136, allocations: 350.2 kB / 2.325 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006653/6.136, allocations: 3.75 kB / 2.325 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002721/6.139, allocations: 122.3 kB / 2.326 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/6.139, allocations: 45.5 kB / 2.326 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/6.14, allocations: 39.48 kB / 2.326 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.002367/6.142, allocations: 0.8819 MB / 2.326 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006301/6.148, allocations: 1.04 MB / 2.327 GB, free: 109.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.002988/6.151, allocations: 1.181 MB / 2.329 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004106/6.156, allocations: 1.566 MB / 2.33 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/6.156, allocations: 0 / 2.33 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/6.157, allocations: 410.5 kB / 2.331 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005967/6.163, allocations: 0.6838 MB / 2.331 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/6.176, allocations: 2.77 MB / 2.334 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002253/6.178, allocations: 1.584 MB / 2.335 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.473e-06/6.178, allocations: 0.5625 kB / 2.335 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.1073/6.285, allocations: 41.01 MB / 2.376 GB, free: 107 MB / 0.8855 GB