Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.57/1.57, allocations: 289.8 MB / 297 MB, free: 9.055 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.001166/0.001166, allocations: 180.6 kB / 366.3 MB, free: 11.35 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.301/1.301, allocations: 205.1 MB / 0.6256 GB, free: 11.39 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008385/0.0008385, allocations: 103 kB / 0.7396 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.362e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1632, allocations: 116.3 MB / 0.9726 GB, free: 31.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.48/0.6433, allocations: 139.4 MB / 1.109 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.6435, allocations: 69.5 kB / 1.109 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.006246/0.6498, allocations: 1.816 MB / 1.111 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.6498, allocations: 1.281 kB / 1.111 GB, free: 16.23 MB / 0.6823 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.0002558/0.6501, allocations: 363.6 kB / 1.111 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.6501, allocations: 7.938 kB / 1.111 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.6502, allocations: 11.12 kB / 1.111 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.063e-05/0.6503, allocations: 174.7 kB / 1.111 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.6503, allocations: 2 kB / 1.111 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.6503, allocations: 1.625 kB / 1.111 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.33e-05/0.6504, allocations: 15.33 kB / 1.111 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.887e-05/0.6504, allocations: 48.5 kB / 1.111 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.6505, allocations: 0 / 1.111 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.6505, allocations: 0 / 1.111 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.6505, allocations: 0 / 1.111 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.6507, allocations: 258.4 kB / 1.111 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/0.6508, allocations: 23.48 kB / 1.111 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.6508, allocations: 11.11 kB / 1.111 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/0.6511, allocations: 0.5627 MB / 1.112 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.6512, allocations: 33.81 kB / 1.112 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.6512, allocations: 1.281 kB / 1.112 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000167/0.6513, allocations: 44.73 kB / 1.112 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.6514, allocations: 54.12 kB / 1.112 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.639e-05/0.6514, allocations: 101.3 kB / 1.112 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.6514, allocations: 26.95 kB / 1.112 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.931e-05/0.6515, allocations: 89.7 kB / 1.112 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.6515, allocations: 13 kB / 1.112 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.6515, allocations: 0 / 1.112 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.123e-05/0.6515, allocations: 313.7 kB / 1.113 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.6515, allocations: 7.219 kB / 1.113 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.6516, allocations: 7.812 kB / 1.113 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.673e-05/0.6516, allocations: 3.75 kB / 1.113 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.6516, allocations: 3.938 kB / 1.113 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.346e-05/0.6517, allocations: 49.64 kB / 1.113 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.6517, allocations: 9.781 kB / 1.113 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6517, allocations: 5.344 kB / 1.113 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.6517, allocations: 0 / 1.113 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.942e-05/0.6518, allocations: 7.453 kB / 1.113 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.6518, allocations: 0 / 1.113 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.481e-05/0.6519, allocations: 4.188 kB / 1.113 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.6519, allocations: 1.281 kB / 1.113 GB, free: 13.97 MB / 0.6823 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 3.76e-05/0.6519, allocations: 114.2 kB / 1.113 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.652, allocations: 1.312 kB / 1.113 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.6521, allocations: 59.55 kB / 1.113 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6521, allocations: 3.906 kB / 1.113 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6521, allocations: 1.031 kB / 1.113 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6521, allocations: 0 / 1.113 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.6522, allocations: 144.8 kB / 1.113 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.6522, allocations: 0 / 1.113 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.6523, allocations: 6.594 kB / 1.113 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6523, allocations: 5.406 kB / 1.113 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.6523, allocations: 0 / 1.113 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.6523, allocations: 1.531 kB / 1.113 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6523, allocations: 1.5 kB / 1.113 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.198e-05/0.6524, allocations: 141 kB / 1.113 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.6524, allocations: 86.38 kB / 1.113 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.6525, allocations: 3.5 kB / 1.113 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.6525, allocations: 6.531 kB / 1.113 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.6526, allocations: 3 kB / 1.113 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.6526, allocations: 1.062 kB / 1.113 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.431e-05/0.6526, allocations: 83.84 kB / 1.113 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002177/0.6528, allocations: 15.28 kB / 1.113 GB, free: 13.33 MB / 0.6823 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.0001195/0.6529, allocations: 116.9 kB / 1.113 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.291e-05/0.653, allocations: 18.03 kB / 1.113 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.653, allocations: 4.062 kB / 1.113 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.865e-05/0.6531, allocations: 5.156 kB / 1.113 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.6532, allocations: 2.406 kB / 1.113 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000187/0.6534, allocations: 72.05 kB / 1.114 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.6537, allocations: 0.6935 MB / 1.114 GB, free: 28.45 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/0.6537, allocations: 1.125 kB / 1.114 GB, free: 28.45 MB / 0.698 GB Notification: Performance of Templates: time 0.001933/0.6556, allocations: 447.7 kB / 1.115 GB, free: 28.39 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)