Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") [: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.461/2.461, allocations: 253.1 MB / 260.4 MB, free: 7.512 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.001596/0.001596, allocations: 189.2 kB / 319.6 MB, free: 3.312 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.073/2.073, 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.001363/0.001362, allocations: 94.45 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.399e-05/1.425e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2447, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7832/1.028, allocations: 131.4 MB / 1.016 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005362/1.029, allocations: 70.7 kB / 1.016 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005469/1.034, allocations: 0.5431 MB / 1.017 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.292e-05/1.034, allocations: 4.656 kB / 1.017 GB, free: 6.383 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000988/1.035, allocations: 365.5 kB / 1.017 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/1.035, allocations: 8.031 kB / 1.017 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/1.035, allocations: 11.84 kB / 1.017 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/1.036, allocations: 167 kB / 1.018 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/1.036, allocations: 4 kB / 1.018 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/1.036, allocations: 0 / 1.018 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001293/1.036, allocations: 19.44 kB / 1.018 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/1.036, allocations: 52.59 kB / 1.018 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.036, allocations: 4 kB / 1.018 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/1.036, allocations: 0 / 1.018 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.036, allocations: 0 / 1.018 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007931/1.037, allocations: 287.6 kB / 1.018 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/1.037, allocations: 29.45 kB / 1.018 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.659e-05/1.037, allocations: 18.36 kB / 1.018 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/1.037, allocations: 4 kB / 1.018 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/1.037, allocations: 30.56 kB / 1.018 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/1.037, allocations: 2.625 kB / 1.018 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002248/1.037, allocations: 48.03 kB / 1.018 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/1.037, allocations: 51.41 kB / 1.018 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.326e-05/1.037, allocations: 100.2 kB / 1.018 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/1.037, allocations: 25.7 kB / 1.018 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/1.038, allocations: 95.5 kB / 1.018 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/1.038, allocations: 3.906 kB / 1.018 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/1.038, allocations: 0 / 1.018 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001893/1.038, allocations: 313.7 kB / 1.019 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/1.038, allocations: 15.38 kB / 1.019 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.902e-05/1.038, allocations: 11.86 kB / 1.019 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.697e-05/1.038, allocations: 7.812 kB / 1.019 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.038, allocations: 0 / 1.019 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000134/1.038, allocations: 48.05 kB / 1.019 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.038, allocations: 15.98 kB / 1.019 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.038, allocations: 0 / 1.019 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.038, allocations: 0 / 1.019 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/1.038, allocations: 19.98 kB / 1.019 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/1.038, allocations: 0 / 1.019 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/1.039, allocations: 23.89 kB / 1.019 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/1.039, allocations: 4 kB / 1.019 GB, free: 4.512 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.664e-05/1.039, allocations: 101 kB / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/1.039, allocations: 0 / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/1.039, allocations: 71.83 kB / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.039, allocations: 3.938 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.039, allocations: 0 / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.039, allocations: 240 / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/1.039, allocations: 145.9 kB / 1.019 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.039, allocations: 0 / 1.019 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/1.04, allocations: 27.97 kB / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/1.04, allocations: 3.984 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/1.04, allocations: 0 / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/1.04, allocations: 11.84 kB / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.04, allocations: 0 / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001817/1.04, allocations: 149.8 kB / 1.019 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/1.04, allocations: 81.11 kB / 1.019 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/1.04, allocations: 4 kB / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/1.04, allocations: 15.98 kB / 1.019 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/1.04, allocations: 7.984 kB / 1.019 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/1.04, allocations: 2.75 kB / 1.019 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.016e-05/1.04, allocations: 89.45 kB / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003277/1.041, allocations: 15.84 kB / 1.019 GB, free: 3.734 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001791/1.041, allocations: 95.25 kB / 1.019 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001441/1.041, allocations: 25.55 kB / 1.02 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.041, allocations: 0 / 1.02 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.466e-05/1.041, allocations: 15.12 kB / 1.02 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/1.041, allocations: 4 kB / 1.02 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/1.042, allocations: 87.42 kB / 1.02 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/1.042, allocations: 0.6915 MB / 1.02 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of SimCode: time 7.82e-07/1.042, allocations: 4 kB / 1.02 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of Templates: time 0.003597/1.046, allocations: 0.6073 MB / 1.021 GB, free: 2.191 MB / 0.6355 GB