Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [: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.121/2.121, allocations: 253.1 MB / 260.4 MB, free: 7.555 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.001676/0.001676, allocations: 189.2 kB / 319.6 MB, free: 3.316 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.919/1.919, allocations: 205.4 MB / 0.5704 GB, free: 15.13 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.001298/0.001298, allocations: 86.53 kB / 0.6746 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.255e-06/8.406e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2526, allocations: 106.3 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.68/0.9327, allocations: 142.4 MB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003978/0.9331, allocations: 89.88 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.0605/0.9937, allocations: 10.21 MB / 1.037 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.633e-05/0.9938, allocations: 11.94 kB / 1.037 GB, free: 3.75 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002395/0.9962, allocations: 0.6994 MB / 1.038 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.162e-05/0.9963, allocations: 12.97 kB / 1.038 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004158/0.9968, allocations: 54.53 kB / 1.038 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.9986, allocations: 431.5 kB / 1.038 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.134e-05/0.9988, allocations: 12 kB / 1.038 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.9989, allocations: 12 kB / 1.038 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009657/0.9999, allocations: 183.8 kB / 1.039 GB, free: 2.438 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/1.001, allocations: 293.5 kB / 1.039 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/1.001, allocations: 0 / 1.039 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.578e-05/1.001, allocations: 4 kB / 1.039 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/1.001, allocations: 4 kB / 1.039 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/1.005, allocations: 1.109 MB / 1.04 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/1.006, allocations: 221.9 kB / 1.04 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/1.006, allocations: 94.14 kB / 1.04 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.992e-05/1.007, allocations: 12.08 kB / 1.04 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003712/1.007, allocations: 134.6 kB / 1.04 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 3.006e-06/1.007, allocations: 0 / 1.04 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0008932/1.008, allocations: 236 kB / 1.041 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.008, allocations: 158.2 kB / 1.041 GB, free: 0.5273 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000868/1.009, allocations: 369 kB / 1.041 GB, free: 248 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.735e-05/1.009, allocations: 29.7 kB / 1.041 GB, free: 212 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/1.009, allocations: 177.5 kB / 1.041 GB, free: 52 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/1.009, allocations: 63 kB / 1.041 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/1.009, allocations: 0 / 1.041 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002135/1.01, allocations: 357.8 kB / 1.042 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/1.01, allocations: 72.81 kB / 1.042 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/1.01, allocations: 156.5 kB / 1.042 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/1.011, allocations: 81.78 kB / 1.042 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.011, allocations: 0 / 1.042 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008889/1.012, allocations: 263.6 kB / 1.042 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/1.012, allocations: 4 kB / 1.042 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.012, allocations: 0 / 1.042 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/1.012, allocations: 4 kB / 1.042 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/1.012, allocations: 55.91 kB / 1.042 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/1.012, allocations: 0 / 1.042 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/1.013, allocations: 39.94 kB / 1.042 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/1.013, allocations: 7.312 kB / 1.042 GB, free: 15.11 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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 0.00019/1.013, allocations: 120.7 kB / 1.042 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/1.013, allocations: 43.53 kB / 1.042 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009101/1.014, allocations: 257.2 kB / 1.043 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.014, allocations: 4 kB / 1.043 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.014, allocations: 0 / 1.043 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/1.014, allocations: 0 / 1.043 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008305/1.015, allocations: 402.3 kB / 1.043 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.015, allocations: 0 / 1.043 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/1.016, allocations: 47.97 kB / 1.043 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/1.016, allocations: 0 / 1.043 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/1.016, allocations: 4 kB / 1.043 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/1.016, allocations: 0 / 1.043 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.016, allocations: 0 / 1.043 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001211/1.017, allocations: 394.9 kB / 1.044 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/1.018, allocations: 154.3 kB / 1.044 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/1.018, allocations: 15.91 kB / 1.044 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/1.018, allocations: 23.97 kB / 1.044 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/1.018, allocations: 19.03 kB / 1.044 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/1.018, allocations: 11.31 kB / 1.044 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0005907/1.019, allocations: 291.1 kB / 1.044 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007395/1.02, allocations: 91.64 kB / 1.044 GB, free: 13.57 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001128/1.021, allocations: 328.2 kB / 1.044 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008444/1.022, allocations: 201.8 kB / 1.045 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/1.022, allocations: 0 / 1.045 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003268/1.022, allocations: 113 kB / 1.045 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/1.023, allocations: 97.17 kB / 1.045 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/1.025, allocations: 493 kB / 1.045 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009015/1.026, allocations: 0.8758 MB / 1.046 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of SimCode: time 1.643e-06/1.027, allocations: 0 / 1.046 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of Templates: time 0.01897/1.045, allocations: 4.986 MB / 1.051 GB, free: 6.816 MB / 0.6667 GB