Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.33/1.33, allocations: 289.8 MB / 297 MB, free: 6.637 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.0009666/0.0009666, allocations: 177.3 kB / 366.3 MB, free: 1.949 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.1/1.1, allocations: 205.2 MB / 0.6256 GB, free: 5.781 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.000786/0.0007863, allocations: 89.95 kB / 0.7396 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.336e-06/8.366e-06, allocations: 4 kB / 0.859 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.4685, allocations: 116.3 MB / 0.9726 GB, free: 68.26 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.6072, allocations: 137.2 MB / 1.107 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.6074, allocations: 73.2 kB / 1.107 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0003923/0.6078, allocations: 62.11 kB / 1.107 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.6078, allocations: 0 / 1.107 GB, free: 11.05 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002229/0.6081, allocations: 307.6 kB / 1.107 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.6081, allocations: 8.562 kB / 1.107 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.6082, allocations: 0 / 1.107 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.6083, allocations: 164.7 kB / 1.107 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.6083, allocations: 0 / 1.107 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.6083, allocations: 7.984 kB / 1.107 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.891e-05/0.6084, allocations: 0 / 1.107 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.227e-05/0.6084, allocations: 26.3 kB / 1.107 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.6084, allocations: 4.562 kB / 1.107 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.6085, allocations: 5.578 kB / 1.107 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6085, allocations: 5.406 kB / 1.107 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.6087, allocations: 358.9 kB / 1.108 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.643e-05/0.6088, allocations: 166.4 kB / 1.108 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.6089, allocations: 84.73 kB / 1.108 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.6089, allocations: 79.98 kB / 1.108 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.6089, allocations: 106.5 kB / 1.108 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.609, allocations: 4.5 kB / 1.108 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.775e-05/0.609, allocations: 29.7 kB / 1.108 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.609, allocations: 55.41 kB / 1.108 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.22e-05/0.6091, allocations: 89 kB / 1.108 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.6091, allocations: 25.7 kB / 1.108 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.6092, allocations: 80.14 kB / 1.108 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.032e-06/0.6092, allocations: 0 / 1.108 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.6092, allocations: 0 / 1.108 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.6093, allocations: 314.8 kB / 1.109 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-06/0.6093, allocations: 4.125 kB / 1.109 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-06/0.6093, allocations: 3.219 kB / 1.109 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.939e-05/0.6093, allocations: 75.28 kB / 1.109 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.664e-05/0.6093, allocations: 79.28 kB / 1.109 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.027e-05/0.6094, allocations: 33.62 kB / 1.109 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.6094, allocations: 4 kB / 1.109 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.6094, allocations: 79.28 kB / 1.109 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.471e-05/0.6095, allocations: 150.6 kB / 1.109 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.195e-05/0.6095, allocations: 91.16 kB / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.223e-05/0.6096, allocations: 151.1 kB / 1.109 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.163e-05/0.6097, allocations: 75.28 kB / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.6097, allocations: 83.22 kB / 1.109 GB, free: 8.164 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 (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 9.878e-05/0.6098, allocations: 259.4 kB / 1.11 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.6098, allocations: 105 kB / 1.11 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/0.6099, allocations: 104 kB / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.687e-05/0.6099, allocations: 185.1 kB / 1.11 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.454e-05/0.61, allocations: 176.3 kB / 1.11 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.457e-05/0.6101, allocations: 184.6 kB / 1.11 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.6102, allocations: 381.7 kB / 1.111 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-05/0.6103, allocations: 110.3 kB / 1.111 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.643e-05/0.6103, allocations: 101 kB / 1.111 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-05/0.6104, allocations: 188.1 kB / 1.111 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.6104, allocations: 176.3 kB / 1.111 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-05/0.6105, allocations: 184.3 kB / 1.111 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.032e-05/0.6106, allocations: 184.2 kB / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001227/0.6107, allocations: 304.4 kB / 1.112 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.6108, allocations: 182.4 kB / 1.112 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/0.6108, allocations: 180.2 kB / 1.112 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.6109, allocations: 101 kB / 1.112 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.611, allocations: 200.2 kB / 1.113 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.611, allocations: 101 kB / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.726e-05/0.6111, allocations: 75.94 kB / 1.113 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002138/0.6113, allocations: 0 / 1.113 GB, free: 4.551 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.0001345/0.6114, allocations: 174.5 kB / 1.113 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 2.994e-05/0.6115, allocations: 4.094 kB / 1.113 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.6115, allocations: 0 / 1.113 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.6115, allocations: 0 / 1.113 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.6117, allocations: 0.5232 MB / 1.113 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001406/0.6119, allocations: 119.3 kB / 1.113 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.6121, allocations: 0.6841 MB / 1.114 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of SimCode: time 1.372e-06/0.6121, allocations: 0 / 1.114 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of Templates: time 0.001236/0.6133, allocations: 154.2 kB / 1.114 GB, free: 2.863 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)