Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [: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.2/2.2, allocations: 253.1 MB / 260.4 MB, free: 7.656 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.001615/0.001614, allocations: 185.2 kB / 319.6 MB, free: 3.34 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.019/2.019, 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.001298/0.001298, allocations: 79.47 kB / 0.6746 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.542e-05/1.554e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2244, allocations: 106.3 MB / 0.8881 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.658/0.8825, allocations: 132.7 MB / 1.018 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/0.8829, allocations: 78.2 kB / 1.018 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01838/0.9013, allocations: 3.2 MB / 1.021 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.9014, allocations: 0 / 1.021 GB, free: 2.875 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005281/0.9019, allocations: 407.6 kB / 1.021 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.902, allocations: 8.031 kB / 1.021 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.902, allocations: 8.75 kB / 1.021 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.9022, allocations: 163.1 kB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.9022, allocations: 4 kB / 1.021 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.9022, allocations: 4 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001255/0.9024, allocations: 30.88 kB / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.9026, allocations: 69.52 kB / 1.022 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.9026, allocations: 0 / 1.022 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/0.9026, allocations: 0 / 1.022 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.9027, allocations: 0 / 1.022 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.9029, allocations: 145.5 kB / 1.022 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.903, allocations: 52.55 kB / 1.022 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.819e-05/0.9031, allocations: 46.34 kB / 1.022 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.9032, allocations: 3.562 kB / 1.022 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.9032, allocations: 34.55 kB / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.552e-06/0.9032, allocations: 0 / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005177/0.9037, allocations: 108.3 kB / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.9038, allocations: 81.11 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.9039, allocations: 108.2 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.904, allocations: 25.7 kB / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.904, allocations: 87.48 kB / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.9041, allocations: 27.08 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-06/0.9041, allocations: 0 / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.9042, allocations: 314.8 kB / 1.023 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-05/0.9043, allocations: 23.36 kB / 1.023 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-05/0.9044, allocations: 27.03 kB / 1.023 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.9047, allocations: 33.47 kB / 1.023 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.9047, allocations: 0 / 1.023 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004011/0.9051, allocations: 107.6 kB / 1.023 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.9051, allocations: 12.06 kB / 1.023 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.9052, allocations: 3.938 kB / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.9052, allocations: 0 / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.9052, allocations: 0 / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.9052, allocations: 0 / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.889e-05/0.9053, allocations: 4 kB / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.9053, allocations: 4 kB / 1.023 GB, free: 0.8398 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001351/0.9055, allocations: 145.8 kB / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.9055, allocations: 4 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.9055, allocations: 12.28 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.9056, allocations: 0 / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.9056, allocations: 2.875 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9056, allocations: 4 kB / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.9057, allocations: 149.4 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.9058, allocations: 4 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-06/0.9058, allocations: 0 / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.9058, allocations: 0 / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.9058, allocations: 11.84 kB / 1.023 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.9058, allocations: 0 / 1.023 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.9058, allocations: 0 / 1.023 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005064/0.9064, allocations: 149.5 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.9064, allocations: 85.09 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.9065, allocations: 7.844 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.681e-05/0.9065, allocations: 11.92 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.9066, allocations: 7.375 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.765e-05/0.9066, allocations: 8 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of sort global known variables: time 6.991e-05/0.9067, allocations: 90.7 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005513/0.9073, allocations: 75.94 kB / 1.023 GB, free: 32 kB / 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004916/0.9078, allocations: 178.8 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.9081, allocations: 110.9 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.9081, allocations: 0 / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.9082, allocations: 100.7 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.9084, allocations: 4 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.9088, allocations: 118.5 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.9091, allocations: 0.6998 MB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of SimCode: time 1.163e-06/0.9091, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of Templates: time 0.009306/0.9184, allocations: 1.802 MB / 1.026 GB, free: 13.04 MB / 0.6511 GB