Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.464/1.464, allocations: 289.8 MB / 297.1 MB, free: 6.625 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 161.4 kB / 366.3 MB, free: 1.977 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.1 MB / 0.6256 GB, free: 7.508 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009241/0.0009242, allocations: 80.2 kB / 0.7395 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.018e-05/1.022e-05, allocations: 4 kB / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6516/0.6516, allocations: 116.3 MB / 0.9726 GB, free: 76.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/0.8298, allocations: 139 MB / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.8301, allocations: 71.95 kB / 1.108 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.009597/0.8397, allocations: 2.873 MB / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.8398, allocations: 6.344 kB / 1.111 GB, free: 8.539 MB / 0.7136 GB 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.0004026/0.8402, allocations: 432.1 kB / 1.112 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.8402, allocations: 16.03 kB / 1.112 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.8403, allocations: 3.906 kB / 1.112 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.8404, allocations: 174.9 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.8404, allocations: 4 kB / 1.112 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.8405, allocations: 0 / 1.112 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001272/0.8406, allocations: 65.2 kB / 1.112 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.8407, allocations: 97.64 kB / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.8407, allocations: 0 / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.8408, allocations: 0 / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.8408, allocations: 3.984 kB / 1.112 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.8409, allocations: 162.1 kB / 1.112 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.8411, allocations: 82.53 kB / 1.112 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.589e-05/0.8412, allocations: 72.83 kB / 1.112 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.8412, allocations: 4 kB / 1.112 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.8412, allocations: 30.56 kB / 1.112 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.8412, allocations: 0 / 1.112 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0003856/0.8416, allocations: 165.5 kB / 1.112 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.8417, allocations: 85.14 kB / 1.113 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.8418, allocations: 130.3 kB / 1.113 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.8418, allocations: 25.7 kB / 1.113 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.8419, allocations: 88.14 kB / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.8419, allocations: 11.8 kB / 1.113 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.8419, allocations: 4 kB / 1.113 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.842, allocations: 316.2 kB / 1.113 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.8422, allocations: 99.94 kB / 1.113 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.8423, allocations: 103.9 kB / 1.113 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.8425, allocations: 116.6 kB / 1.113 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8425, allocations: 0 / 1.113 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000351/0.8428, allocations: 261.4 kB / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.8429, allocations: 4 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.8429, allocations: 0 / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.8429, allocations: 0 / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.8429, allocations: 0 / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.8429, allocations: 2.062 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.843, allocations: 23.89 kB / 1.114 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.843, allocations: 4 kB / 1.114 GB, free: 5.793 MB / 0.7136 GB 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.0001025/0.8431, allocations: 134.7 kB / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.8432, allocations: 8.844 kB / 1.114 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.8432, allocations: 8.109 kB / 1.114 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.8432, allocations: 7.906 kB / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8432, allocations: 0 / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.8432, allocations: 0 / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.8433, allocations: 146.2 kB / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.8433, allocations: 3.984 kB / 1.114 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.8433, allocations: 8 kB / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.8434, allocations: 0 / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.8434, allocations: 0 / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8434, allocations: 1.031 kB / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.8434, allocations: 3.906 kB / 1.114 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002626/0.8437, allocations: 196.9 kB / 1.114 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.8437, allocations: 86.7 kB / 1.114 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.8437, allocations: 3.984 kB / 1.114 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.866e-05/0.8438, allocations: 8.031 kB / 1.114 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.8439, allocations: 8 kB / 1.114 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.8439, allocations: 4 kB / 1.114 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.134e-05/0.8439, allocations: 105.4 kB / 1.114 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002884/0.8442, allocations: 71.94 kB / 1.114 GB, free: 4.91 MB / 0.7136 GB 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.0002982/0.8445, allocations: 163.1 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002902/0.8448, allocations: 244.2 kB / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8449, allocations: 3.938 kB / 1.115 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.845, allocations: 113.6 kB / 1.115 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000112/0.8451, allocations: 12.89 kB / 1.115 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.8454, allocations: 154.5 kB / 1.115 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.8457, allocations: 0.6993 MB / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.8457, allocations: 0 / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of Templates: time 0.004014/0.8497, allocations: 1.708 MB / 1.117 GB, free: 1.805 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)