Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.4877/0.4877, allocations: 94.74 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001094/0.001095, allocations: 176.4 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.205/1.205, allocations: 170.5 MB / 319 MB, free: 9.352 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001634/0.001634, allocations: 113.6 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.566e-06/8.586e-06, allocations: 0 / 448.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1424, allocations: 61.51 MB / 0.4981 GB, free: 4.504 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3446/0.4871, allocations: 93.12 MB / 0.5891 GB, free: 9.238 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.4874, allocations: 78.77 kB / 0.5891 GB, free: 9.164 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.003368/0.4907, allocations: 0.8719 MB / 0.59 GB, free: 8.316 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.4908, allocations: 0 / 0.59 GB, free: 8.316 MB / 410.7 MB 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.0002792/0.4911, allocations: 326.2 kB / 0.5903 GB, free: 7.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.4911, allocations: 13.03 kB / 0.5903 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.4912, allocations: 0 / 0.5903 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.4913, allocations: 159.1 kB / 0.5905 GB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4913, allocations: 0 / 0.5905 GB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.4913, allocations: 0 / 0.5905 GB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.06e-05/0.4914, allocations: 8.031 kB / 0.5905 GB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.96e-05/0.4914, allocations: 33.69 kB / 0.5905 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.4914, allocations: 0 / 0.5905 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.4915, allocations: 5.531 kB / 0.5905 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.4915, allocations: 0 / 0.5905 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.4916, allocations: 128.9 kB / 0.5906 GB, free: 7.547 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.619e-05/0.4917, allocations: 22.61 kB / 0.5907 GB, free: 7.516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.4917, allocations: 8.688 kB / 0.5907 GB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004915/0.4922, allocations: 0.5567 MB / 0.5912 GB, free: 6.824 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.4922, allocations: 38.48 kB / 0.5913 GB, free: 6.777 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.4922, allocations: 0 / 0.5913 GB, free: 6.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.000167/0.4924, allocations: 42.05 kB / 0.5913 GB, free: 6.734 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.4924, allocations: 55.34 kB / 0.5913 GB, free: 6.672 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.427e-05/0.4925, allocations: 89 kB / 0.5914 GB, free: 6.578 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.4925, allocations: 25.7 kB / 0.5915 GB, free: 6.547 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.4925, allocations: 80.14 kB / 0.5915 GB, free: 6.465 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.4926, allocations: 0 / 0.5915 GB, free: 6.465 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.4926, allocations: 0 / 0.5915 GB, free: 6.465 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4927, allocations: 310.8 kB / 0.5918 GB, free: 6.152 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-06/0.4927, allocations: 0 / 0.5918 GB, free: 6.152 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-06/0.4927, allocations: 4 kB / 0.5918 GB, free: 6.148 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/0.4928, allocations: 7.266 kB / 0.5918 GB, free: 6.145 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4928, allocations: 0 / 0.5918 GB, free: 6.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.736e-05/0.4928, allocations: 41.55 kB / 0.5919 GB, free: 6.098 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.4929, allocations: 4 kB / 0.5919 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4929, allocations: 0 / 0.5919 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.4929, allocations: 0 / 0.5919 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.512e-05/0.4929, allocations: 4 kB / 0.5919 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.4929, allocations: 0 / 0.5919 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.534e-05/0.493, allocations: 8.359 kB / 0.5919 GB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.493, allocations: 1.594 kB / 0.5919 GB, free: 6.086 MB / 410.7 MB 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.997e-05/0.4931, allocations: 105 kB / 0.592 GB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-06/0.4931, allocations: 0 / 0.592 GB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.4932, allocations: 46.5 kB / 0.592 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4932, allocations: 1.75 kB / 0.592 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.4932, allocations: 3.984 kB / 0.592 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4932, allocations: 4 kB / 0.592 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.621e-05/0.4933, allocations: 122.2 kB / 0.5922 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4933, allocations: 1.875 kB / 0.5922 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.55e-05/0.4934, allocations: 0 / 0.5922 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4934, allocations: 7.938 kB / 0.5922 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.4934, allocations: 0 / 0.5922 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4934, allocations: 2.953 kB / 0.5922 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4934, allocations: 3.906 kB / 0.5922 GB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.646e-05/0.4935, allocations: 62.75 kB / 0.5922 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.4935, allocations: 79.03 kB / 0.5923 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.4936, allocations: 0 / 0.5923 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.117e-05/0.4936, allocations: 0.5625 kB / 0.5923 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.4936, allocations: 4.938 kB / 0.5923 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.4936, allocations: 4.188 kB / 0.5923 GB, free: 5.574 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.113e-05/0.4937, allocations: 77.75 kB / 0.5924 GB, free: 5.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001847/0.4938, allocations: 19.92 kB / 0.5924 GB, free: 5.48 MB / 410.7 MB 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.0002022/0.494, allocations: 103.2 kB / 0.5925 GB, free: 5.371 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.703e-05/0.4941, allocations: 7.938 kB / 0.5925 GB, free: 5.363 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4941, allocations: 0 / 0.5925 GB, free: 5.363 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-06/0.4941, allocations: 4 kB / 0.5925 GB, free: 5.359 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.821e-05/0.4942, allocations: 9.109 kB / 0.5925 GB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001928/0.4944, allocations: 44.06 kB / 0.5926 GB, free: 5.289 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.4947, allocations: 0.6763 MB / 0.5932 GB, free: 4.586 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4947, allocations: 4 kB / 0.5932 GB, free: 4.582 MB / 410.7 MB Notification: Performance of Templates: time 0.001972/0.4967, allocations: 297.3 kB / 0.5935 GB, free: 4.32 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)