Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [: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.472/2.472, allocations: 253.1 MB / 260.4 MB, free: 7.574 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.001623/0.001623, allocations: 189.2 kB / 319.6 MB, free: 3.332 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 2.238/2.238, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.00126/0.001259, allocations: 86.91 kB / 0.6746 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.527e-06/9.688e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2092, allocations: 106.3 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7531/0.9624, allocations: 131.3 MB / 1.016 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/0.9628, allocations: 76.5 kB / 1.016 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005527/0.9684, allocations: 0.818 MB / 1.017 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.9684, allocations: 0 / 1.017 GB, free: 6.355 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005325/0.969, allocations: 373.1 kB / 1.017 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.9691, allocations: 12.03 kB / 1.017 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.9693, allocations: 90.72 kB / 1.018 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.9695, allocations: 267.8 kB / 1.018 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.571e-05/0.9696, allocations: 154.5 kB / 1.018 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.9698, allocations: 158.6 kB / 1.018 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.279e-05/0.9699, allocations: 154.5 kB / 1.018 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.678e-05/0.97, allocations: 105 kB / 1.018 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.289e-05/0.97, allocations: 76.12 kB / 1.018 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.583e-05/0.9701, allocations: 154.5 kB / 1.019 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.663e-05/0.9702, allocations: 154.6 kB / 1.019 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.9708, allocations: 480.8 kB / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.9709, allocations: 165.1 kB / 1.019 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.971, allocations: 86.52 kB / 1.019 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.962e-05/0.971, allocations: 79.28 kB / 1.02 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.607e-05/0.9711, allocations: 109.8 kB / 1.02 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 4.328e-06/0.9711, allocations: 0 / 1.02 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001495/0.9713, allocations: 48.06 kB / 1.02 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.9714, allocations: 51.41 kB / 1.02 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/0.9718, allocations: 200.1 kB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.9718, allocations: 29.7 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.737e-05/0.9719, allocations: 99.03 kB / 1.02 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-06/0.9719, allocations: 4 kB / 1.02 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.972, allocations: 0 / 1.02 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.9722, allocations: 325.4 kB / 1.02 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.9724, allocations: 47.58 kB / 1.02 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.9727, allocations: 173 kB / 1.021 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.9739, allocations: 126.2 kB / 1.021 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.974, allocations: 0 / 1.021 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001819/0.9758, allocations: 271.5 kB / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.9759, allocations: 4 kB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.9759, allocations: 4 kB / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/0.9759, allocations: 8 kB / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.9763, allocations: 43.91 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.9764, allocations: 8 kB / 1.021 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.9767, allocations: 20.56 kB / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.9768, allocations: 12 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001722/0.9769, allocations: 195.9 kB / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.9771, allocations: 116.7 kB / 1.021 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.84e-05/0.9772, allocations: 112.7 kB / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.028e-05/0.9774, allocations: 176.3 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001/0.9775, allocations: 192.1 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.582e-05/0.9776, allocations: 176.3 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.978, allocations: 416.4 kB / 1.022 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-05/0.9781, allocations: 116.6 kB / 1.022 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/0.9782, allocations: 105 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-05/0.9783, allocations: 176.3 kB / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.433e-05/0.9784, allocations: 180.2 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001124/0.9785, allocations: 188.3 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.276e-05/0.9786, allocations: 176.3 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000222/0.9788, allocations: 315.2 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.979, allocations: 193.9 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.9792, allocations: 184.2 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.9794, allocations: 109 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.9796, allocations: 176.9 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.775e-05/0.9796, allocations: 104.9 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002504/0.9799, allocations: 153.3 kB / 1.024 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004821/0.9804, allocations: 31.84 kB / 1.024 GB, free: 14.5 MB / 0.6511 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.0002691/0.9807, allocations: 174.5 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.981, allocations: 93.69 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.981, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.11e-06/0.981, allocations: 3.938 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.9814, allocations: 0.527 MB / 1.025 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.982, allocations: 227.2 kB / 1.025 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.9824, allocations: 0.7277 MB / 1.026 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/0.9824, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of Templates: time 0.004392/0.9868, allocations: 0.742 MB / 1.027 GB, free: 11.98 MB / 0.6511 GB