Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.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.OBC.CDL.Continuous.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") [: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.265/2.265, allocations: 253.1 MB / 260.4 MB, free: 7.508 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.001707/0.001707, allocations: 193.2 kB / 319.6 MB, free: 3.293 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.214/2.214, allocations: 205.4 MB / 0.5704 GB, free: 14.95 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.001809/0.001809, allocations: 95.31 kB / 0.6746 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.305e-05/1.316e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.235, allocations: 106.3 MB / 0.8881 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.706/0.9411, allocations: 131.6 MB / 1.017 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.9415, allocations: 70.95 kB / 1.017 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01211/0.9536, allocations: 1.813 MB / 1.018 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.893e-05/0.9537, allocations: 11.31 kB / 1.018 GB, free: 4.996 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001763/0.9555, allocations: 0.4983 MB / 1.019 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/0.9555, allocations: 12.03 kB / 1.019 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.9557, allocations: 20.75 kB / 1.019 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.9561, allocations: 221.4 kB / 1.019 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.9561, allocations: 4 kB / 1.019 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.9562, allocations: 4 kB / 1.019 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004044/0.9566, allocations: 110.1 kB / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.9569, allocations: 116.1 kB / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.9569, allocations: 7.938 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.957, allocations: 4 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.957, allocations: 3.906 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.9588, allocations: 0.5187 MB / 1.02 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.9591, allocations: 86.42 kB / 1.02 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.9593, allocations: 62.03 kB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.9594, allocations: 4.844 kB / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.9594, allocations: 31.38 kB / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 3.046e-06/0.9594, allocations: 0 / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004906/0.9599, allocations: 145.3 kB / 1.02 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.96, allocations: 62.84 kB / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.9602, allocations: 151.4 kB / 1.02 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.9602, allocations: 25.7 kB / 1.02 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.9603, allocations: 102.8 kB / 1.021 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.9604, allocations: 30.48 kB / 1.021 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.9604, allocations: 0 / 1.021 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.9606, allocations: 324.9 kB / 1.021 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.9607, allocations: 47.42 kB / 1.021 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.9609, allocations: 48.66 kB / 1.021 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.9611, allocations: 53.41 kB / 1.021 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9611, allocations: 0 / 1.021 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004369/0.9615, allocations: 140 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.9616, allocations: 4 kB / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.9616, allocations: 0 / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.9616, allocations: 0 / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/0.9622, allocations: 63.94 kB / 1.021 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.9623, allocations: 8 kB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/0.9627, allocations: 59.17 kB / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.9628, allocations: 0.875 kB / 1.021 GB, free: 2.168 MB / 0.6355 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 (9): * Single equations (assignments): 9 * 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.0001122/0.9629, allocations: 108.9 kB / 1.021 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.9629, allocations: 11.81 kB / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.15e-05/0.963, allocations: 22.58 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.9631, allocations: 8 kB / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.9631, allocations: 3.938 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.9631, allocations: 0 / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.9635, allocations: 221.9 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.9635, allocations: 4 kB / 1.022 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.964, allocations: 63.45 kB / 1.022 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.9641, allocations: 0 / 1.022 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.9641, allocations: 3.938 kB / 1.022 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9641, allocations: 4 kB / 1.022 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.9641, allocations: 3.984 kB / 1.022 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004691/0.9646, allocations: 235.8 kB / 1.022 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.9647, allocations: 92.91 kB / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.9647, allocations: 0 / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004979/0.9652, allocations: 55.86 kB / 1.022 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.9654, allocations: 11.3 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.9654, allocations: 7.125 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001835/0.9656, allocations: 131.1 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003525/0.966, allocations: 23.94 kB / 1.022 GB, free: 1.176 MB / 0.6355 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 (9): * Single equations (assignments): 9 * 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.0002224/0.9662, allocations: 99.25 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004047/0.9666, allocations: 111.8 kB / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.9666, allocations: 4 kB / 1.023 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.9668, allocations: 59.86 kB / 1.023 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.9673, allocations: 19.45 kB / 1.023 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008812/0.9682, allocations: 218 kB / 1.023 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006094/0.9688, allocations: 0.7455 MB / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of SimCode: time 1.272e-06/0.9688, allocations: 0 / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of Templates: time 0.006688/0.9755, allocations: 1.805 MB / 1.025 GB, free: 14.17 MB / 0.6511 GB