Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [: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.324/1.324, allocations: 289.8 MB / 297.1 MB, free: 6.754 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.0009816/0.0009814, allocations: 181.2 kB / 366.3 MB, free: 2.023 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.002/1.002, allocations: 205.2 MB / 0.6256 GB, free: 5.828 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.0007798/0.0007798, allocations: 92.34 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.45e-06/5.67e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3804, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.5131, allocations: 138.9 MB / 1.108 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.5133, allocations: 104.6 kB / 1.108 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001834/0.5152, allocations: 0.5293 MB / 1.109 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.5152, allocations: 0 / 1.109 GB, free: 9.02 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.0002504/0.5155, allocations: 324.2 kB / 1.109 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.5155, allocations: 9.844 kB / 1.109 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.5155, allocations: 3.906 kB / 1.109 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.784e-05/0.5156, allocations: 171 kB / 1.109 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.5157, allocations: 0.7188 kB / 1.109 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-06/0.5157, allocations: 3.906 kB / 1.109 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.328e-05/0.5157, allocations: 19.94 kB / 1.109 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.474e-05/0.5158, allocations: 37.69 kB / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.5158, allocations: 0 / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.5158, allocations: 1.312 kB / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5158, allocations: 0 / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.5161, allocations: 229.4 kB / 1.11 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.196e-05/0.5162, allocations: 26.58 kB / 1.11 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.5162, allocations: 12.92 kB / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.5162, allocations: 7.969 kB / 1.11 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.5162, allocations: 30.56 kB / 1.11 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5163, allocations: 0 / 1.11 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001245/0.5164, allocations: 41.7 kB / 1.11 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.5164, allocations: 55.44 kB / 1.11 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.5165, allocations: 96.98 kB / 1.11 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.5165, allocations: 25.7 kB / 1.11 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.5165, allocations: 88.05 kB / 1.11 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.5166, allocations: 4 kB / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.5166, allocations: 0.75 kB / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.5166, allocations: 314.8 kB / 1.11 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.5167, allocations: 4 kB / 1.11 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.001e-05/0.5167, allocations: 8 kB / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.555e-05/0.5167, allocations: 7.984 kB / 1.11 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5167, allocations: 0 / 1.11 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.305e-05/0.5168, allocations: 45.64 kB / 1.11 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/0.5168, allocations: 4 kB / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.5168, allocations: 0.8438 kB / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.5168, allocations: 0 / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.5169, allocations: 11.92 kB / 1.11 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.5169, allocations: 8.094 kB / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.5169, allocations: 3.906 kB / 1.11 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.5169, allocations: 4 kB / 1.11 GB, free: 7.258 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 5.662e-05/0.517, allocations: 101 kB / 1.11 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.517, allocations: 0 / 1.11 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.5171, allocations: 7.531 kB / 1.11 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.5171, allocations: 4.562 kB / 1.11 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.5171, allocations: 256 / 1.11 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5171, allocations: 7.984 kB / 1.11 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.5172, allocations: 142.2 kB / 1.111 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.5172, allocations: 0 / 1.111 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.5173, allocations: 4 kB / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.5173, allocations: 1.125 kB / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.5173, allocations: 7.984 kB / 1.111 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.5173, allocations: 0 / 1.111 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.5173, allocations: 11.83 kB / 1.111 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.486e-05/0.5174, allocations: 135.6 kB / 1.111 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.5174, allocations: 85.02 kB / 1.111 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.5174, allocations: 3.984 kB / 1.111 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.455e-05/0.5175, allocations: 4 kB / 1.111 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.5175, allocations: 0 / 1.111 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.5175, allocations: 0 / 1.111 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.017e-05/0.5176, allocations: 83.28 kB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001883/0.5178, allocations: 4 kB / 1.111 GB, free: 6.586 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 8.683e-05/0.5179, allocations: 104.8 kB / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.488e-05/0.5179, allocations: 12 kB / 1.111 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.71e-07/0.5179, allocations: 0 / 1.111 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.518, allocations: 7.938 kB / 1.111 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.5181, allocations: 7.906 kB / 1.111 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001704/0.5183, allocations: 55.92 kB / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.5185, allocations: 0.692 MB / 1.112 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of SimCode: time 1.423e-06/0.5185, allocations: 0 / 1.112 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of Templates: time 0.001584/0.5201, allocations: 325.8 kB / 1.112 GB, free: 5.363 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)