Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter") [: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.1.4-maint.8.1.x/package.mo): time 1.317/1.317, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.0008944/0.0008944, allocations: 181.3 kB / 366.3 MB, free: 1.973 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.018/1.018, allocations: 205.1 MB / 0.6256 GB, free: 5.805 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.0008083/0.0008083, allocations: 90 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.819e-06/9.829e-06, allocations: 4 kB / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.5004, allocations: 116.3 MB / 0.9726 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.6489, allocations: 137.7 MB / 1.107 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.6491, allocations: 77.41 kB / 1.107 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001476/0.6506, allocations: 317.8 kB / 1.107 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.6507, allocations: 4 kB / 1.107 GB, free: 10.48 MB / 0.7136 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.0003321/0.651, allocations: 334.5 kB / 1.108 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6511, allocations: 12.03 kB / 1.108 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.6511, allocations: 3.906 kB / 1.108 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.6512, allocations: 176.9 kB / 1.108 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.6513, allocations: 0 / 1.108 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-06/0.6513, allocations: 0 / 1.108 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.531e-05/0.6514, allocations: 16.47 kB / 1.108 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.758e-05/0.6514, allocations: 33.7 kB / 1.108 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.6514, allocations: 0 / 1.108 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.6515, allocations: 4 kB / 1.108 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.6515, allocations: 0 / 1.108 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.6519, allocations: 253.4 kB / 1.108 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.102e-05/0.6519, allocations: 28.66 kB / 1.108 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.652, allocations: 8.922 kB / 1.108 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.652, allocations: 0 / 1.108 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.652, allocations: 38.56 kB / 1.108 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.652, allocations: 0 / 1.108 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001519/0.6522, allocations: 45.62 kB / 1.108 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.6522, allocations: 57.59 kB / 1.108 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.434e-05/0.6523, allocations: 93 kB / 1.108 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.6523, allocations: 25.7 kB / 1.108 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.6524, allocations: 88.14 kB / 1.109 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.6524, allocations: 3.906 kB / 1.109 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.6524, allocations: 0 / 1.109 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.6525, allocations: 318.7 kB / 1.109 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.6525, allocations: 8 kB / 1.109 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.6525, allocations: 4 kB / 1.109 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.701e-05/0.6525, allocations: 8.062 kB / 1.109 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6526, allocations: 4 kB / 1.109 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.511e-05/0.6526, allocations: 37.7 kB / 1.109 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.6527, allocations: 4 kB / 1.109 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.6527, allocations: 3.938 kB / 1.109 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.6527, allocations: 4 kB / 1.109 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.6528, allocations: 16.02 kB / 1.109 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.6528, allocations: 0 / 1.109 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.675e-05/0.6529, allocations: 19.83 kB / 1.109 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.6529, allocations: 0 / 1.109 GB, free: 8.676 MB / 0.7136 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 6.091e-05/0.6529, allocations: 101 kB / 1.109 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.653, allocations: 0 / 1.109 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.653, allocations: 11.53 kB / 1.109 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.653, allocations: 4 kB / 1.109 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.653, allocations: 1.594 kB / 1.109 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.653, allocations: 0 / 1.109 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.6532, allocations: 142.2 kB / 1.109 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6532, allocations: 0 / 1.109 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.748e-05/0.6532, allocations: 15.98 kB / 1.109 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.6532, allocations: 0 / 1.109 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.6533, allocations: 0 / 1.109 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6533, allocations: 4 kB / 1.109 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6533, allocations: 3.906 kB / 1.109 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001084/0.6534, allocations: 135.6 kB / 1.109 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.6534, allocations: 85 kB / 1.109 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.6534, allocations: 0 / 1.109 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.6535, allocations: 12.03 kB / 1.109 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.6536, allocations: 7.922 kB / 1.109 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.6536, allocations: 0 / 1.109 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.264e-05/0.6536, allocations: 87.53 kB / 1.11 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000211/0.6538, allocations: 4 kB / 1.11 GB, free: 7.988 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 (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.0001288/0.654, allocations: 100.5 kB / 1.11 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.078e-05/0.6541, allocations: 12 kB / 1.11 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6541, allocations: 4.062 kB / 1.11 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.157e-05/0.6541, allocations: 8 kB / 1.11 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.6543, allocations: 4.422 kB / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002073/0.6545, allocations: 67.84 kB / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.6547, allocations: 0.6879 MB / 1.11 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.6547, allocations: 0 / 1.11 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of Templates: time 0.001979/0.6567, allocations: 418.6 kB / 1.111 GB, free: 6.668 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1)