Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite") [: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.7135/0.7135, allocations: 127.4 MB / 134.6 MB, free: 4.109 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.001063/0.001063, allocations: 185.3 kB / 164.4 MB, free: 6.898 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.828/1.828, 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.001088/0.001088, allocations: 89.64 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.265e-05/1.268e-05, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2091, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5362/0.7453, allocations: 102.7 MB / 0.7213 GB, free: 9.656 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.7456, allocations: 83.89 kB / 0.7213 GB, free: 9.574 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.009897/0.7556, allocations: 2.967 MB / 0.7242 GB, free: 6.613 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.7556, allocations: 4 kB / 0.7242 GB, free: 6.609 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003944/0.756, allocations: 428.1 kB / 0.7247 GB, free: 6.137 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.7561, allocations: 12.03 kB / 0.7247 GB, free: 6.125 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.7561, allocations: 7.906 kB / 0.7247 GB, free: 6.117 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.7563, allocations: 167 kB / 0.7248 GB, free: 5.914 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.7563, allocations: 4 kB / 0.7248 GB, free: 5.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.7563, allocations: 0 / 0.7248 GB, free: 5.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001339/0.7564, allocations: 63.95 kB / 0.7249 GB, free: 5.848 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.7566, allocations: 105.5 kB / 0.725 GB, free: 5.738 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.7566, allocations: 3.938 kB / 0.725 GB, free: 5.734 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.7566, allocations: 0 / 0.725 GB, free: 5.734 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.7566, allocations: 0 / 0.725 GB, free: 5.734 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.7568, allocations: 166.1 kB / 0.7252 GB, free: 5.535 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.7569, allocations: 78.55 kB / 0.7252 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.407e-05/0.757, allocations: 68.89 kB / 0.7253 GB, free: 5.379 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-06/0.757, allocations: 0 / 0.7253 GB, free: 5.379 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.757, allocations: 34.56 kB / 0.7253 GB, free: 5.336 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.757, allocations: 0 / 0.7253 GB, free: 5.336 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003082/0.7574, allocations: 165.5 kB / 0.7255 GB, free: 5.168 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.7574, allocations: 93.08 kB / 0.7256 GB, free: 5.059 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.7575, allocations: 128.6 kB / 0.7257 GB, free: 4.926 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.7576, allocations: 25.7 kB / 0.7257 GB, free: 4.895 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.7576, allocations: 96.03 kB / 0.7258 GB, free: 4.797 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.7576, allocations: 3.906 kB / 0.7258 GB, free: 4.793 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.7576, allocations: 0 / 0.7258 GB, free: 4.793 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.7578, allocations: 322.8 kB / 0.7261 GB, free: 4.469 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.7579, allocations: 99.94 kB / 0.7262 GB, free: 4.371 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.758, allocations: 103.9 kB / 0.7263 GB, free: 4.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.7582, allocations: 109.5 kB / 0.7264 GB, free: 4.164 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7582, allocations: 0 / 0.7264 GB, free: 4.164 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004127/0.7586, allocations: 261.4 kB / 0.7267 GB, free: 3.902 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.7587, allocations: 8 kB / 0.7267 GB, free: 3.895 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7587, allocations: 3.984 kB / 0.7267 GB, free: 3.891 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.7587, allocations: 0 / 0.7267 GB, free: 3.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.7587, allocations: 3.938 kB / 0.7267 GB, free: 3.887 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.7587, allocations: 0 / 0.7267 GB, free: 3.887 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.032e-05/0.7588, allocations: 15.91 kB / 0.7267 GB, free: 3.871 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.7588, allocations: 8 kB / 0.7267 GB, free: 3.863 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: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001015/0.7589, allocations: 142.6 kB / 0.7269 GB, free: 3.711 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.759, allocations: 7.906 kB / 0.7269 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.759, allocations: 4.125 kB / 0.7269 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.759, allocations: 0 / 0.7269 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.759, allocations: 0 / 0.7269 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.759, allocations: 4 kB / 0.7269 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.7591, allocations: 154.1 kB / 0.727 GB, free: 3.508 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.7591, allocations: 0 / 0.727 GB, free: 3.508 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.7591, allocations: 4 kB / 0.727 GB, free: 3.504 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.7591, allocations: 4 kB / 0.727 GB, free: 3.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.7592, allocations: 0 / 0.727 GB, free: 3.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.7592, allocations: 4 kB / 0.727 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.7592, allocations: 0 / 0.727 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002588/0.7594, allocations: 200.8 kB / 0.7272 GB, free: 3.281 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.7595, allocations: 81.11 kB / 0.7273 GB, free: 3.184 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.7595, allocations: 3.906 kB / 0.7273 GB, free: 3.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.7596, allocations: 8.031 kB / 0.7273 GB, free: 3.172 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.7596, allocations: 11.98 kB / 0.7273 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.7597, allocations: 4 kB / 0.7273 GB, free: 3.156 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.706e-05/0.7597, allocations: 99.27 kB / 0.7274 GB, free: 3.059 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003648/0.7601, allocations: 71.92 kB / 0.7275 GB, free: 2.988 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: 1 (i) * Number of discrete states: 1 (i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003089/0.7604, allocations: 159 kB / 0.7276 GB, free: 2.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002897/0.7607, allocations: 251.3 kB / 0.7279 GB, free: 2.562 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.7607, allocations: 0 / 0.7279 GB, free: 2.562 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.7608, allocations: 113.6 kB / 0.728 GB, free: 2.445 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.761, allocations: 4 kB / 0.728 GB, free: 2.441 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.7613, allocations: 159.6 kB / 0.7281 GB, free: 2.262 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.7616, allocations: 0.7032 MB / 0.7288 GB, free: 1.535 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7616, allocations: 4 kB / 0.7288 GB, free: 1.531 MB / 490.7 MB Notification: Performance of Templates: time 0.004165/0.7657, allocations: 1.71 MB / 0.7305 GB, free: 15.83 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)