Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [: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.214/2.214, allocations: 253.1 MB / 260.4 MB, free: 7.512 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.002208/0.002208, allocations: 185.2 kB / 319.6 MB, free: 3.309 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.828/1.828, allocations: 205.4 MB / 0.5704 GB, free: 14.96 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.00124/0.00124, allocations: 94.44 kB / 0.6746 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.087e-05/1.089e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2131, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6434/0.8566, allocations: 132.1 MB / 1.017 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.8569, allocations: 74.39 kB / 1.017 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.008652/0.8656, allocations: 1.512 MB / 1.019 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.8656, allocations: 0 / 1.019 GB, free: 4.961 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005071/0.8662, allocations: 356.4 kB / 1.019 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.8662, allocations: 8.031 kB / 1.019 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.8663, allocations: 6.938 kB / 1.019 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.8664, allocations: 159.1 kB / 1.019 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.8665, allocations: 0 / 1.019 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.8665, allocations: 7.906 kB / 1.019 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.475e-05/0.8666, allocations: 19.42 kB / 1.019 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.149e-05/0.8667, allocations: 33.14 kB / 1.019 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.8667, allocations: 11.94 kB / 1.019 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.8668, allocations: 3.984 kB / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.8668, allocations: 0 / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.867, allocations: 133.4 kB / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.8671, allocations: 44.78 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.8672, allocations: 19.73 kB / 1.019 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006617/0.8678, allocations: 0.5544 MB / 1.02 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.8679, allocations: 30.56 kB / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.756e-06/0.8679, allocations: 4 kB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.001309/0.8692, allocations: 337.7 kB / 1.02 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.8693, allocations: 55.41 kB / 1.02 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.8694, allocations: 89 kB / 1.02 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.8694, allocations: 25.7 kB / 1.02 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.8695, allocations: 83.2 kB / 1.02 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.8696, allocations: 31.42 kB / 1.02 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.8696, allocations: 0 / 1.02 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8697, allocations: 313.3 kB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.8698, allocations: 22.56 kB / 1.021 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-05/0.8699, allocations: 14.56 kB / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.87, allocations: 27.23 kB / 1.021 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.87, allocations: 3.938 kB / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000254/0.8703, allocations: 83.72 kB / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.8703, allocations: 4 kB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.8703, allocations: 0 / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.8703, allocations: 0 / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.8705, allocations: 19.83 kB / 1.021 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.8706, allocations: 4 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.8706, allocations: 0 / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.8707, allocations: 3.938 kB / 1.021 GB, free: 2.223 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 9.971e-05/0.8708, allocations: 112.9 kB / 1.021 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.8708, allocations: 3.812 kB / 1.021 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/0.8712, allocations: 106.6 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.8713, allocations: 4 kB / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.8713, allocations: 3.906 kB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8713, allocations: 0 / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.8715, allocations: 145 kB / 1.021 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8715, allocations: 0 / 1.021 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.8717, allocations: 12 kB / 1.021 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.8717, allocations: 4 kB / 1.021 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.8717, allocations: 4 kB / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8717, allocations: 0 / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8718, allocations: 0 / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003524/0.8721, allocations: 129.1 kB / 1.021 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.8722, allocations: 85.02 kB / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.8722, allocations: 0 / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.259e-05/0.8723, allocations: 0 / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.8724, allocations: 15.48 kB / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.8724, allocations: 3.984 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.542e-05/0.8724, allocations: 79.28 kB / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003303/0.8728, allocations: 31.94 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0002762/0.8731, allocations: 131.2 kB / 1.022 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.8733, allocations: 49.11 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8733, allocations: 4 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/0.8734, allocations: 27.47 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.8735, allocations: 6 kB / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.8741, allocations: 106.4 kB / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.8745, allocations: 0.6996 MB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/0.8745, allocations: 0 / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of Templates: time 0.004585/0.8791, allocations: 0.942 MB / 1.024 GB, free: 15.5 MB / 0.6511 GB