Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [: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.187/2.187, allocations: 253.1 MB / 260.4 MB, free: 7.5 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.001599/0.001598, allocations: 185.2 kB / 319.6 MB, free: 3.305 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.387/2.387, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.00135/0.00135, allocations: 95.38 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.089e-05/1.105e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2296, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6374/0.8671, allocations: 136.8 MB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.8675, allocations: 82.14 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.04106/0.9085, allocations: 9.531 MB / 1.031 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.228e-05/0.9086, allocations: 4 kB / 1.031 GB, free: 9.41 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009085/0.9095, allocations: 0.5672 MB / 1.032 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.9096, allocations: 8.031 kB / 1.032 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.9097, allocations: 43.44 kB / 1.032 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006986/0.9104, allocations: 333.9 kB / 1.032 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.9105, allocations: 4 kB / 1.032 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.9105, allocations: 4 kB / 1.032 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001422/0.9106, allocations: 36.36 kB / 1.032 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.9108, allocations: 79.3 kB / 1.032 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.9109, allocations: 0 / 1.032 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.9109, allocations: 1.031 kB / 1.032 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.9109, allocations: 0 / 1.032 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/0.9117, allocations: 446.9 kB / 1.033 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.9119, allocations: 60.81 kB / 1.033 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.018e-05/0.912, allocations: 24.3 kB / 1.033 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.9121, allocations: 3.984 kB / 1.033 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.9123, allocations: 73.95 kB / 1.033 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.9123, allocations: 4 kB / 1.033 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0003183/0.9126, allocations: 106.8 kB / 1.033 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.9127, allocations: 59.39 kB / 1.033 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008092/0.9135, allocations: 446.5 kB / 1.033 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.9135, allocations: 32.77 kB / 1.033 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.9136, allocations: 132.1 kB / 1.033 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.9137, allocations: 23.36 kB / 1.033 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.9137, allocations: 0 / 1.033 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.9139, allocations: 356.8 kB / 1.034 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.914, allocations: 50.73 kB / 1.034 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.9142, allocations: 84.39 kB / 1.034 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.9144, allocations: 50.11 kB / 1.034 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9144, allocations: 4 kB / 1.034 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004605/0.9149, allocations: 197.2 kB / 1.034 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.9149, allocations: 4 kB / 1.034 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.9149, allocations: 8.062 kB / 1.034 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.915, allocations: 0 / 1.034 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.9152, allocations: 23.55 kB / 1.034 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.9152, allocations: 4 kB / 1.034 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.9154, allocations: 15.92 kB / 1.034 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.9155, allocations: 4 kB / 1.034 GB, free: 6.367 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: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001098/0.9156, allocations: 118.1 kB / 1.034 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.9157, allocations: 42.97 kB / 1.034 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003446/0.9161, allocations: 124.4 kB / 1.035 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.9161, allocations: 4 kB / 1.035 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9161, allocations: 0 / 1.035 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.9161, allocations: 0 / 1.035 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.9165, allocations: 269.7 kB / 1.035 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9165, allocations: 0 / 1.035 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.9165, allocations: 4 kB / 1.035 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.9165, allocations: 4 kB / 1.035 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.9166, allocations: 12 kB / 1.035 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.9166, allocations: 4.016 kB / 1.035 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.9166, allocations: 3.984 kB / 1.035 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002636/0.9169, allocations: 145.5 kB / 1.035 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.917, allocations: 112.5 kB / 1.035 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.9171, allocations: 3.438 kB / 1.035 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.9173, allocations: 11.98 kB / 1.035 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.9174, allocations: 11.98 kB / 1.035 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.9174, allocations: 0 / 1.035 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000567/0.918, allocations: 340.2 kB / 1.035 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004362/0.9184, allocations: 43.94 kB / 1.035 GB, free: 5.207 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: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0009948/0.9194, allocations: 349.4 kB / 1.036 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003104/0.9198, allocations: 94.34 kB / 1.036 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9198, allocations: 0 / 1.036 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.599e-05/0.9199, allocations: 26.44 kB / 1.036 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.9205, allocations: 60.45 kB / 1.036 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.9218, allocations: 446.5 kB / 1.036 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006521/0.9225, allocations: 0.8426 MB / 1.037 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of SimCode: time 1.432e-06/0.9225, allocations: 0 / 1.037 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of Templates: time 0.01081/0.9333, allocations: 2.513 MB / 1.04 GB, free: 1.07 MB / 0.6511 GB