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.Constant.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.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.156/2.156, allocations: 284.9 MB / 292.2 MB, free: 10.67 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.001551/0.001551, allocations: 181.2 kB / 360.4 MB, free: 7.484 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.619/1.619, allocations: 205.1 MB / 0.6188 GB, free: 12.3 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.001162/0.001161, allocations: 91.91 kB / 0.7318 GB, free: 44.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.88e-05/1.897e-05, allocations: 4 kB / 0.8503 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.55, allocations: 115.2 MB / 0.9628 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.7487, allocations: 136.1 MB / 1.096 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.749, allocations: 66.42 kB / 1.096 GB, free: 4.363 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.000432/0.7495, allocations: 56.03 kB / 1.096 GB, free: 4.309 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.7495, allocations: 0 / 1.096 GB, free: 4.309 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.0002271/0.7498, allocations: 302.5 kB / 1.096 GB, free: 3.969 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.7498, allocations: 8.531 kB / 1.096 GB, free: 3.961 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.7498, allocations: 7.5 kB / 1.096 GB, free: 3.957 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.75, allocations: 167 kB / 1.096 GB, free: 3.754 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.75, allocations: 0.7031 kB / 1.096 GB, free: 3.754 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-06/0.75, allocations: 0 / 1.096 GB, free: 3.754 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.938e-05/0.7501, allocations: 3.938 kB / 1.096 GB, free: 3.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.52e-05/0.7501, allocations: 29.7 kB / 1.096 GB, free: 3.715 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.7501, allocations: 0 / 1.096 GB, free: 3.715 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.7502, allocations: 0 / 1.096 GB, free: 3.715 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.7502, allocations: 1.344 kB / 1.096 GB, free: 3.715 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.7505, allocations: 369.1 kB / 1.097 GB, free: 3.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.51e-05/0.7505, allocations: 166.3 kB / 1.097 GB, free: 3.148 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.7506, allocations: 80.77 kB / 1.097 GB, free: 3.066 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.7506, allocations: 79.84 kB / 1.097 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.7507, allocations: 109.3 kB / 1.097 GB, free: 2.875 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.715e-06/0.7507, allocations: 1.312 kB / 1.097 GB, free: 2.875 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.531e-05/0.7508, allocations: 29.7 kB / 1.097 GB, free: 2.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.7508, allocations: 51.97 kB / 1.097 GB, free: 2.777 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.7509, allocations: 90.28 kB / 1.097 GB, free: 2.684 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.7509, allocations: 25.7 kB / 1.097 GB, free: 2.652 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.751, allocations: 84.84 kB / 1.097 GB, free: 2.566 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.751, allocations: 0.5 kB / 1.097 GB, free: 2.566 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-07/0.751, allocations: 0.5 kB / 1.097 GB, free: 2.566 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7511, allocations: 319.3 kB / 1.098 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.177e-06/0.7511, allocations: 1 kB / 1.098 GB, free: 2.246 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-06/0.7511, allocations: 2.469 kB / 1.098 GB, free: 2.246 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/0.7512, allocations: 78.88 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.543e-05/0.7512, allocations: 79.22 kB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.924e-05/0.7513, allocations: 29.7 kB / 1.098 GB, free: 2.059 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.7513, allocations: 4 kB / 1.098 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.7513, allocations: 75.28 kB / 1.098 GB, free: 1.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.177e-05/0.7514, allocations: 150.6 kB / 1.098 GB, free: 1.832 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.995e-05/0.7515, allocations: 90.7 kB / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-05/0.7516, allocations: 155.7 kB / 1.098 GB, free: 1.594 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.97e-05/0.7517, allocations: 75.28 kB / 1.098 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.7517, allocations: 83.75 kB / 1.098 GB, free: 1.438 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 0.0001063/0.7518, allocations: 261.7 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.7519, allocations: 105.5 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.7519, allocations: 104.5 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.578e-05/0.752, allocations: 185.9 kB / 1.099 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.148e-05/0.7521, allocations: 176.3 kB / 1.099 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.965e-05/0.7522, allocations: 178.8 kB / 1.099 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.7524, allocations: 394.8 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-05/0.7524, allocations: 102.8 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.7525, allocations: 105.1 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.145e-05/0.7526, allocations: 188.1 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.296e-05/0.7526, allocations: 177.7 kB / 1.1 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.905e-05/0.7527, allocations: 180.2 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.15e-05/0.7528, allocations: 180.2 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001614/0.7529, allocations: 307.8 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.753, allocations: 178.5 kB / 1.101 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.291e-05/0.7531, allocations: 188.2 kB / 1.101 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.7532, allocations: 102.9 kB / 1.101 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.7533, allocations: 184.2 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.7533, allocations: 105 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.726e-05/0.7534, allocations: 83.28 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003222/0.7537, allocations: 0 / 1.102 GB, free: 13.83 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.0001545/0.7539, allocations: 170.5 kB / 1.102 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.896e-05/0.7539, allocations: 3.938 kB / 1.102 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7539, allocations: 0 / 1.102 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/0.754, allocations: 8.078 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.7543, allocations: 0.5185 MB / 1.102 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001808/0.7545, allocations: 111.4 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.7547, allocations: 0.6841 MB / 1.103 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of SimCode: time 2.354e-06/0.7547, allocations: 0 / 1.103 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of Templates: time 0.00189/0.7566, allocations: 158.5 kB / 1.103 GB, free: 12.15 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)