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.Reheat.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.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [: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.129/2.129, allocations: 253.1 MB / 260.4 MB, free: 7.57 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.001652/0.001652, allocations: 188.9 kB / 319.6 MB, free: 3.297 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.969/1.969, allocations: 205.4 MB / 0.5704 GB, free: 15.03 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.002086/0.002086, allocations: 94.02 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.658e-06/9.838e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2115, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6438/0.8553, allocations: 134.7 MB / 1.02 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004055/0.8558, allocations: 93.05 kB / 1.02 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02936/0.8851, allocations: 4.339 MB / 1.024 GB, free: 52 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 4e-05/0.8852, allocations: 11.98 kB / 1.024 GB, free: 40 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.006552/0.8918, allocations: 0.5119 MB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.8919, allocations: 8.031 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.8921, allocations: 31.62 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/0.8927, allocations: 260.8 kB / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/0.8927, allocations: 11.56 kB / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-05/0.8928, allocations: 20 kB / 1.025 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003747/0.8966, allocations: 200.7 kB / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009473/0.8976, allocations: 257.8 kB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.8976, allocations: 4 kB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.8977, allocations: 3.938 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.8977, allocations: 8 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002822/0.9006, allocations: 0.8942 MB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008648/0.9014, allocations: 219.1 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.9018, allocations: 101.4 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.9019, allocations: 8.219 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004117/0.9023, allocations: 141.1 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 3.937e-06/0.9023, allocations: 0 / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0007675/0.9031, allocations: 187.4 kB / 1.027 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.9032, allocations: 55.41 kB / 1.027 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.9035, allocations: 174.5 kB / 1.027 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.764e-05/0.9036, allocations: 33.33 kB / 1.027 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.9037, allocations: 139.1 kB / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.9039, allocations: 72.48 kB / 1.027 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.9039, allocations: 0 / 1.027 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.9041, allocations: 341.5 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.9045, allocations: 77.39 kB / 1.028 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.905, allocations: 129.2 kB / 1.028 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.9053, allocations: 78.09 kB / 1.028 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.9054, allocations: 0 / 1.028 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0103/0.9157, allocations: 254.7 kB / 1.028 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.9158, allocations: 4 kB / 1.028 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.9158, allocations: 0 / 1.028 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.9158, allocations: 4 kB / 1.028 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.9164, allocations: 43.56 kB / 1.028 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.9164, allocations: 8 kB / 1.028 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.917, allocations: 43.81 kB / 1.028 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.9171, allocations: 15.19 kB / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002111/0.9173, allocations: 127.3 kB / 1.028 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.9174, allocations: 27.7 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/0.9214, allocations: 221.4 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.9215, allocations: 8 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.9215, allocations: 0 / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-06/0.9215, allocations: 0 / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.9236, allocations: 0.63 MB / 1.029 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.9236, allocations: 0 / 1.029 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.924, allocations: 39.27 kB / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.924, allocations: 0 / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.9241, allocations: 11.92 kB / 1.029 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.9241, allocations: 0 / 1.029 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9241, allocations: 0 / 1.029 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000869/0.925, allocations: 294.3 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.9251, allocations: 100.8 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.14e-05/0.9252, allocations: 3.75 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005839/0.9311, allocations: 39.95 kB / 1.03 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.9314, allocations: 34.83 kB / 1.03 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.9314, allocations: 7.984 kB / 1.03 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002085/0.9317, allocations: 126.1 kB / 1.03 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000831/0.9325, allocations: 40 kB / 1.03 GB, free: 10.77 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003112/0.9328, allocations: 128.7 kB / 1.03 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00381/0.9367, allocations: 201.8 kB / 1.03 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9367, allocations: 4 kB / 1.03 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004648/0.9372, allocations: 108.5 kB / 1.03 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.9378, allocations: 22.95 kB / 1.03 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.9394, allocations: 309.5 kB / 1.03 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008074/0.9402, allocations: 0.7985 MB / 1.031 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/0.9403, allocations: 0 / 1.031 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of Templates: time 0.01714/0.9574, allocations: 2.903 MB / 1.034 GB, free: 6.441 MB / 0.6511 GB