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.Sin.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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") [: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.158/2.158, 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.002275/0.002275, allocations: 181.2 kB / 360.4 MB, free: 7.523 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.633/1.633, allocations: 205.1 MB / 0.6188 GB, free: 13.18 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.001726/0.001726, allocations: 94.36 kB / 0.7318 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.173e-05/1.187e-05, allocations: 4 kB / 0.8503 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5454/0.5455, allocations: 115.2 MB / 0.9628 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.7473, allocations: 136.6 MB / 1.096 GB, free: 4.223 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.7476, allocations: 73.02 kB / 1.096 GB, free: 4.152 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002264/0.7498, allocations: 372.5 kB / 1.097 GB, free: 3.812 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.7499, allocations: 0 / 1.097 GB, free: 3.812 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.0004324/0.7503, allocations: 326 kB / 1.097 GB, free: 3.453 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.7504, allocations: 8.031 kB / 1.097 GB, free: 3.445 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.7504, allocations: 7.906 kB / 1.097 GB, free: 3.438 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.7506, allocations: 161.1 kB / 1.097 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.7506, allocations: 0 / 1.097 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.7506, allocations: 4.625 kB / 1.097 GB, free: 3.238 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.116e-05/0.7507, allocations: 11.98 kB / 1.097 GB, free: 3.227 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.101e-05/0.7508, allocations: 35.17 kB / 1.097 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.7508, allocations: 0 / 1.097 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.7508, allocations: 3.906 kB / 1.097 GB, free: 3.184 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.7509, allocations: 5.156 kB / 1.097 GB, free: 3.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.7512, allocations: 231.2 kB / 1.097 GB, free: 2.922 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.72e-05/0.7513, allocations: 28.19 kB / 1.097 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.7513, allocations: 12.92 kB / 1.097 GB, free: 2.871 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.7514, allocations: 2.719 kB / 1.097 GB, free: 2.871 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.7514, allocations: 35.66 kB / 1.097 GB, free: 2.828 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.552e-06/0.7514, allocations: 0 / 1.097 GB, free: 2.828 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000173/0.7516, allocations: 38.45 kB / 1.098 GB, free: 2.785 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.7517, allocations: 55.84 kB / 1.098 GB, free: 2.719 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.7517, allocations: 99.2 kB / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.7518, allocations: 25.7 kB / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.7518, allocations: 84.14 kB / 1.098 GB, free: 2.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.7519, allocations: 4.469 kB / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.7519, allocations: 0 / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.752, allocations: 311.5 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.752, allocations: 8.875 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.086e-05/0.7521, allocations: 4 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.7521, allocations: 4.719 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7521, allocations: 0.5 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001059/0.7522, allocations: 46.09 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.7523, allocations: 5 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.7523, allocations: 0 / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.7523, allocations: 3.938 kB / 1.098 GB, free: 2.109 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.7525, allocations: 19.83 kB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.7525, allocations: 0 / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.7526, allocations: 4 kB / 1.098 GB, free: 2.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.7526, allocations: 7.938 kB / 1.098 GB, free: 2.082 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.38e-05/0.7527, allocations: 119 kB / 1.098 GB, free: 1.961 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.7527, allocations: 0 / 1.098 GB, free: 1.961 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.7529, allocations: 49.64 kB / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7529, allocations: 0 / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7529, allocations: 0.5312 kB / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.7529, allocations: 4 kB / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.7531, allocations: 142.3 kB / 1.098 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7531, allocations: 0 / 1.098 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.7532, allocations: 13.92 kB / 1.098 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.7532, allocations: 0 / 1.098 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.7533, allocations: 0 / 1.098 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7533, allocations: 0 / 1.098 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7533, allocations: 0 / 1.098 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001679/0.7535, allocations: 147.4 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.7535, allocations: 77.67 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.7535, allocations: 0 / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.7537, allocations: 8 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.7537, allocations: 3.984 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.7538, allocations: 4 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.576e-05/0.7539, allocations: 87.78 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002837/0.7542, allocations: 4 kB / 1.099 GB, free: 1.359 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.0001326/0.7543, allocations: 95.25 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.798e-05/0.7544, allocations: 12 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7544, allocations: 4 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.477e-05/0.7545, allocations: 7.938 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.7547, allocations: 10.44 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.7549, allocations: 56.73 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.7552, allocations: 0.688 MB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of SimCode: time 6.62e-07/0.7552, allocations: 3.938 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of Templates: time 0.002632/0.7579, allocations: 404.5 kB / 1.1 GB, free: 68 kB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)