Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.326/1.326, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009292/0.0009292, allocations: 189.2 kB / 361.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.031/1.031, allocations: 205.1 MB / 0.6195 GB, free: 11.95 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007398/0.0007398, allocations: 85.73 kB / 0.7326 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.804e-06/7.824e-06, allocations: 4 kB / 0.8511 GB, free: 3.223 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4408, allocations: 115.3 MB / 0.9637 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.5832, allocations: 136.3 MB / 1.097 GB, free: 3.727 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.5834, allocations: 68.84 kB / 1.097 GB, free: 3.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.0003545/0.5838, allocations: 44 kB / 1.097 GB, free: 3.617 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5838, allocations: 0 / 1.097 GB, free: 3.617 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.0001993/0.584, allocations: 310.6 kB / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5841, allocations: 9.031 kB / 1.097 GB, free: 3.262 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.5841, allocations: 1.062 kB / 1.097 GB, free: 3.262 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.5842, allocations: 167 kB / 1.097 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.5843, allocations: 1.75 kB / 1.097 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.5843, allocations: 5.703 kB / 1.097 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.533e-05/0.5843, allocations: 4.594 kB / 1.097 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.436e-05/0.5844, allocations: 26.45 kB / 1.097 GB, free: 3.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.5844, allocations: 0.5625 kB / 1.097 GB, free: 3.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.5844, allocations: 0 / 1.097 GB, free: 3.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.5844, allocations: 4.906 kB / 1.097 GB, free: 3.016 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.5847, allocations: 363.2 kB / 1.098 GB, free: 2.625 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7e-05/0.5847, allocations: 175.4 kB / 1.098 GB, free: 2.445 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.5848, allocations: 86.42 kB / 1.098 GB, free: 2.363 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.5848, allocations: 77.36 kB / 1.098 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.5848, allocations: 109.8 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.5848, allocations: 0 / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.061e-05/0.5849, allocations: 27.02 kB / 1.098 GB, free: 2.141 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.585, allocations: 51.41 kB / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.228e-05/0.585, allocations: 90.19 kB / 1.098 GB, free: 1.984 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.585, allocations: 25.7 kB / 1.098 GB, free: 1.953 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.5851, allocations: 85.3 kB / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-06/0.5851, allocations: 0 / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-07/0.5851, allocations: 0 / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.5852, allocations: 315.3 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-06/0.5852, allocations: 4.438 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-06/0.5852, allocations: 4.031 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.5852, allocations: 79.28 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/0.5852, allocations: 75.28 kB / 1.099 GB, free: 1.395 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.362e-05/0.5853, allocations: 30.31 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.5853, allocations: 5.719 kB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.5853, allocations: 79.84 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.985e-05/0.5854, allocations: 155.1 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.708e-05/0.5854, allocations: 79.91 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-05/0.5855, allocations: 153.2 kB / 1.099 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.728e-05/0.5855, allocations: 79.88 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.5856, allocations: 82.28 kB / 1.1 GB, free: 0.7422 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 (0): * Single equations (assignments): 0 * 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.31e-05/0.5856, allocations: 264.2 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.5857, allocations: 101.9 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.5857, allocations: 109.5 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.195e-05/0.5858, allocations: 181 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.278e-05/0.5859, allocations: 176.9 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.981e-05/0.5859, allocations: 185.2 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.5861, allocations: 387.2 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.607e-05/0.5861, allocations: 102.3 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.5862, allocations: 113 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.65e-05/0.5862, allocations: 180.2 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-05/0.5863, allocations: 176.3 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.786e-05/0.5863, allocations: 184.2 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.556e-05/0.5864, allocations: 176.3 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001026/0.5865, allocations: 311.8 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.5866, allocations: 179.2 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.5866, allocations: 180.2 kB / 1.102 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.5867, allocations: 107 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.5867, allocations: 188.2 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.5868, allocations: 109 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.399e-05/0.5868, allocations: 75.28 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002163/0.587, allocations: 0 / 1.103 GB, free: 13.14 MB / 0.7136 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 (0): * Single equations (assignments): 0 * 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.0001554/0.5872, allocations: 182.3 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 2.859e-05/0.5872, allocations: 3.938 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5872, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.5872, allocations: 4.094 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.5875, allocations: 0.5185 MB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001464/0.5876, allocations: 115.3 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.5878, allocations: 0.6802 MB / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of SimCode: time 1.353e-06/0.5878, allocations: 0 / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of Templates: time 0.001321/0.5892, allocations: 155.6 kB / 1.104 GB, free: 11.45 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)