Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice") [: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.385/2.385, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.001588/0.001587, allocations: 185.2 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.728/1.728, allocations: 205.2 MB / 0.6188 GB, free: 12.41 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.001193/0.001192, allocations: 90.94 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.559e-05/1.575e-05, allocations: 4 kB / 0.8502 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6024/0.6025, allocations: 115.2 MB / 0.9628 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2144/0.8169, allocations: 138.4 MB / 1.098 GB, free: 2.398 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.8172, allocations: 72.7 kB / 1.098 GB, free: 2.328 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.008369/0.8256, allocations: 1.481 MB / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.8257, allocations: 0.8438 kB / 1.099 GB, free: 0.8906 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004762/0.8262, allocations: 369 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.8262, allocations: 12.52 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.8263, allocations: 4 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.8264, allocations: 176.3 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.8265, allocations: 0 / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.8265, allocations: 0.6562 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.922e-05/0.8266, allocations: 23.97 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.8267, allocations: 42.7 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.8267, allocations: 0 / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.8268, allocations: 0 / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.8268, allocations: 8.516 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.8272, allocations: 249.3 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.306e-05/0.8273, allocations: 23.83 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.8273, allocations: 12.92 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005724/0.8279, allocations: 0.5579 MB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.828, allocations: 32.38 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.853e-06/0.828, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002448/0.8282, allocations: 54.05 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.8283, allocations: 51.91 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.8284, allocations: 101.6 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.8284, allocations: 26.98 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.8285, allocations: 88.08 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.8285, allocations: 7.906 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.8285, allocations: 0.75 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8286, allocations: 315.4 kB / 1.101 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.827e-05/0.8287, allocations: 8.906 kB / 1.101 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/0.8287, allocations: 4 kB / 1.101 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.8288, allocations: 12.44 kB / 1.101 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8288, allocations: 0.5 kB / 1.101 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000138/0.8289, allocations: 50.12 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.829, allocations: 4.812 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.829, allocations: 0.7812 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.829, allocations: 0.7188 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.8292, allocations: 13.69 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.8292, allocations: 4 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/0.8293, allocations: 7.891 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.8293, allocations: 4 kB / 1.102 GB, free: 14.36 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 (2): * Single equations (assignments): 2 * 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.516e-05/0.8294, allocations: 107.2 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.8294, allocations: 0.7969 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.8296, allocations: 55.09 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8296, allocations: 6.812 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8297, allocations: 4.031 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.8297, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.8299, allocations: 146.2 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8299, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-05/0.83, allocations: 7.938 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.83, allocations: 0.7031 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.83, allocations: 6.359 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.83, allocations: 3.906 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.83, allocations: 4 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001843/0.8302, allocations: 139.5 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.8303, allocations: 81.02 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.8303, allocations: 0 / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.8304, allocations: 4 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.8305, allocations: 0 / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.8305, allocations: 4 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.97e-05/0.8305, allocations: 95.36 kB / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003311/0.8309, allocations: 19.84 kB / 1.102 GB, free: 13.61 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 (2): * Single equations (assignments): 2 * 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.0001766/0.8311, allocations: 99.25 kB / 1.102 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.859e-05/0.8312, allocations: 19.92 kB / 1.102 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8312, allocations: 0 / 1.102 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.8312, allocations: 12 kB / 1.102 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.8314, allocations: 0.9375 kB / 1.102 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.8317, allocations: 71.67 kB / 1.102 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.8321, allocations: 0.6996 MB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of SimCode: time 6.92e-07/0.8321, allocations: 0 / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.00305/0.8351, allocations: 445.8 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)