Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.321/1.321, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009127/0.0009127, allocations: 189.2 kB / 361.1 MB, free: 7.074 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.054/1.054, allocations: 205.1 MB / 0.6195 GB, free: 10.26 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.0008058/0.0008058, allocations: 101.7 kB / 0.7326 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.044e-06, allocations: 0 / 0.8511 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4701, allocations: 115.3 MB / 0.9637 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.616, allocations: 138.4 MB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.6162, allocations: 76.8 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.006148/0.6224, allocations: 1.812 MB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.6224, allocations: 2.969 kB / 1.101 GB, free: 15.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003175/0.6227, allocations: 354.3 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.6228, allocations: 12.53 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.6228, allocations: 0 / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.6229, allocations: 174.9 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.623, allocations: 2.656 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.623, allocations: 4.516 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.602e-05/0.6231, allocations: 19.94 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.819e-05/0.6232, allocations: 46.5 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.6232, allocations: 0.5 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.6232, allocations: 0.5156 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.6232, allocations: 5.219 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.6235, allocations: 247 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.448e-05/0.6236, allocations: 31.52 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.727e-05/0.6236, allocations: 19.38 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004859/0.6241, allocations: 0.5527 MB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.6241, allocations: 31.09 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.6242, allocations: 4.844 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002081/0.6244, allocations: 41.61 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.6244, allocations: 53.59 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.176e-05/0.6245, allocations: 105.6 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.6245, allocations: 25.7 kB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.6246, allocations: 88.14 kB / 1.102 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.6246, allocations: 11.78 kB / 1.102 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.6246, allocations: 0 / 1.102 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6247, allocations: 318.8 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.6247, allocations: 8.5 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.254e-05/0.6248, allocations: 5.469 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.6248, allocations: 11.91 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6248, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.672e-05/0.6249, allocations: 46.56 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.6249, allocations: 4.531 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6249, allocations: 4 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.625, allocations: 0.5938 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.625, allocations: 9.578 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.6251, allocations: 3.875 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.801e-05/0.6251, allocations: 8.5 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.6251, allocations: 0.75 kB / 1.103 GB, free: 13.17 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 6.66e-05/0.6252, allocations: 102.4 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.6252, allocations: 8.125 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.6254, allocations: 57.16 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.6254, allocations: 0 / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.6254, allocations: 3.984 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6254, allocations: 0 / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.6255, allocations: 142.8 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.6255, allocations: 0 / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.877e-05/0.6256, allocations: 7.984 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.6256, allocations: 4 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.6256, allocations: 4.031 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.6256, allocations: 3.906 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6256, allocations: 0 / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001284/0.6258, allocations: 142.2 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.6258, allocations: 85.02 kB / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.6258, allocations: 0.6094 kB / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.6259, allocations: 4.031 kB / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.6259, allocations: 9.578 kB / 1.103 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.626, allocations: 0 / 1.103 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.936e-05/0.626, allocations: 83.28 kB / 1.103 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002206/0.6262, allocations: 19.91 kB / 1.104 GB, free: 12.43 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.0001441/0.6264, allocations: 119 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.445e-05/0.6265, allocations: 12 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.6265, allocations: 0 / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.942e-05/0.6265, allocations: 12.06 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.6266, allocations: 4 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002149/0.6268, allocations: 68.53 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.6271, allocations: 0.6958 MB / 1.104 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.6271, allocations: 0 / 1.104 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of Templates: time 0.001985/0.6291, allocations: 448.1 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)