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.Modulo.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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") [: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.322/2.322, allocations: 253.1 MB / 260.4 MB, free: 7.551 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.002533/0.002533, allocations: 185.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.131/2.131, 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.001397/0.001396, allocations: 97.02 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.679e-05/1.683e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2802, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7829/1.063, allocations: 131.4 MB / 1.016 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/1.064, allocations: 66.53 kB / 1.016 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.006412/1.07, allocations: 1.12 MB / 1.018 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.878e-06/1.07, allocations: 0 / 1.018 GB, free: 5.938 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.0006943/1.071, allocations: 365.4 kB / 1.018 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/1.071, allocations: 8.031 kB / 1.018 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/1.071, allocations: 11.41 kB / 1.018 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/1.071, allocations: 167 kB / 1.018 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/1.071, allocations: 3.984 kB / 1.018 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/1.071, allocations: 8 kB / 1.018 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001255/1.071, allocations: 15.06 kB / 1.018 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/1.071, allocations: 45.42 kB / 1.018 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/1.071, allocations: 0 / 1.018 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/1.071, allocations: 3.984 kB / 1.018 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/1.071, allocations: 4 kB / 1.018 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/1.072, allocations: 287.1 kB / 1.018 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/1.072, allocations: 32.39 kB / 1.018 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.976e-05/1.072, allocations: 16.22 kB / 1.018 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/1.073, allocations: 0 / 1.018 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/1.073, allocations: 35.19 kB / 1.019 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/1.073, allocations: 0 / 1.019 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002369/1.073, allocations: 48.84 kB / 1.019 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/1.073, allocations: 55.41 kB / 1.019 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/1.073, allocations: 103.7 kB / 1.019 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/1.073, allocations: 29.58 kB / 1.019 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/1.073, allocations: 84.12 kB / 1.019 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/1.073, allocations: 11.84 kB / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/1.073, allocations: 0 / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.073, allocations: 314 kB / 1.019 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.005e-05/1.073, allocations: 7.312 kB / 1.019 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/1.073, allocations: 7.875 kB / 1.019 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.999e-05/1.073, allocations: 16.14 kB / 1.019 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/1.073, allocations: 4 kB / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001354/1.074, allocations: 45.48 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.074, allocations: 6.5 kB / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.074, allocations: 0.5469 kB / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/1.074, allocations: 4 kB / 1.019 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/1.074, allocations: 27.97 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/1.074, allocations: 0 / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/1.074, allocations: 20.77 kB / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/1.074, allocations: 7.625 kB / 1.019 GB, free: 4.059 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 9.121e-05/1.074, allocations: 112.9 kB / 1.019 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/1.074, allocations: 0 / 1.019 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/1.074, allocations: 7.906 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.074, allocations: 4 kB / 1.019 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.074, allocations: 3.984 kB / 1.019 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.074, allocations: 0 / 1.019 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/1.075, allocations: 157.1 kB / 1.02 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.075, allocations: 0 / 1.02 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/1.075, allocations: 23.98 kB / 1.02 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.075, allocations: 0 / 1.02 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/1.075, allocations: 0 / 1.02 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.075, allocations: 3.906 kB / 1.02 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/1.075, allocations: 0 / 1.02 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002015/1.075, allocations: 149 kB / 1.02 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/1.075, allocations: 84.7 kB / 1.02 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/1.075, allocations: 7.984 kB / 1.02 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/1.076, allocations: 15.98 kB / 1.02 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/1.076, allocations: 7.938 kB / 1.02 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/1.076, allocations: 4 kB / 1.02 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.052e-05/1.076, allocations: 90.19 kB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003054/1.076, allocations: 7.906 kB / 1.02 GB, free: 3.332 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.0002103/1.076, allocations: 99.25 kB / 1.02 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001374/1.076, allocations: 19.19 kB / 1.02 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.076, allocations: 0 / 1.02 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.682e-05/1.076, allocations: 15.88 kB / 1.02 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/1.077, allocations: 7.984 kB / 1.02 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/1.077, allocations: 83.36 kB / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/1.078, allocations: 0.6954 MB / 1.021 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of SimCode: time 6.31e-07/1.078, allocations: 0 / 1.021 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of Templates: time 0.003585/1.081, allocations: 0.6332 MB / 1.021 GB, free: 1.758 MB / 0.6355 GB