Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [: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.339/2.339, allocations: 253.1 MB / 260.4 MB, free: 7.516 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.001556/0.001556, allocations: 181.3 kB / 319.6 MB, free: 3.328 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 2.139/2.139, 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.00167/0.00167, allocations: 95.33 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.005e-05/1.048e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2377, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7385/0.9763, allocations: 135 MB / 1.02 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.9767, allocations: 82.75 kB / 1.02 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02491/1.002, allocations: 5.916 MB / 1.026 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.708e-05/1.002, allocations: 8 kB / 1.026 GB, free: 14.34 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009503/1.003, allocations: 0.5556 MB / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.003, allocations: 12.03 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.625e-05/1.003, allocations: 43.44 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/1.003, allocations: 248.4 kB / 1.027 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/1.003, allocations: 8 kB / 1.027 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/1.003, allocations: 8 kB / 1.027 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003137/1.004, allocations: 82.61 kB / 1.027 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/1.004, allocations: 116.1 kB / 1.027 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/1.004, allocations: 0 / 1.027 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/1.004, allocations: 3.984 kB / 1.027 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/1.004, allocations: 4 kB / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/1.005, allocations: 0.5494 MB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/1.006, allocations: 86.81 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/1.006, allocations: 47.95 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/1.006, allocations: 0 / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/1.006, allocations: 30.56 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/1.006, allocations: 4 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003597/1.006, allocations: 115.3 kB / 1.028 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/1.006, allocations: 57.84 kB / 1.028 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/1.007, allocations: 314.6 kB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/1.007, allocations: 25.7 kB / 1.028 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/1.007, allocations: 152.8 kB / 1.028 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/1.007, allocations: 26 kB / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-06/1.007, allocations: 0 / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002282/1.007, allocations: 349.1 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.19e-05/1.007, allocations: 27.06 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/1.007, allocations: 35.92 kB / 1.029 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.89e-05/1.008, allocations: 27.44 kB / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.008, allocations: 0 / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002943/1.008, allocations: 123.9 kB / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.008, allocations: 6.5 kB / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.008, allocations: 3.984 kB / 1.029 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.008, allocations: 4 kB / 1.029 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/1.008, allocations: 35.94 kB / 1.029 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.008, allocations: 4 kB / 1.029 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/1.009, allocations: 19.83 kB / 1.029 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/1.009, allocations: 7.938 kB / 1.029 GB, free: 11.43 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.25e-05/1.009, allocations: 105 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.15e-05/1.009, allocations: 35.53 kB / 1.029 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/1.009, allocations: 34.33 kB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.009, allocations: 0 / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/1.009, allocations: 6.625 kB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.009, allocations: 0 / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/1.009, allocations: 270.9 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.009, allocations: 0 / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/1.01, allocations: 31.92 kB / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.01, allocations: 0 / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/1.01, allocations: 0 / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/1.01, allocations: 4 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.01, allocations: 0 / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004351/1.01, allocations: 253.2 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.89e-05/1.01, allocations: 104.6 kB / 1.03 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/1.01, allocations: 4.062 kB / 1.03 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/1.011, allocations: 11.98 kB / 1.03 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/1.011, allocations: 3.984 kB / 1.03 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/1.011, allocations: 8 kB / 1.03 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003784/1.011, allocations: 250.8 kB / 1.03 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004007/1.012, allocations: 43.84 kB / 1.03 GB, free: 10.35 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0002458/1.012, allocations: 135.7 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002269/1.012, allocations: 59.59 kB / 1.03 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.012, allocations: 0 / 1.03 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.594e-05/1.012, allocations: 33.56 kB / 1.03 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/1.013, allocations: 27.66 kB / 1.03 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/1.014, allocations: 444.3 kB / 1.031 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005953/1.015, allocations: 0.8139 MB / 1.031 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of SimCode: time 1.493e-06/1.015, allocations: 0 / 1.031 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of Templates: time 0.008088/1.023, allocations: 1.439 MB / 1.033 GB, free: 7.453 MB / 0.6511 GB