Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [: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.6935/0.6935, allocations: 127.4 MB / 134.6 MB, free: 4.066 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.001084/0.001084, allocations: 189.2 kB / 164.4 MB, free: 6.871 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.583/1.583, allocations: 205.1 MB / 399.1 MB, free: 6.066 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.0009347/0.0009344, allocations: 81.22 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.211e-05/1.214e-05, allocations: 4 kB / 0.546 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1804, allocations: 76.74 MB / 0.6209 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4882/0.6687, allocations: 102.2 MB / 0.7207 GB, free: 10.26 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.669, allocations: 75.95 kB / 0.7208 GB, free: 10.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.005922/0.675, allocations: 1.577 MB / 0.7223 GB, free: 8.621 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.675, allocations: 0 / 0.7223 GB, free: 8.621 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003931/0.6754, allocations: 354.3 kB / 0.7227 GB, free: 8.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.6755, allocations: 8.031 kB / 0.7227 GB, free: 8.223 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.6755, allocations: 4 kB / 0.7227 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.6757, allocations: 163 kB / 0.7228 GB, free: 8.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.6757, allocations: 0 / 0.7228 GB, free: 8.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.6757, allocations: 4 kB / 0.7228 GB, free: 8.016 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001017/0.6759, allocations: 12 kB / 0.7228 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.676, allocations: 37.69 kB / 0.7229 GB, free: 7.961 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.676, allocations: 4 kB / 0.7229 GB, free: 7.957 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.676, allocations: 0 / 0.7229 GB, free: 7.957 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.676, allocations: 0 / 0.7229 GB, free: 7.957 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.6762, allocations: 142.1 kB / 0.723 GB, free: 7.781 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.84e-05/0.6763, allocations: 42.58 kB / 0.723 GB, free: 7.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.6764, allocations: 16.98 kB / 0.7231 GB, free: 7.711 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004655/0.6768, allocations: 0.5583 MB / 0.7236 GB, free: 7.023 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.6769, allocations: 42.55 kB / 0.7237 GB, free: 6.973 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.6769, allocations: 0 / 0.7237 GB, free: 6.973 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.000971/0.6779, allocations: 337.7 kB / 0.724 GB, free: 6.594 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.6779, allocations: 51.41 kB / 0.724 GB, free: 6.531 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/0.678, allocations: 92.98 kB / 0.7241 GB, free: 6.434 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.678, allocations: 25.7 kB / 0.7241 GB, free: 6.402 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.6781, allocations: 84.14 kB / 0.7242 GB, free: 6.316 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.6781, allocations: 19.66 kB / 0.7242 GB, free: 6.297 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.6781, allocations: 0 / 0.7242 GB, free: 6.297 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6783, allocations: 326.7 kB / 0.7245 GB, free: 5.969 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.178e-05/0.6783, allocations: 12 kB / 0.7246 GB, free: 5.957 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.6784, allocations: 20 kB / 0.7246 GB, free: 5.938 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.64e-05/0.6785, allocations: 32.89 kB / 0.7246 GB, free: 5.906 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.6785, allocations: 3.938 kB / 0.7246 GB, free: 5.902 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001618/0.6786, allocations: 77.81 kB / 0.7247 GB, free: 5.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6787, allocations: 4 kB / 0.7247 GB, free: 5.816 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6787, allocations: 0 / 0.7247 GB, free: 5.816 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.6787, allocations: 0 / 0.7247 GB, free: 5.816 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.6788, allocations: 24.17 kB / 0.7247 GB, free: 5.793 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.6788, allocations: 0 / 0.7247 GB, free: 5.793 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.6789, allocations: 7.906 kB / 0.7247 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.6789, allocations: 0 / 0.7247 GB, free: 5.785 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 (9): * Single equations (assignments): 9 * 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.163e-05/0.679, allocations: 109 kB / 0.7248 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.679, allocations: 0 / 0.7248 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.6793, allocations: 109.5 kB / 0.7249 GB, free: 5.562 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.6793, allocations: 0 / 0.7249 GB, free: 5.562 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6793, allocations: 0 / 0.7249 GB, free: 5.562 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.6793, allocations: 0 / 0.7249 GB, free: 5.562 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.6795, allocations: 142.2 kB / 0.7251 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6795, allocations: 0 / 0.7251 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.6796, allocations: 19.92 kB / 0.7251 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.6796, allocations: 4 kB / 0.7251 GB, free: 5.363 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.6796, allocations: 4 kB / 0.7251 GB, free: 5.359 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.6796, allocations: 0 / 0.7251 GB, free: 5.359 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.6796, allocations: 3.906 kB / 0.7251 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002383/0.6799, allocations: 129.1 kB / 0.7252 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.6799, allocations: 81.02 kB / 0.7253 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.68, allocations: 3.984 kB / 0.7253 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.431e-05/0.68, allocations: 0 / 0.7253 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.6801, allocations: 12.05 kB / 0.7253 GB, free: 5.098 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.6801, allocations: 0 / 0.7253 GB, free: 5.098 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.334e-05/0.6801, allocations: 79.38 kB / 0.7254 GB, free: 5.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.6803, allocations: 35.81 kB / 0.7254 GB, free: 4.984 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0002569/0.6806, allocations: 131.2 kB / 0.7255 GB, free: 4.844 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.6807, allocations: 48 kB / 0.7256 GB, free: 4.797 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.6808, allocations: 0 / 0.7256 GB, free: 4.797 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.846e-05/0.6808, allocations: 31.97 kB / 0.7256 GB, free: 4.766 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.6809, allocations: 19.08 kB / 0.7256 GB, free: 4.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.6813, allocations: 88.27 kB / 0.7257 GB, free: 4.641 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/0.6817, allocations: 0.6919 MB / 0.7264 GB, free: 3.922 MB / 490.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6817, allocations: 0 / 0.7264 GB, free: 3.922 MB / 490.7 MB Notification: Performance of Templates: time 0.00347/0.6852, allocations: 0.9659 MB / 0.7273 GB, free: 2.969 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)