Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.5/1.5, allocations: 289.8 MB / 297.1 MB, free: 8.988 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.001075/0.001075, allocations: 196.6 kB / 366.3 MB, free: 11.34 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.439/1.439, allocations: 205.1 MB / 0.6256 GB, free: 11.39 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009413/0.0009414, allocations: 89.7 kB / 0.7396 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.826e-06/8.836e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2259, allocations: 116.3 MB / 0.9726 GB, free: 31.74 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6079/0.8339, allocations: 137.8 MB / 1.107 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/0.8342, allocations: 75.47 kB / 1.107 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.0035/0.8377, allocations: 0.9416 MB / 1.108 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.8377, allocations: 1.219 kB / 1.108 GB, free: 16.25 MB / 0.6823 GB 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.0002723/0.838, allocations: 360.1 kB / 1.109 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.838, allocations: 7.969 kB / 1.109 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.8381, allocations: 7.969 kB / 1.109 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.8382, allocations: 181.5 kB / 1.109 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.8382, allocations: 1.281 kB / 1.109 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.8383, allocations: 1.312 kB / 1.109 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.857e-05/0.8383, allocations: 16.27 kB / 1.109 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.778e-05/0.8384, allocations: 42.38 kB / 1.109 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.8384, allocations: 4 kB / 1.109 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.8385, allocations: 1.406 kB / 1.109 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8385, allocations: 0 / 1.109 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.8388, allocations: 303.8 kB / 1.109 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.191e-05/0.8388, allocations: 35.64 kB / 1.109 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.8389, allocations: 16.62 kB / 1.109 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.8389, allocations: 1.312 kB / 1.109 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.8389, allocations: 36.06 kB / 1.109 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.8389, allocations: 0 / 1.109 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.01878/0.8577, allocations: 1.262 MB / 1.11 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.8578, allocations: 52.78 kB / 1.11 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.8579, allocations: 114.9 kB / 1.111 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/0.858, allocations: 26.27 kB / 1.111 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.858, allocations: 87.25 kB / 1.111 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/0.8581, allocations: 24.91 kB / 1.111 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.8582, allocations: 0.5 kB / 1.111 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.8582, allocations: 317.5 kB / 1.111 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.8586, allocations: 113.9 kB / 1.111 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.859, allocations: 111.9 kB / 1.111 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007222/0.8597, allocations: 177.3 kB / 1.111 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.8597, allocations: 5.156 kB / 1.111 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0013/0.861, allocations: 333.2 kB / 1.112 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.8611, allocations: 4.344 kB / 1.112 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.8611, allocations: 6.453 kB / 1.112 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.8611, allocations: 0 / 1.112 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.8628, allocations: 74.34 kB / 1.112 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.8628, allocations: 1.281 kB / 1.112 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.8641, allocations: 52.16 kB / 1.112 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.119e-05/0.8642, allocations: 4.484 kB / 1.112 GB, free: 14.51 MB / 0.6823 GB 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.0001544/0.8644, allocations: 110.1 kB / 1.112 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/0.8645, allocations: 7 kB / 1.112 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.8647, allocations: 29.09 kB / 1.112 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.8647, allocations: 0 / 1.112 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.8648, allocations: 3.281 kB / 1.112 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.8648, allocations: 5.172 kB / 1.112 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006107/0.8709, allocations: 0.8356 MB / 1.113 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.8709, allocations: 1.656 kB / 1.113 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.8722, allocations: 61.75 kB / 1.113 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.8722, allocations: 2.578 kB / 1.113 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.898e-05/0.8723, allocations: 2.406 kB / 1.113 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.8723, allocations: 2.312 kB / 1.113 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.8723, allocations: 5.094 kB / 1.113 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001105/0.8734, allocations: 348.6 kB / 1.113 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.8734, allocations: 81.14 kB / 1.113 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/0.8735, allocations: 6.078 kB / 1.113 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.8746, allocations: 51.5 kB / 1.113 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.8746, allocations: 12.03 kB / 1.113 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-05/0.8747, allocations: 5.484 kB / 1.113 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.221e-05/0.8748, allocations: 94.09 kB / 1.113 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004252/0.8752, allocations: 98.34 kB / 1.114 GB, free: 13.68 MB / 0.6823 GB 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.000221/0.8754, allocations: 129.9 kB / 1.114 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00074/0.8762, allocations: 190.7 kB / 1.114 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8762, allocations: 0 / 1.114 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.8765, allocations: 69.39 kB / 1.114 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.8767, allocations: 1.094 kB / 1.114 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.8798, allocations: 359.5 kB / 1.114 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008206/0.8806, allocations: 0.7771 MB / 1.115 GB, free: 28.75 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/0.8806, allocations: 0 / 1.115 GB, free: 28.75 MB / 0.698 GB Notification: Performance of Templates: time 0.01374/0.8944, allocations: 7.564 MB / 1.122 GB, free: 28.13 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)