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.7305/0.7305, 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.001186/0.001186, allocations: 185.2 kB / 164.4 MB, free: 6.895 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.869/1.869, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.0009523/0.0009523, allocations: 87.28 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.275e-05/1.277e-05, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1693, allocations: 76.74 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4433/0.6127, allocations: 102.2 MB / 0.7207 GB, free: 10.21 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.613, allocations: 76.61 kB / 0.7208 GB, free: 10.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.005637/0.6186, allocations: 1.576 MB / 0.7223 GB, free: 8.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.6186, allocations: 0 / 0.7223 GB, free: 8.57 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.0003179/0.619, allocations: 342.4 kB / 0.7226 GB, free: 8.191 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.619, allocations: 16.02 kB / 0.7227 GB, free: 8.176 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.6191, allocations: 3.938 kB / 0.7227 GB, free: 8.172 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.6192, allocations: 166.9 kB / 0.7228 GB, free: 7.969 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.6192, allocations: 8 kB / 0.7228 GB, free: 7.961 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.6192, allocations: 0 / 0.7228 GB, free: 7.961 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.047e-05/0.6193, allocations: 12 kB / 0.7228 GB, free: 7.949 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.642e-05/0.6194, allocations: 41.69 kB / 0.7229 GB, free: 7.902 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.6194, allocations: 3.984 kB / 0.7229 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.6195, allocations: 0 / 0.7229 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.6195, allocations: 0 / 0.7229 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.6196, allocations: 142.1 kB / 0.723 GB, free: 7.723 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.302e-05/0.6197, allocations: 42.64 kB / 0.7231 GB, free: 7.672 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.6198, allocations: 20.92 kB / 0.7231 GB, free: 7.648 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004431/0.6202, allocations: 0.5544 MB / 0.7236 GB, free: 6.965 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.6202, allocations: 33.69 kB / 0.7237 GB, free: 6.926 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.6202, allocations: 0 / 0.7237 GB, free: 6.926 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008924/0.6211, allocations: 352.6 kB / 0.724 GB, free: 6.531 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.6212, allocations: 51.41 kB / 0.724 GB, free: 6.469 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.961e-05/0.6213, allocations: 85 kB / 0.7241 GB, free: 6.379 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.6213, allocations: 25.7 kB / 0.7241 GB, free: 6.348 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.6213, allocations: 84.14 kB / 0.7242 GB, free: 6.262 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.6213, allocations: 23.64 kB / 0.7242 GB, free: 6.238 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.6214, allocations: 0 / 0.7242 GB, free: 6.238 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.6215, allocations: 322.9 kB / 0.7246 GB, free: 5.914 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.6215, allocations: 16 kB / 0.7246 GB, free: 5.898 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.6216, allocations: 27.92 kB / 0.7246 GB, free: 5.871 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.6216, allocations: 16 kB / 0.7246 GB, free: 5.855 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.6216, allocations: 0 / 0.7246 GB, free: 5.855 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001542/0.6218, allocations: 85.73 kB / 0.7247 GB, free: 5.766 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6218, allocations: 4 kB / 0.7247 GB, free: 5.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6218, allocations: 0 / 0.7247 GB, free: 5.762 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.6219, allocations: 4 kB / 0.7247 GB, free: 5.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.622, allocations: 12 kB / 0.7247 GB, free: 5.746 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.622, allocations: 4 kB / 0.7247 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/0.622, allocations: 3.906 kB / 0.7247 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.622, allocations: 11.98 kB / 0.7247 GB, free: 5.727 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 7.033e-05/0.6221, allocations: 104.9 kB / 0.7248 GB, free: 5.617 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.6221, allocations: 0 / 0.7248 GB, free: 5.617 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.6224, allocations: 98.34 kB / 0.7249 GB, free: 5.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6224, allocations: 0 / 0.7249 GB, free: 5.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6224, allocations: 0 / 0.7249 GB, free: 5.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.6224, allocations: 7.984 kB / 0.7249 GB, free: 5.512 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.6226, allocations: 146.2 kB / 0.7251 GB, free: 5.332 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6226, allocations: 0 / 0.7251 GB, free: 5.332 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.6227, allocations: 15.98 kB / 0.7251 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.6227, allocations: 4 kB / 0.7251 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.6227, allocations: 0 / 0.7251 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.6227, allocations: 0 / 0.7251 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6227, allocations: 8 kB / 0.7251 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002639/0.623, allocations: 133.1 kB / 0.7252 GB, free: 5.156 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.6231, allocations: 81.89 kB / 0.7253 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.6231, allocations: 0 / 0.7253 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.628e-05/0.6231, allocations: 0 / 0.7253 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.6232, allocations: 4 kB / 0.7253 GB, free: 5.055 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.6232, allocations: 8 kB / 0.7253 GB, free: 5.047 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.303e-05/0.6232, allocations: 79.27 kB / 0.7254 GB, free: 4.969 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002152/0.6234, allocations: 27.94 kB / 0.7254 GB, free: 4.941 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.0002062/0.6237, allocations: 135.3 kB / 0.7255 GB, free: 4.797 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.6238, allocations: 52.09 kB / 0.7256 GB, free: 4.746 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6238, allocations: 3.938 kB / 0.7256 GB, free: 4.742 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.119e-05/0.6238, allocations: 27.94 kB / 0.7256 GB, free: 4.715 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.624, allocations: 7.906 kB / 0.7256 GB, free: 4.707 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.6243, allocations: 92.25 kB / 0.7257 GB, free: 4.594 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.6246, allocations: 0.6988 MB / 0.7264 GB, free: 3.871 MB / 490.7 MB Notification: Performance of SimCode: time 2.11e-07/0.6246, allocations: 4 kB / 0.7264 GB, free: 3.867 MB / 490.7 MB Notification: Performance of Templates: time 0.0031/0.6277, allocations: 0.9682 MB / 0.7274 GB, free: 2.914 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)