Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [: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.429/2.429, allocations: 253.1 MB / 260.4 MB, free: 7.547 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.001667/0.001667, allocations: 193.2 kB / 319.6 MB, free: 3.332 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.066/2.066, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.002247/0.002246, allocations: 86.56 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.097e-05/1.109e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2662, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7315/0.9978, allocations: 131.5 MB / 1.016 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.9982, allocations: 70.2 kB / 1.016 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002971/1.001, allocations: 361 kB / 1.017 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.448e-06/1.001, allocations: 0 / 1.017 GB, free: 6.578 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005923/1.002, allocations: 338.4 kB / 1.017 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/1.002, allocations: 12.03 kB / 1.017 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/1.002, allocations: 0 / 1.017 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/1.002, allocations: 171 kB / 1.017 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/1.002, allocations: 3.938 kB / 1.017 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/1.002, allocations: 3.938 kB / 1.017 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.003e-05/1.002, allocations: 7.438 kB / 1.017 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/1.003, allocations: 40.81 kB / 1.017 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.003, allocations: 0 / 1.017 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/1.003, allocations: 0 / 1.017 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/1.003, allocations: 0 / 1.017 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/1.003, allocations: 240.2 kB / 1.018 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.655e-05/1.003, allocations: 29.27 kB / 1.018 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/1.003, allocations: 12.86 kB / 1.018 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/1.003, allocations: 4.031 kB / 1.018 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/1.004, allocations: 46.48 kB / 1.018 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.325e-06/1.004, allocations: 2.516 kB / 1.018 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001995/1.004, allocations: 47.59 kB / 1.018 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/1.004, allocations: 51.41 kB / 1.018 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/1.004, allocations: 100 kB / 1.018 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/1.004, allocations: 25.7 kB / 1.018 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/1.004, allocations: 91.48 kB / 1.018 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/1.004, allocations: 7.906 kB / 1.018 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/1.004, allocations: 0 / 1.018 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.004, allocations: 317.8 kB / 1.018 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/1.004, allocations: 7.938 kB / 1.018 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.519e-05/1.005, allocations: 17.66 kB / 1.018 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.579e-05/1.005, allocations: 3.984 kB / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.005, allocations: 4 kB / 1.018 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001599/1.005, allocations: 49.36 kB / 1.018 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.005, allocations: 6.188 kB / 1.018 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.005, allocations: 0 / 1.018 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.005, allocations: 192 / 1.018 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/1.005, allocations: 11.92 kB / 1.018 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.005, allocations: 0 / 1.018 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/1.005, allocations: 8 kB / 1.018 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/1.005, allocations: 7.969 kB / 1.018 GB, free: 4.789 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assert.u,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001151/1.005, allocations: 108.6 kB / 1.019 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/1.005, allocations: 11.84 kB / 1.019 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/1.005, allocations: 7.672 kB / 1.019 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.005, allocations: 0 / 1.019 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.005, allocations: 0 / 1.019 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.005, allocations: 7.938 kB / 1.019 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/1.006, allocations: 133.3 kB / 1.019 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.006, allocations: 3.906 kB / 1.019 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.045e-05/1.006, allocations: 0 / 1.019 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/1.006, allocations: 0 / 1.019 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/1.006, allocations: 7.984 kB / 1.019 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.006, allocations: 0 / 1.019 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.006, allocations: 0 / 1.019 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001675/1.006, allocations: 76.41 kB / 1.019 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/1.006, allocations: 81.11 kB / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/1.006, allocations: 0 / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/1.006, allocations: 11.98 kB / 1.019 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/1.006, allocations: 4 kB / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/1.006, allocations: 2.938 kB / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.083e-05/1.006, allocations: 82.84 kB / 1.019 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004249/1.007, allocations: 11.91 kB / 1.019 GB, free: 4.188 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: 3 ($whenCondition1,assert.u,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001733/1.007, allocations: 95.23 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000132/1.007, allocations: 14.62 kB / 1.019 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.007, allocations: 4.062 kB / 1.019 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.325e-05/1.007, allocations: 15.19 kB / 1.019 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/1.008, allocations: 4 kB / 1.019 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/1.008, allocations: 70.83 kB / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/1.008, allocations: 0.6915 MB / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/1.008, allocations: 0 / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.004064/1.012, allocations: 495.5 kB / 1.02 GB, free: 2.777 MB / 0.6355 GB