Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") [: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 7.0.1/package.mo): time 2.337/2.337, allocations: 253.1 MB / 260.4 MB, free: 7.484 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001715/0.001715, allocations: 181.3 kB / 319.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.4 MB / 0.5704 GB, free: 15.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001226/0.001225, allocations: 91.17 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.289e-05/1.309e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1898, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.215/5.404, allocations: 2.186 GB / 3.074 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/5.405, allocations: 83.95 kB / 3.074 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.073/8.478, allocations: 0.6577 GB / 3.732 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000177/8.478, allocations: 45.88 kB / 3.732 GB, free: 171.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.01061/8.489, allocations: 1.778 MB / 3.734 GB, free: 171 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/8.489, allocations: 11.22 kB / 3.734 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009853/8.499, allocations: 0.9793 MB / 3.735 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005805/8.505, allocations: 1.138 MB / 3.736 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/8.505, allocations: 27.84 kB / 3.736 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003598/8.505, allocations: 64.53 kB / 3.736 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003516/8.509, allocations: 1.111 MB / 3.737 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003061/8.512, allocations: 1.162 MB / 3.738 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/8.512, allocations: 0 / 3.738 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/8.512, allocations: 0 / 3.738 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.456e-05/8.512, allocations: 46.59 kB / 3.738 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01441/8.526, allocations: 4.888 MB / 3.743 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002926/8.529, allocations: 1.036 MB / 3.744 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00196/8.531, allocations: 0.5929 MB / 3.744 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00188/8.533, allocations: 0.9485 MB / 3.745 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002095/8.536, allocations: 0.6855 MB / 3.746 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=95): time 5.641e-06/8.536, allocations: 0 / 3.746 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.006082/8.542, allocations: 1.322 MB / 3.747 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/8.542, allocations: 66.58 kB / 3.747 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/8.544, allocations: 0.8266 MB / 3.748 GB, free: 167 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003587/8.544, allocations: 36.34 kB / 3.748 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/8.545, allocations: 378.5 kB / 3.749 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005097/8.545, allocations: 309 kB / 3.749 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/8.545, allocations: 0 / 3.749 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001014/8.545, allocations: 347 kB / 3.749 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/8.547, allocations: 497.2 kB / 3.75 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/8.549, allocations: 0.7329 MB / 3.75 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/8.55, allocations: 0.522 MB / 3.751 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/8.55, allocations: 4.156 kB / 3.751 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00431/8.555, allocations: 1.301 MB / 3.752 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/8.555, allocations: 12.17 kB / 3.752 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/8.555, allocations: 3.781 kB / 3.752 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.137e-05/8.555, allocations: 17.36 kB / 3.752 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004116/8.559, allocations: 377.2 kB / 3.753 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.608e-05/8.559, allocations: 13.8 kB / 3.753 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003658/8.563, allocations: 241.2 kB / 3.753 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/8.563, allocations: 54.58 kB / 3.753 GB, free: 164.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.0004149/8.563, allocations: 137 kB / 3.753 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003684/8.564, allocations: 119.8 kB / 3.753 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005154/8.569, allocations: 1.393 MB / 3.755 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/8.569, allocations: 14.72 kB / 3.755 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/8.569, allocations: 0 / 3.755 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/8.569, allocations: 5.25 kB / 3.755 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/8.579, allocations: 2.921 MB / 3.757 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/8.579, allocations: 4.438 kB / 3.757 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004017/8.583, allocations: 328.1 kB / 3.758 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.657e-05/8.583, allocations: 8.281 kB / 3.758 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002421/8.584, allocations: 28.75 kB / 3.758 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.738e-05/8.584, allocations: 16.55 kB / 3.758 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/8.584, allocations: 4.406 kB / 3.758 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006583/8.59, allocations: 2.444 MB / 3.76 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/8.592, allocations: 343.4 kB / 3.76 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004269/8.592, allocations: 16.66 kB / 3.761 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003347/8.595, allocations: 188 kB / 3.761 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/8.596, allocations: 64.14 kB / 3.761 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/8.596, allocations: 46.55 kB / 3.761 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00143/8.597, allocations: 0.6326 MB / 3.761 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00285/8.6, allocations: 481.2 kB / 3.762 GB, free: 161 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004574/8.605, allocations: 2.138 MB / 3.764 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004226/8.609, allocations: 1.198 MB / 3.765 GB, free: 160 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/8.609, allocations: 0 / 3.765 GB, free: 160 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/8.611, allocations: 0.6329 MB / 3.766 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004501/8.616, allocations: 426.8 kB / 3.766 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03378/8.65, allocations: 3.145 MB / 3.769 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003108/8.653, allocations: 1.403 MB / 3.771 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.074e-06/8.653, allocations: 0 / 3.771 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.08623/8.739, allocations: 33.12 MB / 3.803 GB, free: 133 MB / 0.8698 GB