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.Product.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.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") [: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.178/2.178, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.001582/0.001581, allocations: 177.3 kB / 360.4 MB, free: 7.492 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.624/1.624, 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.001232/0.001232, allocations: 91.8 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.519e-05, allocations: 4 kB / 0.8503 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5552/0.5553, allocations: 115.2 MB / 0.9628 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.755, allocations: 136.5 MB / 1.096 GB, free: 4.227 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.7553, allocations: 68.77 kB / 1.096 GB, free: 4.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003148/0.7585, allocations: 0.5107 MB / 1.097 GB, free: 3.684 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.7585, allocations: 0 / 1.097 GB, free: 3.684 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006473/0.7592, allocations: 363.9 kB / 1.097 GB, free: 3.289 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.7592, allocations: 16.02 kB / 1.097 GB, free: 3.273 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.7593, allocations: 3.906 kB / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.7594, allocations: 175.9 kB / 1.097 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.7595, allocations: 0 / 1.097 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.7595, allocations: 4 kB / 1.097 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001188/0.7596, allocations: 16 kB / 1.097 GB, free: 3.039 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.7597, allocations: 41.69 kB / 1.097 GB, free: 2.992 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.7598, allocations: 0 / 1.097 GB, free: 2.992 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.7598, allocations: 0 / 1.097 GB, free: 2.992 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.7598, allocations: 4 kB / 1.097 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007023/0.7605, allocations: 288 kB / 1.098 GB, free: 2.672 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.7606, allocations: 38.52 kB / 1.098 GB, free: 2.625 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.7607, allocations: 16.14 kB / 1.098 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.7607, allocations: 1.969 kB / 1.098 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.7607, allocations: 30.56 kB / 1.098 GB, free: 2.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.7608, allocations: 4 kB / 1.098 GB, free: 2.566 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002114/0.761, allocations: 54.2 kB / 1.098 GB, free: 2.508 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.761, allocations: 51.41 kB / 1.098 GB, free: 2.445 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/0.7611, allocations: 98.56 kB / 1.098 GB, free: 2.344 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.7612, allocations: 25.7 kB / 1.098 GB, free: 2.312 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.7612, allocations: 88.12 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.7612, allocations: 11.75 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.7613, allocations: 4 kB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.7614, allocations: 318.8 kB / 1.098 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.668e-05/0.7615, allocations: 4 kB / 1.098 GB, free: 1.883 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.689e-05/0.7615, allocations: 8 kB / 1.098 GB, free: 1.875 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.814e-05/0.7616, allocations: 12.5 kB / 1.098 GB, free: 1.863 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7616, allocations: 0 / 1.098 GB, free: 1.863 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001384/0.7617, allocations: 54.59 kB / 1.098 GB, free: 1.805 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.7618, allocations: 4 kB / 1.098 GB, free: 1.801 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.7618, allocations: 0 / 1.098 GB, free: 1.801 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.7618, allocations: 3.938 kB / 1.098 GB, free: 1.797 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.762, allocations: 27.97 kB / 1.098 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.7621, allocations: 0 / 1.098 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.7622, allocations: 23.98 kB / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.7623, allocations: 0 / 1.098 GB, free: 1.746 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 (3): * Single equations (assignments): 3 * 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.469e-05/0.7624, allocations: 106.5 kB / 1.099 GB, free: 1.637 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.7624, allocations: 11.84 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.7624, allocations: 4 kB / 1.099 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.7625, allocations: 0 / 1.099 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7625, allocations: 0 / 1.099 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.7625, allocations: 3.984 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.7627, allocations: 155 kB / 1.099 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.7627, allocations: 1.875 kB / 1.099 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.7629, allocations: 19.98 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7629, allocations: 0 / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.7629, allocations: 4 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.7629, allocations: 4.562 kB / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.763, allocations: 0 / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001725/0.7631, allocations: 143.5 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.7632, allocations: 85.72 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.7632, allocations: 0 / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.7635, allocations: 23.97 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.7635, allocations: 5.406 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.7635, allocations: 0 / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.592e-05/0.7636, allocations: 89.22 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002938/0.7639, allocations: 11.94 kB / 1.099 GB, free: 1.016 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 (3): * Single equations (assignments): 3 * 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.0001409/0.764, allocations: 99.19 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.7642, allocations: 24 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7642, allocations: 0 / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.917e-05/0.7643, allocations: 12 kB / 1.099 GB, free: 0.875 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.7645, allocations: 4 kB / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.7649, allocations: 84.42 kB / 1.099 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.7652, allocations: 0.6967 MB / 1.1 GB, free: 48 kB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/0.7652, allocations: 4 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of Templates: time 0.003312/0.7686, allocations: 0.606 MB / 1.101 GB, free: 15.47 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)