Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.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.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") [: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.141/2.141, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001603/0.001603, allocations: 185.2 kB / 360.4 MB, free: 7.504 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.661/1.661, allocations: 205.1 MB / 0.6188 GB, free: 12.42 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.001209/0.001209, allocations: 89.23 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.208e-05/1.211e-05, allocations: 4 kB / 0.8503 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5464/0.5464, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2214/0.7679, allocations: 136.5 MB / 1.096 GB, free: 4.246 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.7682, allocations: 68.66 kB / 1.096 GB, free: 4.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002115/0.7703, allocations: 333.1 kB / 1.097 GB, free: 3.879 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.7703, allocations: 0 / 1.097 GB, free: 3.879 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004472/0.7708, allocations: 328.2 kB / 1.097 GB, free: 3.516 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.7708, allocations: 12.03 kB / 1.097 GB, free: 3.504 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.7709, allocations: 7.281 kB / 1.097 GB, free: 3.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.771, allocations: 160.8 kB / 1.097 GB, free: 3.305 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.771, allocations: 0 / 1.097 GB, free: 3.305 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.7711, allocations: 4 kB / 1.097 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.641e-05/0.7711, allocations: 11.94 kB / 1.097 GB, free: 3.289 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.828e-05/0.7712, allocations: 34.25 kB / 1.097 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.7713, allocations: 0 / 1.097 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.7713, allocations: 3.906 kB / 1.097 GB, free: 3.246 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.7713, allocations: 5.906 kB / 1.097 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.7716, allocations: 226 kB / 1.097 GB, free: 2.984 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.22e-05/0.7717, allocations: 27.61 kB / 1.097 GB, free: 2.949 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.7717, allocations: 9.453 kB / 1.097 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.7718, allocations: 3.219 kB / 1.097 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.7718, allocations: 48.78 kB / 1.097 GB, free: 2.883 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.7718, allocations: 0 / 1.097 GB, free: 2.883 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001614/0.772, allocations: 33.7 kB / 1.097 GB, free: 2.844 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.772, allocations: 55.41 kB / 1.097 GB, free: 2.777 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.529e-05/0.7721, allocations: 89.56 kB / 1.098 GB, free: 2.684 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.7721, allocations: 30.95 kB / 1.098 GB, free: 2.648 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.7722, allocations: 84.12 kB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.7722, allocations: 7.906 kB / 1.098 GB, free: 2.555 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.7722, allocations: 0.8438 kB / 1.098 GB, free: 2.555 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.7723, allocations: 311.3 kB / 1.098 GB, free: 2.242 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.304e-05/0.7723, allocations: 4.781 kB / 1.098 GB, free: 2.238 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.7724, allocations: 8 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.181e-05/0.7724, allocations: 0.625 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7724, allocations: 0.8438 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.916e-05/0.7725, allocations: 55.47 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.7726, allocations: 4.719 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7726, allocations: 0.625 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.7726, allocations: 0 / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.7728, allocations: 15.34 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.7728, allocations: 11.59 kB / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.411e-05/0.7729, allocations: 5.719 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.7729, allocations: 4 kB / 1.098 GB, free: 2.141 MB / 0.698 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 (2): * Single equations (assignments): 2 * 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 7.039e-05/0.773, allocations: 111.3 kB / 1.098 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.773, allocations: 1.328 kB / 1.098 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.7731, allocations: 7.297 kB / 1.098 GB, free: 2.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.7731, allocations: 4.688 kB / 1.098 GB, free: 2.016 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7731, allocations: 0 / 1.098 GB, free: 2.016 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.7731, allocations: 0.7188 kB / 1.098 GB, free: 2.016 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.7733, allocations: 138.1 kB / 1.098 GB, free: 1.844 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7733, allocations: 4.125 kB / 1.098 GB, free: 1.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.7734, allocations: 12.64 kB / 1.098 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7734, allocations: 0 / 1.098 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.7734, allocations: 1.812 kB / 1.098 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7734, allocations: 0 / 1.098 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.7734, allocations: 5.125 kB / 1.098 GB, free: 1.824 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001479/0.7736, allocations: 147.4 kB / 1.098 GB, free: 1.664 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.7737, allocations: 77.11 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.7737, allocations: 4 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.7738, allocations: 4 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.7739, allocations: 7.984 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.7739, allocations: 0.9375 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.418e-05/0.7739, allocations: 79.31 kB / 1.099 GB, free: 1.477 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002844/0.7742, allocations: 11.91 kB / 1.099 GB, free: 1.465 MB / 0.698 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 (2): * Single equations (assignments): 2 * 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.0001263/0.7744, allocations: 99.25 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.828e-05/0.7745, allocations: 15.98 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7745, allocations: 0 / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.7745, allocations: 12.59 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.7747, allocations: 4 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002166/0.775, allocations: 60.86 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.7753, allocations: 0.688 MB / 1.099 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of SimCode: time 7.32e-07/0.7753, allocations: 3.75 kB / 1.099 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of Templates: time 0.00266/0.7779, allocations: 404.9 kB / 1.1 GB, free: 164 kB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)