Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite") [: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.7039/0.7039, allocations: 127.3 MB / 134.6 MB, free: 4.062 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.001141/0.001141, allocations: 177.3 kB / 164.4 MB, free: 6.883 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.931/1.931, allocations: 205.1 MB / 399.1 MB, free: 6.141 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.001137/0.001137, allocations: 89.66 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.267e-05/1.271e-05, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1717, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.6231, allocations: 101.5 MB / 0.72 GB, free: 10.89 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.6234, allocations: 71.95 kB / 0.7201 GB, free: 10.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.003843/0.6272, allocations: 0.9658 MB / 0.7211 GB, free: 9.863 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.6273, allocations: 4 kB / 0.7211 GB, free: 9.859 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.0003756/0.6277, allocations: 354.4 kB / 0.7214 GB, free: 9.469 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.6277, allocations: 12.03 kB / 0.7214 GB, free: 9.457 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.6278, allocations: 7.891 kB / 0.7214 GB, free: 9.449 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.6279, allocations: 175 kB / 0.7216 GB, free: 9.238 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.628, allocations: 0 / 0.7216 GB, free: 9.238 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.628, allocations: 3.906 kB / 0.7216 GB, free: 9.234 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.218e-05/0.6281, allocations: 15.98 kB / 0.7216 GB, free: 9.219 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.12e-05/0.6282, allocations: 45.62 kB / 0.7216 GB, free: 9.168 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.6282, allocations: 0 / 0.7216 GB, free: 9.168 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.6282, allocations: 0 / 0.7216 GB, free: 9.168 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.6282, allocations: 3.984 kB / 0.7217 GB, free: 9.164 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.6286, allocations: 310.6 kB / 0.7219 GB, free: 8.805 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.837e-05/0.6287, allocations: 29.7 kB / 0.722 GB, free: 8.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.6287, allocations: 12.86 kB / 0.722 GB, free: 8.754 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.6287, allocations: 0 / 0.722 GB, free: 8.754 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.6288, allocations: 39.44 kB / 0.722 GB, free: 8.707 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.6288, allocations: 0.6562 kB / 0.722 GB, free: 8.707 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.01856/0.6473, allocations: 1.265 MB / 0.7233 GB, free: 7.434 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.6474, allocations: 55.41 kB / 0.7233 GB, free: 7.367 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.6475, allocations: 109 kB / 0.7234 GB, free: 7.254 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.427e-05/0.6476, allocations: 25.7 kB / 0.7234 GB, free: 7.223 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.6477, allocations: 90.17 kB / 0.7235 GB, free: 7.133 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.106e-05/0.6478, allocations: 27.7 kB / 0.7236 GB, free: 7.105 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.6478, allocations: 0 / 0.7236 GB, free: 7.105 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.648, allocations: 318.8 kB / 0.7239 GB, free: 6.785 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.6483, allocations: 112 kB / 0.724 GB, free: 6.676 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.6487, allocations: 116.4 kB / 0.7241 GB, free: 6.562 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007319/0.6494, allocations: 175.9 kB / 0.7242 GB, free: 6.391 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.6494, allocations: 0 / 0.7242 GB, free: 6.391 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001328/0.6508, allocations: 333.5 kB / 0.7246 GB, free: 6.059 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.6508, allocations: 7.906 kB / 0.7246 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6508, allocations: 4 kB / 0.7246 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.6508, allocations: 0 / 0.7246 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.6525, allocations: 75.86 kB / 0.7246 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.6525, allocations: 0.7031 kB / 0.7246 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.654, allocations: 51.95 kB / 0.7247 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.259e-05/0.654, allocations: 7.984 kB / 0.7247 GB, free: 5.914 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 0.0001896/0.6542, allocations: 101 kB / 0.7248 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/0.6543, allocations: 11.91 kB / 0.7248 GB, free: 5.797 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.6546, allocations: 28.38 kB / 0.7248 GB, free: 5.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.6546, allocations: 0 / 0.7248 GB, free: 5.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6546, allocations: 7.938 kB / 0.7248 GB, free: 5.762 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6546, allocations: 0 / 0.7248 GB, free: 5.762 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006056/0.6607, allocations: 0.834 MB / 0.7257 GB, free: 4.879 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.6607, allocations: 3.984 kB / 0.7257 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.6619, allocations: 59.89 kB / 0.7257 GB, free: 4.816 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.6619, allocations: 3.984 kB / 0.7257 GB, free: 4.812 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/0.662, allocations: 8.062 kB / 0.7257 GB, free: 4.805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.662, allocations: 0 / 0.7257 GB, free: 4.805 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.662, allocations: 0 / 0.7257 GB, free: 4.805 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001107/0.6631, allocations: 352.5 kB / 0.7261 GB, free: 4.426 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.6632, allocations: 89.02 kB / 0.7262 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.6633, allocations: 0 / 0.7262 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.6644, allocations: 43.95 kB / 0.7262 GB, free: 4.277 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.6644, allocations: 15.83 kB / 0.7262 GB, free: 4.262 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/0.6645, allocations: 8 kB / 0.7262 GB, free: 4.254 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.057e-05/0.6645, allocations: 99.3 kB / 0.7263 GB, free: 4.156 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004159/0.665, allocations: 99.94 kB / 0.7264 GB, free: 4.059 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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.0002828/0.6653, allocations: 119.2 kB / 0.7265 GB, free: 3.934 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007457/0.666, allocations: 187.9 kB / 0.7267 GB, free: 3.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.666, allocations: 0 / 0.7267 GB, free: 3.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.6663, allocations: 64 kB / 0.7268 GB, free: 3.688 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.6665, allocations: 4.125 kB / 0.7268 GB, free: 3.684 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.6695, allocations: 356.7 kB / 0.7271 GB, free: 3.305 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008668/0.6704, allocations: 0.7737 MB / 0.7279 GB, free: 2.504 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6704, allocations: 0 / 0.7279 GB, free: 2.504 MB / 490.7 MB Notification: Performance of Templates: time 0.01132/0.6818, allocations: 7.578 MB / 0.7353 GB, free: 10.89 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)