Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.31/1.31, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009092/0.0009092, allocations: 185.3 kB / 361.1 MB, free: 7.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9912/0.9912, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007355/0.0007355, allocations: 88.84 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.658e-06, allocations: 4 kB / 0.8511 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4336, allocations: 115.3 MB / 0.9637 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.5732, allocations: 137.5 MB / 1.098 GB, free: 2.523 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.5735, allocations: 76.66 kB / 1.098 GB, free: 2.449 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00464/0.5781, allocations: 1.322 MB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.5782, allocations: 0 / 1.099 GB, free: 1.164 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.0002136/0.5784, allocations: 322.4 kB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.5784, allocations: 15.78 kB / 1.1 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.5784, allocations: 0.5 kB / 1.1 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.908e-05/0.5785, allocations: 170.4 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.5785, allocations: 3.906 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-06/0.5786, allocations: 0 / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.134e-05/0.5786, allocations: 0 / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.741e-05/0.5787, allocations: 29.7 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5787, allocations: 0 / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.5787, allocations: 3.609 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.5787, allocations: 0 / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.5788, allocations: 126.2 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.28e-05/0.5789, allocations: 24.25 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.5789, allocations: 8.797 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004142/0.5793, allocations: 0.5595 MB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.5793, allocations: 38.12 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.5793, allocations: 0.8438 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001404/0.5795, allocations: 29.7 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.5795, allocations: 56.12 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.384e-05/0.5795, allocations: 85.62 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.5796, allocations: 25.7 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.896e-05/0.5796, allocations: 84.62 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.5796, allocations: 0.5625 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-06/0.5796, allocations: 4.438 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.5797, allocations: 311.6 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-06/0.5797, allocations: 0.5312 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-06/0.5797, allocations: 4 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.04e-05/0.5798, allocations: 0.7188 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5798, allocations: 4.469 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.624e-05/0.5798, allocations: 42.61 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.5799, allocations: 7.984 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5799, allocations: 0.7188 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.5799, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.798e-05/0.5799, allocations: 4.688 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.5799, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.113e-05/0.5799, allocations: 2.812 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.58, allocations: 0 / 1.101 GB, free: 14.93 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 4.754e-05/0.58, allocations: 101.6 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.58, allocations: 10.61 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.5801, allocations: 44.06 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5801, allocations: 0.5938 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.5802, allocations: 3.531 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.5802, allocations: 4 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.993e-05/0.5802, allocations: 126.2 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.5802, allocations: 0 / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.5803, allocations: 0.8125 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.5803, allocations: 7.906 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.5803, allocations: 4.578 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.5803, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5803, allocations: 0.8438 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.553e-05/0.5804, allocations: 58.23 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.5804, allocations: 79.64 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.5804, allocations: 7.891 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.071e-05/0.5804, allocations: 0.7812 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-06/0.5804, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.5805, allocations: 0.7188 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.039e-05/0.5805, allocations: 75.28 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001962/0.5807, allocations: 12.53 kB / 1.102 GB, free: 14.33 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.0001356/0.5808, allocations: 112.1 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.721e-05/0.5809, allocations: 4.906 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.5809, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.911e-06/0.5809, allocations: 8.25 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.483e-05/0.581, allocations: 13.3 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001271/0.5811, allocations: 40.08 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.5813, allocations: 0.6847 MB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.5813, allocations: 0 / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of Templates: time 0.001678/0.583, allocations: 300.9 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)