Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.852/0.852, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 189.2 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 399.1 MB, free: 6.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 87.28 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.828e-06/9.858e-06, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2133, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5467/0.7601, allocations: 102 MB / 0.7205 GB, free: 10.43 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.7604, allocations: 75.95 kB / 0.7206 GB, free: 10.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.003664/0.7641, allocations: 0.9148 MB / 0.7215 GB, free: 9.445 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.7641, allocations: 0 / 0.7215 GB, free: 9.445 MB / 490.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.000325/0.7645, allocations: 326.4 kB / 0.7218 GB, free: 9.082 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.7645, allocations: 8.031 kB / 0.7218 GB, free: 9.074 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.7646, allocations: 8 kB / 0.7218 GB, free: 9.066 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.7647, allocations: 159.1 kB / 0.722 GB, free: 8.871 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.7647, allocations: 0 / 0.722 GB, free: 8.871 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.7647, allocations: 0 / 0.722 GB, free: 8.871 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.897e-05/0.7648, allocations: 4.812 kB / 0.722 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.322e-05/0.7649, allocations: 29.7 kB / 0.722 GB, free: 8.832 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.7649, allocations: 3.906 kB / 0.722 GB, free: 8.828 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.7649, allocations: 3.984 kB / 0.722 GB, free: 8.824 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.7649, allocations: 0 / 0.722 GB, free: 8.824 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.7651, allocations: 126.2 kB / 0.7221 GB, free: 8.664 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.284e-05/0.7652, allocations: 22.61 kB / 0.7221 GB, free: 8.633 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.7652, allocations: 4.859 kB / 0.7222 GB, free: 8.625 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006035/0.7658, allocations: 0.5545 MB / 0.7227 GB, free: 7.941 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.7659, allocations: 30.56 kB / 0.7227 GB, free: 7.902 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 4.719e-06/0.7659, allocations: 4 kB / 0.7227 GB, free: 7.898 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002337/0.7662, allocations: 38.28 kB / 0.7228 GB, free: 7.855 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.7662, allocations: 55.41 kB / 0.7228 GB, free: 7.789 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.678e-05/0.7663, allocations: 89 kB / 0.7229 GB, free: 7.695 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.7663, allocations: 25.7 kB / 0.7229 GB, free: 7.664 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.7664, allocations: 80.14 kB / 0.723 GB, free: 7.582 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.7664, allocations: 3.906 kB / 0.723 GB, free: 7.578 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/0.7664, allocations: 2.188 kB / 0.723 GB, free: 7.578 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.7666, allocations: 315.8 kB / 0.7233 GB, free: 7.262 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.7666, allocations: 0 / 0.7233 GB, free: 7.262 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.033e-05/0.7666, allocations: 4 kB / 0.7233 GB, free: 7.258 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.44e-05/0.7667, allocations: 0 / 0.7233 GB, free: 7.258 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7667, allocations: 0 / 0.7233 GB, free: 7.258 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.476e-05/0.7668, allocations: 40.38 kB / 0.7234 GB, free: 7.215 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.7668, allocations: 7.938 kB / 0.7234 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7668, allocations: 0 / 0.7234 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.7669, allocations: 3.906 kB / 0.7234 GB, free: 7.203 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.775e-05/0.7669, allocations: 8.094 kB / 0.7234 GB, free: 7.195 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.7669, allocations: 3.938 kB / 0.7234 GB, free: 7.191 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.439e-05/0.767, allocations: 0 / 0.7234 GB, free: 7.191 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.767, allocations: 0 / 0.7234 GB, free: 7.191 MB / 490.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 9.304e-05/0.7671, allocations: 101 kB / 0.7235 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.7671, allocations: 4 kB / 0.7235 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.7673, allocations: 44.69 kB / 0.7235 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.7673, allocations: 3.906 kB / 0.7235 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.7673, allocations: 0 / 0.7235 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.7673, allocations: 0 / 0.7235 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.531e-05/0.7674, allocations: 134.2 kB / 0.7237 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.7674, allocations: 0 / 0.7237 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.689e-05/0.7674, allocations: 0 / 0.7237 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.7674, allocations: 0 / 0.7237 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.7674, allocations: 4 kB / 0.7237 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.7675, allocations: 3.938 kB / 0.7237 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7675, allocations: 4.031 kB / 0.7237 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001088/0.7676, allocations: 61.03 kB / 0.7237 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.7676, allocations: 81.11 kB / 0.7238 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.7677, allocations: 4 kB / 0.7238 GB, free: 6.672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/0.7677, allocations: 0 / 0.7238 GB, free: 6.672 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.7677, allocations: 0 / 0.7238 GB, free: 6.672 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.7677, allocations: 0 / 0.7238 GB, free: 6.672 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.633e-05/0.7678, allocations: 81.75 kB / 0.7239 GB, free: 6.594 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.768, allocations: 19.84 kB / 0.7239 GB, free: 6.574 MB / 490.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.0002084/0.7682, allocations: 103.2 kB / 0.724 GB, free: 6.465 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.972e-05/0.7683, allocations: 4 kB / 0.724 GB, free: 6.461 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7683, allocations: 0 / 0.724 GB, free: 6.461 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.332e-06/0.7683, allocations: 7.938 kB / 0.724 GB, free: 6.453 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.7684, allocations: 0 / 0.724 GB, free: 6.453 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/0.7686, allocations: 44.2 kB / 0.724 GB, free: 6.387 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.7689, allocations: 0.6841 MB / 0.7247 GB, free: 5.676 MB / 490.7 MB Notification: Performance of SimCode: time 2.11e-07/0.7689, allocations: 0 / 0.7247 GB, free: 5.676 MB / 490.7 MB Notification: Performance of Templates: time 0.0025/0.7714, allocations: 316 kB / 0.725 GB, free: 5.371 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)