Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice.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.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice") [: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.297/2.297, 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.0281/0.0281, allocations: 173.3 kB / 319.6 MB, free: 3.297 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.898/1.898, allocations: 205.4 MB / 0.5704 GB, free: 15.03 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.001297, allocations: 83.41 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.235e-05/1.253e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2336, allocations: 106.3 MB / 0.888 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6389/0.8726, allocations: 133.1 MB / 1.018 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.8729, allocations: 73.27 kB / 1.018 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.008472/0.8814, allocations: 1.491 MB / 1.02 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.8815, allocations: 8 kB / 1.02 GB, free: 3.863 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.0004607/0.882, allocations: 354 kB / 1.02 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.882, allocations: 8.031 kB / 1.02 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.8821, allocations: 7.906 kB / 1.02 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.8822, allocations: 174.9 kB / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.8823, allocations: 0 / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.8823, allocations: 7.906 kB / 1.02 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001054/0.8824, allocations: 19 kB / 1.02 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.8825, allocations: 41.06 kB / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.8826, allocations: 2.25 kB / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.8826, allocations: 0 / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.8826, allocations: 4 kB / 1.02 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.8831, allocations: 250.1 kB / 1.02 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.378e-05/0.8831, allocations: 30.27 kB / 1.02 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/0.8832, allocations: 8.047 kB / 1.02 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006491/0.8839, allocations: 0.5545 MB / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.8839, allocations: 34.55 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.408e-06/0.8839, allocations: 0 / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002594/0.8842, allocations: 51.55 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.8842, allocations: 58.47 kB / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.899e-05/0.8844, allocations: 101.2 kB / 1.021 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.8844, allocations: 25.7 kB / 1.021 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.8844, allocations: 91.98 kB / 1.021 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.8845, allocations: 7.219 kB / 1.021 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.8845, allocations: 0 / 1.021 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8846, allocations: 314.8 kB / 1.022 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.8847, allocations: 11.84 kB / 1.022 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.8847, allocations: 4 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.692e-05/0.8848, allocations: 6.688 kB / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.8848, allocations: 3.938 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001444/0.885, allocations: 48.59 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.885, allocations: 4 kB / 1.022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.885, allocations: 0 / 1.022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.885, allocations: 0 / 1.022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.8852, allocations: 12.09 kB / 1.022 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.8852, allocations: 3.984 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.8853, allocations: 4 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.8853, allocations: 3.938 kB / 1.022 GB, free: 1.383 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 (2): * Single equations (assignments): 2 * 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 8.352e-05/0.8854, allocations: 103.7 kB / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.8854, allocations: 7.906 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.8856, allocations: 55.77 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.8856, allocations: 4.031 kB / 1.022 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8857, allocations: 3.938 kB / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.8857, allocations: 0 / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.8859, allocations: 152.4 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.8859, allocations: 0 / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.886, allocations: 8.859 kB / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.886, allocations: 0 / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.886, allocations: 0 / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.886, allocations: 4 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.886, allocations: 0 / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001831/0.8862, allocations: 153.1 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.8863, allocations: 77.73 kB / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.8863, allocations: 0 / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.8864, allocations: 7.906 kB / 1.022 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.8865, allocations: 3.984 kB / 1.022 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.8865, allocations: 4.625 kB / 1.022 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.72e-05/0.8866, allocations: 86.69 kB / 1.022 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003234/0.8869, allocations: 15.94 kB / 1.022 GB, free: 0.6523 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 (2): * Single equations (assignments): 2 * 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.0002359/0.8871, allocations: 107.2 kB / 1.022 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.394e-05/0.8872, allocations: 11.81 kB / 1.022 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.8873, allocations: 4 kB / 1.022 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.8873, allocations: 7.938 kB / 1.022 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.8875, allocations: 3.375 kB / 1.022 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.8878, allocations: 71.08 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.8882, allocations: 0.6958 MB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of SimCode: time 6.71e-07/0.8882, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of Templates: time 0.003053/0.8913, allocations: 452.2 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB