Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") [: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 1.98/1.98, allocations: 253.1 MB / 260.4 MB, free: 8.625 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001661/0.00166, allocations: 189.5 kB / 319.6 MB, free: 8.113 MB / 254.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 0.5704 GB, free: 4.242 MB / 414.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 98.2 kB / 0.6746 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 1.11e-05/1.113e-05, allocations: 4 kB / 0.7843 GB, free: 106.9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1951, allocations: 106.2 MB / 0.8881 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6971/0.8923, allocations: 135.5 MB / 1.02 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003869/0.8928, allocations: 84.06 kB / 1.02 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of FrontEnd: time 0.02122/0.914, allocations: 5.168 MB / 1.025 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.996e-05/0.9141, allocations: 8 kB / 1.025 GB, free: 5.645 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001162/0.9153, allocations: 0.5491 MB / 1.026 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.9153, allocations: 16.03 kB / 1.026 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.9154, allocations: 35.53 kB / 1.026 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005796/0.916, allocations: 305.8 kB / 1.026 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.9161, allocations: 8 kB / 1.026 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.701e-05/0.9162, allocations: 15.98 kB / 1.026 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005575/0.9167, allocations: 167.5 kB / 1.027 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/0.9173, allocations: 239 kB / 1.027 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.9174, allocations: 4 kB / 1.027 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.9174, allocations: 0 / 1.027 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.9174, allocations: 4 kB / 1.027 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.9195, allocations: 1.058 MB / 1.028 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.9202, allocations: 207.9 kB / 1.028 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.9205, allocations: 86.05 kB / 1.028 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.9206, allocations: 7.875 kB / 1.028 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.9206, allocations: 46.39 kB / 1.028 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=19): time 1.814e-06/0.9206, allocations: 0 / 1.028 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.0006071/0.9212, allocations: 178 kB / 1.028 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.9213, allocations: 85.02 kB / 1.028 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.9217, allocations: 214.1 kB / 1.029 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.9217, allocations: 25.7 kB / 1.029 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.9218, allocations: 146.3 kB / 1.029 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.285e-05/0.9219, allocations: 62.08 kB / 1.029 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.9219, allocations: 0 / 1.029 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.9221, allocations: 343.8 kB / 1.029 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.9223, allocations: 53.38 kB / 1.029 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.9225, allocations: 92.48 kB / 1.029 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.9227, allocations: 70.86 kB / 1.029 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9227, allocations: 0 / 1.029 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000515/0.9233, allocations: 197.1 kB / 1.03 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.391e-05/0.9234, allocations: 185.3 kB / 1.03 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.9234, allocations: 0 / 1.03 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.9234, allocations: 4 kB / 1.03 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/0.924, allocations: 59.28 kB / 1.03 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.924, allocations: 0 / 1.03 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.9243, allocations: 35.88 kB / 1.03 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.9244, allocations: 4 kB / 1.03 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/0.9244, allocations: 4 kB / 1.03 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004078/0.9248, allocations: 138.6 kB / 1.03 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.9248, allocations: 0 / 1.03 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.9248, allocations: 0 / 1.03 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.9252, allocations: 51.56 kB / 1.03 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.9253, allocations: 4 kB / 1.03 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.9256, allocations: 27.83 kB / 1.03 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.9256, allocations: 8 kB / 1.03 GB, free: 1.535 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (conRadSup.conPIDRad.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001164/0.9257, allocations: 108.9 kB / 1.03 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/0.9258, allocations: 31.61 kB / 1.03 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.9264, allocations: 203.2 kB / 1.03 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.9264, allocations: 0 / 1.03 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.9264, allocations: 0 / 1.03 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.9264, allocations: 0 / 1.03 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.9275, allocations: 0.5854 MB / 1.031 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.9275, allocations: 4.031 kB / 1.031 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.928, allocations: 55.84 kB / 1.031 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.928, allocations: 0 / 1.031 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.928, allocations: 4 kB / 1.031 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.9281, allocations: 0 / 1.031 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.9281, allocations: 4 kB / 1.031 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007704/0.9288, allocations: 391.6 kB / 1.031 GB, free: 376 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.003e-05/0.929, allocations: 108.5 kB / 1.031 GB, free: 252 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.929, allocations: 0 / 1.031 GB, free: 252 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.9294, allocations: 28.05 kB / 1.032 GB, free: 224 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.9295, allocations: 18.09 kB / 1.032 GB, free: 208 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.9295, allocations: 7 kB / 1.032 GB, free: 204 kB / 0.6387 GB Notification: Performance of sort global known variables: time 0.000241/0.9298, allocations: 172.9 kB / 1.032 GB, free: 64 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006539/0.9304, allocations: 91.64 kB / 1.032 GB, free: 15.97 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0001628/0.9306, allocations: 99.19 kB / 1.032 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006571/0.9313, allocations: 238 kB / 1.032 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.9313, allocations: 3.188 kB / 1.032 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.9315, allocations: 79.19 kB / 1.032 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.9321, allocations: 46.75 kB / 1.032 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.9333, allocations: 343.3 kB / 1.033 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005719/0.9339, allocations: 0.7992 MB / 1.033 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of SimCode: time 3.015e-06/0.9339, allocations: 0 / 1.033 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of Templates: time 0.01182/0.9457, allocations: 3.457 MB / 1.037 GB, free: 11.06 MB / 0.6544 GB