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.Tan.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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") [: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.162/2.162, allocations: 284.9 MB / 292.2 MB, free: 10.69 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.001553/0.001552, allocations: 173.3 kB / 360.4 MB, free: 7.52 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.641/1.641, allocations: 205.1 MB / 0.6188 GB, free: 12.44 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.001229/0.001228, allocations: 91.66 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.218e-05/1.232e-05, allocations: 4 kB / 0.8503 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5655/0.5656, allocations: 115.2 MB / 0.9628 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2023/0.768, allocations: 136.6 MB / 1.096 GB, free: 4.211 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.7683, allocations: 69.14 kB / 1.096 GB, free: 4.145 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00227/0.7706, allocations: 372.7 kB / 1.097 GB, free: 3.805 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.7706, allocations: 4.281 kB / 1.097 GB, free: 3.805 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.0004383/0.771, allocations: 329.8 kB / 1.097 GB, free: 3.441 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.7711, allocations: 8.031 kB / 1.097 GB, free: 3.434 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.7711, allocations: 5.344 kB / 1.097 GB, free: 3.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.7713, allocations: 167.7 kB / 1.097 GB, free: 3.227 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.7713, allocations: 0 / 1.097 GB, free: 3.227 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.7713, allocations: 5.297 kB / 1.097 GB, free: 3.223 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.414e-05/0.7714, allocations: 13.25 kB / 1.097 GB, free: 3.211 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.229e-05/0.7715, allocations: 37.69 kB / 1.097 GB, free: 3.168 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.7715, allocations: 0 / 1.097 GB, free: 3.168 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.7716, allocations: 4.922 kB / 1.097 GB, free: 3.164 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.7716, allocations: 0 / 1.097 GB, free: 3.164 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.7719, allocations: 228.2 kB / 1.097 GB, free: 2.906 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.267e-05/0.772, allocations: 22.52 kB / 1.097 GB, free: 2.875 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.7721, allocations: 12.92 kB / 1.097 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.7721, allocations: 1.828 kB / 1.097 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.7721, allocations: 41.03 kB / 1.097 GB, free: 2.812 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.7722, allocations: 0.8438 kB / 1.097 GB, free: 2.812 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000174/0.7723, allocations: 42.25 kB / 1.097 GB, free: 2.766 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.7724, allocations: 51.91 kB / 1.098 GB, free: 2.703 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.7725, allocations: 93.5 kB / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.7725, allocations: 26.27 kB / 1.098 GB, free: 2.574 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.7726, allocations: 80.77 kB / 1.098 GB, free: 2.492 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.7726, allocations: 3.906 kB / 1.098 GB, free: 2.488 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.7726, allocations: 1.438 kB / 1.098 GB, free: 2.488 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.7727, allocations: 318.8 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.7728, allocations: 4 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.7728, allocations: 5.75 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.624e-05/0.7728, allocations: 11.94 kB / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7728, allocations: 0 / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001037/0.773, allocations: 38.2 kB / 1.098 GB, free: 2.105 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.773, allocations: 7.125 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.773, allocations: 4 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.773, allocations: 0.875 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.7732, allocations: 21.55 kB / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.7732, allocations: 0 / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.7733, allocations: 15.98 kB / 1.098 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.7733, allocations: 0 / 1.098 GB, free: 2.062 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 8.433e-05/0.7734, allocations: 108.7 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.7735, allocations: 4.609 kB / 1.098 GB, free: 1.945 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.7736, allocations: 55.47 kB / 1.098 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.7736, allocations: 0 / 1.098 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.7736, allocations: 0 / 1.098 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.7737, allocations: 0 / 1.098 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.7738, allocations: 138.1 kB / 1.098 GB, free: 1.715 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.7738, allocations: 0.7969 kB / 1.098 GB, free: 1.715 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.774, allocations: 13.42 kB / 1.098 GB, free: 1.703 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.774, allocations: 4.031 kB / 1.098 GB, free: 1.699 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.774, allocations: 4 kB / 1.098 GB, free: 1.695 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.774, allocations: 0 / 1.098 GB, free: 1.695 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.774, allocations: 0 / 1.098 GB, free: 1.695 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001355/0.7742, allocations: 135.5 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.7742, allocations: 81.11 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.7743, allocations: 0 / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.7744, allocations: 12.02 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.7745, allocations: 4 kB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.7745, allocations: 3.938 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.12e-05/0.7745, allocations: 87.7 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002825/0.7748, allocations: 4 kB / 1.099 GB, free: 1.34 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.0001426/0.775, allocations: 103.2 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.903e-05/0.7751, allocations: 12 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7751, allocations: 0 / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/0.7751, allocations: 4 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.7754, allocations: 8.5 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/0.7756, allocations: 61.8 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.776, allocations: 0.6841 MB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of SimCode: time 3.506e-06/0.776, allocations: 4.125 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of Templates: time 0.002694/0.7787, allocations: 408.4 kB / 1.1 GB, free: 48 kB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)