Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") [: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.77 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.001585/0.001584, allocations: 181.3 kB / 360.4 MB, free: 7.539 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.61/1.61, allocations: 205.1 MB / 0.6188 GB, free: 13.21 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.001248/0.001247, allocations: 94.08 kB / 0.7318 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.024e-05/1.028e-05, allocations: 0 / 0.8503 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5645/0.5645, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.7695, allocations: 136.6 MB / 1.096 GB, free: 4.289 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.7698, allocations: 71.95 kB / 1.096 GB, free: 4.219 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002173/0.772, allocations: 355.8 kB / 1.097 GB, free: 3.891 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.7721, allocations: 4 kB / 1.097 GB, free: 3.887 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003952/0.7725, allocations: 314.5 kB / 1.097 GB, free: 3.535 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.7725, allocations: 12.03 kB / 1.097 GB, free: 3.523 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.7726, allocations: 3.906 kB / 1.097 GB, free: 3.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.7727, allocations: 166 kB / 1.097 GB, free: 3.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.7727, allocations: 4 kB / 1.097 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.026e-06/0.7728, allocations: 1 kB / 1.097 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.763e-05/0.7728, allocations: 7.938 kB / 1.097 GB, free: 3.309 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.785e-05/0.7729, allocations: 36.78 kB / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.7729, allocations: 0 / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.7729, allocations: 4.562 kB / 1.097 GB, free: 3.266 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.773, allocations: 0 / 1.097 GB, free: 3.266 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.7731, allocations: 134.2 kB / 1.097 GB, free: 3.098 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.748e-05/0.7732, allocations: 20.77 kB / 1.097 GB, free: 3.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.7732, allocations: 8.766 kB / 1.097 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.7733, allocations: 3.984 kB / 1.097 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.7733, allocations: 33.52 kB / 1.097 GB, free: 3.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.7733, allocations: 64 / 1.097 GB, free: 3.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001456/0.7735, allocations: 49.53 kB / 1.097 GB, free: 2.965 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.7735, allocations: 51.41 kB / 1.097 GB, free: 2.902 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.2e-05/0.7736, allocations: 93 kB / 1.097 GB, free: 2.805 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.7736, allocations: 26.89 kB / 1.098 GB, free: 2.773 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.7737, allocations: 84.14 kB / 1.098 GB, free: 2.688 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.7737, allocations: 0 / 1.098 GB, free: 2.688 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.7737, allocations: 1.25 kB / 1.098 GB, free: 2.688 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7739, allocations: 318.8 kB / 1.098 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.7739, allocations: 0.625 kB / 1.098 GB, free: 2.367 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.7739, allocations: 4.719 kB / 1.098 GB, free: 2.363 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.926e-05/0.7739, allocations: 0 / 1.098 GB, free: 2.363 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.774, allocations: 3 kB / 1.098 GB, free: 2.363 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.418e-05/0.7741, allocations: 41.61 kB / 1.098 GB, free: 2.316 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7741, allocations: 4 kB / 1.098 GB, free: 2.312 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.7741, allocations: 3.938 kB / 1.098 GB, free: 2.309 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.7741, allocations: 7.938 kB / 1.098 GB, free: 2.301 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.7742, allocations: 7.984 kB / 1.098 GB, free: 2.293 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.7742, allocations: 2.562 kB / 1.098 GB, free: 2.293 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.7743, allocations: 3.75 kB / 1.098 GB, free: 2.293 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.7743, allocations: 4.781 kB / 1.098 GB, free: 2.289 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 (1): * Single equations (assignments): 1 * 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.27e-05/0.7744, allocations: 109.3 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.7744, allocations: 0 / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.7745, allocations: 8.078 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.7745, allocations: 4 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7745, allocations: 2.125 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7745, allocations: 0.5 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.7746, allocations: 134.1 kB / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7746, allocations: 4.844 kB / 1.098 GB, free: 1.992 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.7747, allocations: 6.469 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7747, allocations: 0 / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.7747, allocations: 2.344 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7747, allocations: 0 / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.7748, allocations: 0 / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001165/0.7749, allocations: 69.53 kB / 1.098 GB, free: 1.902 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.7749, allocations: 77.11 kB / 1.098 GB, free: 1.809 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.775, allocations: 4.156 kB / 1.098 GB, free: 1.805 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.72e-05/0.775, allocations: 7.984 kB / 1.098 GB, free: 1.797 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.7751, allocations: 0 / 1.098 GB, free: 1.797 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.7751, allocations: 0 / 1.098 GB, free: 1.797 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.567e-05/0.7751, allocations: 85.16 kB / 1.098 GB, free: 1.715 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002335/0.7754, allocations: 4 kB / 1.098 GB, free: 1.711 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 (1): * Single equations (assignments): 1 * 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.0001335/0.7755, allocations: 99.16 kB / 1.099 GB, free: 1.605 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.443e-05/0.7756, allocations: 8 kB / 1.099 GB, free: 1.598 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7756, allocations: 4 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.7757, allocations: 3.984 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.7758, allocations: 8.125 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002063/0.776, allocations: 52.69 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.7764, allocations: 0.688 MB / 1.099 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/0.7764, allocations: 3.938 kB / 1.099 GB, free: 0.793 MB / 0.698 GB Notification: Performance of Templates: time 0.002394/0.7788, allocations: 288.9 kB / 1.1 GB, free: 0.543 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)