Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.484/1.484, allocations: 289.8 MB / 297.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 187.9 kB / 366.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 0.6256 GB, free: 5.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009295/0.0009295, allocations: 83.64 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.899e-06/9.919e-06, allocations: 4 kB / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5715/0.5716, allocations: 116.3 MB / 0.9726 GB, free: 68.7 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.7372, allocations: 138.5 MB / 1.108 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.7375, allocations: 80.7 kB / 1.108 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004714/0.7422, allocations: 1.322 MB / 1.109 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.7423, allocations: 0.5625 kB / 1.109 GB, free: 8.605 MB / 0.7136 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.0002749/0.7425, allocations: 326.4 kB / 1.109 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.7426, allocations: 8.031 kB / 1.109 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.7426, allocations: 0 / 1.109 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.7427, allocations: 167.1 kB / 1.11 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.7428, allocations: 3.906 kB / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.7428, allocations: 0.75 kB / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.221e-05/0.7428, allocations: 7.938 kB / 1.11 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.284e-05/0.7429, allocations: 29.7 kB / 1.11 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.7429, allocations: 4 kB / 1.11 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.7429, allocations: 0 / 1.11 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.7429, allocations: 0 / 1.11 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.7431, allocations: 126.2 kB / 1.11 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.335e-05/0.7431, allocations: 14.58 kB / 1.11 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.7431, allocations: 6.547 kB / 1.11 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005268/0.7437, allocations: 0.5662 MB / 1.11 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.7437, allocations: 40.94 kB / 1.11 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.7437, allocations: 0 / 1.11 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001626/0.7439, allocations: 33.64 kB / 1.11 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.7439, allocations: 51.41 kB / 1.111 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.336e-05/0.744, allocations: 85 kB / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.744, allocations: 29.73 kB / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.744, allocations: 80.14 kB / 1.111 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.7441, allocations: 0 / 1.111 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-06/0.7441, allocations: 3.938 kB / 1.111 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.7442, allocations: 322.8 kB / 1.111 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-06/0.7442, allocations: 0 / 1.111 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.7442, allocations: 0 / 1.111 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.267e-05/0.7442, allocations: 4 kB / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.7443, allocations: 7.969 kB / 1.111 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.847e-05/0.7443, allocations: 29.7 kB / 1.111 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.7444, allocations: 7.938 kB / 1.111 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7444, allocations: 4.938 kB / 1.111 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7444, allocations: 3.984 kB / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.162e-05/0.7444, allocations: 0 / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.7444, allocations: 0 / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.152e-05/0.7445, allocations: 0 / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.7445, allocations: 0 / 1.111 GB, free: 6.348 MB / 0.7136 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 6.486e-05/0.7445, allocations: 109 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-06/0.7446, allocations: 3.906 kB / 1.111 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.7447, allocations: 43.42 kB / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.7447, allocations: 0 / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7447, allocations: 2.531 kB / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.7447, allocations: 0 / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.328e-05/0.7448, allocations: 130.2 kB / 1.111 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.7448, allocations: 4.031 kB / 1.111 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.546e-05/0.7448, allocations: 4 kB / 1.111 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.7448, allocations: 3.906 kB / 1.111 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.7448, allocations: 0 / 1.111 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.7448, allocations: 3.938 kB / 1.111 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7448, allocations: 3.984 kB / 1.111 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.915e-05/0.7449, allocations: 53.14 kB / 1.111 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.745, allocations: 81.14 kB / 1.111 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.745, allocations: 3.906 kB / 1.111 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-06/0.745, allocations: 0 / 1.111 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.745, allocations: 3.984 kB / 1.111 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.745, allocations: 4 kB / 1.111 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.676e-05/0.7451, allocations: 75.28 kB / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001737/0.7452, allocations: 8 kB / 1.112 GB, free: 5.738 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.0001853/0.7454, allocations: 103.2 kB / 1.112 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.713e-05/0.7455, allocations: 15.94 kB / 1.112 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.7455, allocations: 0 / 1.112 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-06/0.7455, allocations: 3.938 kB / 1.112 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.433e-05/0.7456, allocations: 6.75 kB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001423/0.7458, allocations: 40.06 kB / 1.112 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.746, allocations: 0.6802 MB / 1.112 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.746, allocations: 1.312 kB / 1.112 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of Templates: time 0.001924/0.748, allocations: 305.3 kB / 1.113 GB, free: 4.551 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)