Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") [: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.069/2.069, allocations: 253.1 MB / 260.4 MB, free: 7.617 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.001582/0.001582, allocations: 181.3 kB / 319.6 MB, free: 3.305 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.905/1.905, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001255/0.001255, allocations: 91.31 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.304e-05/1.315e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2304, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6508/0.8813, allocations: 133.5 MB / 1.018 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.8816, allocations: 80.44 kB / 1.019 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02489/0.9065, allocations: 4.669 MB / 1.023 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.547e-06/0.9065, allocations: 0 / 1.023 GB, free: 0.8594 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007167/0.9073, allocations: 420.2 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.9073, allocations: 8.031 kB / 1.024 GB, free: 416 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.9086, allocations: 138.7 kB / 1.024 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.9089, allocations: 182.8 kB / 1.024 GB, free: 56 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.909, allocations: 67.39 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.9091, allocations: 4 kB / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002986/0.9094, allocations: 70.8 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.9097, allocations: 104.5 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.9097, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.9098, allocations: 3.906 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.9098, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.9116, allocations: 493.7 kB / 1.025 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.9119, allocations: 89.81 kB / 1.025 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.912, allocations: 38.55 kB / 1.025 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.9121, allocations: 7.984 kB / 1.025 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.9121, allocations: 34.97 kB / 1.025 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.9121, allocations: 3.938 kB / 1.025 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.00042/0.9125, allocations: 101.7 kB / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.9126, allocations: 51.41 kB / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.9127, allocations: 121.1 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/0.9128, allocations: 29.7 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.9129, allocations: 104 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.913, allocations: 19.38 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/0.913, allocations: 0 / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.9131, allocations: 333.9 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.9133, allocations: 29.94 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.9134, allocations: 51.94 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.9135, allocations: 30.73 kB / 1.026 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.9135, allocations: 4 kB / 1.026 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003369/0.9139, allocations: 112.1 kB / 1.026 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.9139, allocations: 4 kB / 1.026 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.9139, allocations: 4 kB / 1.026 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.914, allocations: 0 / 1.026 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.9145, allocations: 51.83 kB / 1.026 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.9145, allocations: 0 / 1.026 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004191/0.915, allocations: 43.86 kB / 1.026 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.915, allocations: 4 kB / 1.026 GB, free: 14.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001163/0.9151, allocations: 104.9 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.9152, allocations: 11.91 kB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004346/0.9156, allocations: 112.4 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.9157, allocations: 4 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.9157, allocations: 192 / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.9157, allocations: 7.891 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.916, allocations: 221.7 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9161, allocations: 4 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005051/0.9166, allocations: 51.39 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.9166, allocations: 3.984 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.9166, allocations: 0 / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.9166, allocations: 0 / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.9167, allocations: 3.906 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003809/0.917, allocations: 205.8 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.9171, allocations: 88.94 kB / 1.027 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.9172, allocations: 4 kB / 1.027 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006429/0.9178, allocations: 47.95 kB / 1.027 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.9179, allocations: 7.906 kB / 1.027 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.9179, allocations: 11.3 kB / 1.027 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.06e-05/0.918, allocations: 101.4 kB / 1.027 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00037/0.9184, allocations: 20 kB / 1.027 GB, free: 13.21 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 (6): * Single equations (assignments): 6 * 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.0001579/0.9186, allocations: 95.25 kB / 1.027 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000296/0.9189, allocations: 83.42 kB / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9189, allocations: 0 / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.9191, allocations: 44.42 kB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.9193, allocations: 7.938 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.9199, allocations: 143.7 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/0.9204, allocations: 0.7271 MB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of SimCode: time 7.92e-07/0.9204, allocations: 0 / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of Templates: time 0.006039/0.9265, allocations: 1.686 MB / 1.029 GB, free: 10.45 MB / 0.6511 GB