Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.071/2.071, allocations: 284.9 MB / 292.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 177.2 kB / 360.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.2 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001237/0.001236, allocations: 89.95 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.964e-06/7.053e-06, allocations: 0 / 0.8503 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5785/0.5786, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.7766, allocations: 137.1 MB / 1.097 GB, free: 3.629 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.7769, allocations: 74.03 kB / 1.097 GB, free: 3.559 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.008233/0.7851, allocations: 1.46 MB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.7852, allocations: 0 / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003981/0.7856, allocations: 362 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.7856, allocations: 12.02 kB / 1.099 GB, free: 1.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.7857, allocations: 9.469 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.7859, allocations: 165 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.7859, allocations: 1.266 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.7859, allocations: 8 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.52e-05/0.786, allocations: 4.5 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.488e-05/0.7861, allocations: 39.06 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.7861, allocations: 0.7031 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.7861, allocations: 0 / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7861, allocations: 0.5625 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.7866, allocations: 270.8 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.575e-05/0.7866, allocations: 23.17 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.7866, allocations: 9.359 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.7867, allocations: 1.109 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.888e-05/0.7868, allocations: 58.92 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.7868, allocations: 0.9062 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001809/0.787, allocations: 54.56 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.787, allocations: 52.28 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/0.7871, allocations: 98.59 kB / 1.099 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.7872, allocations: 37.64 kB / 1.099 GB, free: 0.793 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.7872, allocations: 88.12 kB / 1.099 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.7873, allocations: 3.906 kB / 1.099 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.7873, allocations: 0 / 1.099 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7874, allocations: 321.1 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.994e-05/0.7875, allocations: 20 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.7876, allocations: 46.56 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.7879, allocations: 39.95 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.788, allocations: 4 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004484/0.7884, allocations: 105.6 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.7885, allocations: 8 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.7885, allocations: 3.906 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.7885, allocations: 0 / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.946e-05/0.7885, allocations: 8.797 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.7885, allocations: 3.359 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.7889, allocations: 39.97 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.7889, allocations: 4 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001119/0.789, allocations: 117.7 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.7891, allocations: 5.656 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.7891, allocations: 8 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7891, allocations: 0 / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7891, allocations: 4 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.7892, allocations: 0.5625 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.7893, allocations: 138.2 kB / 1.1 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7893, allocations: 0 / 1.1 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.297e-05/0.7893, allocations: 7.891 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.7893, allocations: 0 / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.7894, allocations: 4 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7894, allocations: 1.781 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7894, allocations: 0 / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001223/0.7895, allocations: 69.55 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.7896, allocations: 81.11 kB / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.7896, allocations: 5.875 kB / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.466e-05/0.7897, allocations: 0 / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.7897, allocations: 4.594 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.7897, allocations: 3.938 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.001e-05/0.7898, allocations: 95.12 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003103/0.7901, allocations: 12 kB / 1.101 GB, free: 15.46 MB / 0.7136 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,$whenCondition2,booPul.y) * 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.0002397/0.7903, allocations: 111.2 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.7906, allocations: 77.69 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7906, allocations: 0 / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.7907, allocations: 15.94 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.7909, allocations: 4 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.7911, allocations: 60.73 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.7915, allocations: 0.6979 MB / 1.101 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of SimCode: time 7.72e-07/0.7915, allocations: 4.188 kB / 1.101 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of Templates: time 0.004053/0.7955, allocations: 0.9116 MB / 1.102 GB, free: 13.58 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)