Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [: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 8.0.0/package.mo): time 2.289/2.289, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001603, allocations: 185.3 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.1 MB / 0.6188 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001334/0.001332, allocations: 82.39 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.159e-05/1.162e-05, allocations: 4 kB / 0.8503 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5758/0.5758, allocations: 115.2 MB / 0.9628 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.8056, allocations: 137.2 MB / 1.097 GB, free: 3.605 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.8059, allocations: 72.61 kB / 1.097 GB, free: 3.535 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.005211/0.8111, allocations: 0.8892 MB / 1.098 GB, free: 2.672 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.8112, allocations: 0.5625 kB / 1.098 GB, free: 2.672 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003067/0.8115, allocations: 331.3 kB / 1.098 GB, free: 2.305 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.8115, allocations: 11.78 kB / 1.098 GB, free: 2.297 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.8116, allocations: 3.438 kB / 1.098 GB, free: 2.297 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.8117, allocations: 159.6 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.8117, allocations: 3.906 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/0.8117, allocations: 0 / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.735e-05/0.8118, allocations: 8 kB / 1.098 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.679e-05/0.8119, allocations: 25.7 kB / 1.098 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.8119, allocations: 0.75 kB / 1.098 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.8119, allocations: 0 / 1.098 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.8119, allocations: 3.984 kB / 1.098 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.8121, allocations: 129.8 kB / 1.098 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.076e-05/0.8121, allocations: 18.52 kB / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.8122, allocations: 4.859 kB / 1.098 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006191/0.8128, allocations: 0.5625 MB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.8128, allocations: 40.44 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.764e-06/0.8128, allocations: 0 / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001837/0.813, allocations: 33.69 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.8131, allocations: 51.41 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.002e-05/0.8131, allocations: 85 kB / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.8132, allocations: 25.7 kB / 1.099 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.8132, allocations: 81.05 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.8132, allocations: 0 / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.8133, allocations: 0.7812 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.8134, allocations: 320.4 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.8134, allocations: 4 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-06/0.8134, allocations: 0 / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.472e-05/0.8135, allocations: 4.781 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.8135, allocations: 3.906 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.265e-05/0.8136, allocations: 34.53 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.8136, allocations: 4 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.8136, allocations: 0.6875 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.8137, allocations: 4 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.813e-05/0.8137, allocations: 7.594 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.8137, allocations: 0 / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.459e-05/0.8138, allocations: 0 / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.8138, allocations: 0 / 1.1 GB, free: 448 kB / 0.698 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): 1 * 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 7.575e-05/0.8139, allocations: 108.8 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.8139, allocations: 4.562 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.814, allocations: 44.77 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.8141, allocations: 4 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8141, allocations: 3.344 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8141, allocations: 0 / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.88e-05/0.8142, allocations: 126.8 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8142, allocations: 0 / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.8142, allocations: 5.953 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.8143, allocations: 3.906 kB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.8143, allocations: 4.656 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.8143, allocations: 0 / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.8143, allocations: 0.7188 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001163/0.8144, allocations: 59.62 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.8146, allocations: 77.83 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.8146, allocations: 7.844 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.495e-05/0.8146, allocations: 1.781 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.8146, allocations: 0.5625 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.8146, allocations: 4.625 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.259e-05/0.8147, allocations: 77.94 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002573/0.8149, allocations: 11.94 kB / 1.1 GB, free: 15.83 MB / 0.7136 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): 1 * 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.0001908/0.8151, allocations: 111.2 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.632e-05/0.8152, allocations: 4 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.8152, allocations: 4 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.456e-06/0.8153, allocations: 0 / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.8154, allocations: 2.391 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001788/0.8156, allocations: 44.14 kB / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/0.8159, allocations: 0.688 MB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of SimCode: time 2.885e-06/0.8159, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of Templates: time 0.002636/0.8186, allocations: 305.4 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)