Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.052/2.052, allocations: 284.9 MB / 292.2 MB, free: 10.79 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.002096/0.002095, allocations: 185.2 kB / 360.4 MB, free: 7.516 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.58/1.58, allocations: 205.2 MB / 0.6188 GB, free: 12.43 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.001247/0.001247, allocations: 94.72 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.214e-06, allocations: 0 / 0.8503 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.528/0.528, allocations: 115.2 MB / 0.9628 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.7278, allocations: 137.7 MB / 1.097 GB, free: 3.062 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.7282, allocations: 89.02 kB / 1.097 GB, free: 2.977 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003029/0.7312, allocations: 0.5263 MB / 1.098 GB, free: 2.477 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.7313, allocations: 0 / 1.098 GB, free: 2.477 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003545/0.7316, allocations: 325.7 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.7317, allocations: 12.47 kB / 1.098 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.7317, allocations: 12.92 kB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.7319, allocations: 163.7 kB / 1.098 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.7319, allocations: 0 / 1.098 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.7319, allocations: 11.47 kB / 1.098 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.216e-05/0.732, allocations: 9.062 kB / 1.098 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.7322, allocations: 38.25 kB / 1.098 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.7322, allocations: 0 / 1.098 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.7322, allocations: 0 / 1.098 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.7322, allocations: 0 / 1.098 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.7326, allocations: 238.4 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.685e-05/0.7327, allocations: 27.72 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.7327, allocations: 20.52 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.7328, allocations: 0 / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.7328, allocations: 32.53 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.7328, allocations: 0.6562 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001714/0.733, allocations: 38.31 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.7331, allocations: 51.41 kB / 1.099 GB, free: 1.367 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.7332, allocations: 106.2 kB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.7332, allocations: 25.7 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.7332, allocations: 84.05 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.7333, allocations: 3.938 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.7333, allocations: 3.75 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7334, allocations: 322.8 kB / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.7334, allocations: 0 / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.139e-05/0.7335, allocations: 11.98 kB / 1.099 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.7335, allocations: 5.875 kB / 1.099 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7335, allocations: 0 / 1.099 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001003/0.7336, allocations: 37.7 kB / 1.099 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7337, allocations: 4 kB / 1.099 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7337, allocations: 4.5 kB / 1.099 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.7337, allocations: 0.6875 kB / 1.099 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.7338, allocations: 12.73 kB / 1.099 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.7338, allocations: 0 / 1.099 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.7339, allocations: 9.719 kB / 1.099 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.7339, allocations: 0 / 1.099 GB, free: 0.7305 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 (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 7.576e-05/0.734, allocations: 104.8 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.734, allocations: 5.938 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.7341, allocations: 13.58 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.7341, allocations: 3.938 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7341, allocations: 0 / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7341, allocations: 0.8438 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.7343, allocations: 134.2 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.7343, allocations: 4.812 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-05/0.7344, allocations: 4.531 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.7344, allocations: 4.922 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.7344, allocations: 0 / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7344, allocations: 0 / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.7344, allocations: 6.062 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000138/0.7346, allocations: 140.4 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.7347, allocations: 85 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.7347, allocations: 0.6094 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.7348, allocations: 4 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.7348, allocations: 0 / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.7348, allocations: 4 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of sort global known variables: time 4.968e-05/0.7349, allocations: 83.27 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002814/0.7352, allocations: 4 kB / 1.1 GB, free: 72 kB / 0.698 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.0001274/0.7353, allocations: 103.2 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.602e-05/0.7354, allocations: 12 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7354, allocations: 0 / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.272e-05/0.7355, allocations: 8 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.7357, allocations: 5.312 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.7359, allocations: 56.73 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.7362, allocations: 0.6937 MB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of SimCode: time 6.763e-06/0.7363, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.002544/0.7388, allocations: 336.3 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)