Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7369/0.7369, allocations: 141.8 MB / 149.1 MB, free: 15.21 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 184.2 kB / 181.9 MB, free: 11.59 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 221.3 MB / 436 MB, free: 4.176 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009715/0.0009713, allocations: 97.11 kB / 0.507 GB, free: 18.8 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001799/0.001799, allocations: 274.5 kB / 0.5884 GB, free: 5.535 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.115e-05/1.117e-05, allocations: 4.312 kB / 0.6759 GB, free: 138.6 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1612, allocations: 82.78 MB / 0.7567 GB, free: 86.39 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.2883, allocations: 107.5 MB / 0.8617 GB, free: 10.73 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.2886, allocations: 73.58 kB / 0.8618 GB, free: 10.66 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.003763/0.2923, allocations: 0.9522 MB / 0.8627 GB, free: 9.707 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.2924, allocations: 0 / 0.8627 GB, free: 9.707 MB / 0.5419 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.0003542/0.2927, allocations: 354.4 kB / 0.8631 GB, free: 9.316 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2928, allocations: 12.03 kB / 0.8631 GB, free: 9.305 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.2928, allocations: 7.906 kB / 0.8631 GB, free: 9.297 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.293, allocations: 170.9 kB / 0.8632 GB, free: 9.09 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.293, allocations: 0 / 0.8632 GB, free: 9.09 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.2931, allocations: 4 kB / 0.8632 GB, free: 9.082 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.9e-05/0.2931, allocations: 23.86 kB / 0.8633 GB, free: 9.059 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.173e-05/0.2932, allocations: 45.62 kB / 0.8633 GB, free: 9.008 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2932, allocations: 0 / 0.8633 GB, free: 9.008 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.2933, allocations: 7.984 kB / 0.8633 GB, free: 9 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2933, allocations: 0 / 0.8633 GB, free: 9 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.2936, allocations: 310.5 kB / 0.8636 GB, free: 8.641 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.912e-05/0.2937, allocations: 33.78 kB / 0.8636 GB, free: 8.602 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.2938, allocations: 12.86 kB / 0.8637 GB, free: 8.586 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.2938, allocations: 0 / 0.8637 GB, free: 8.586 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.2938, allocations: 38.58 kB / 0.8637 GB, free: 8.539 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.2938, allocations: 4 kB / 0.8637 GB, free: 8.535 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.01898/0.3128, allocations: 1.261 MB / 0.8649 GB, free: 7.266 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.3129, allocations: 51.41 kB / 0.865 GB, free: 7.203 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.313, allocations: 105 kB / 0.8651 GB, free: 7.094 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 7.671e-05/0.3131, allocations: 25.7 kB / 0.8651 GB, free: 7.062 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3132, allocations: 84.05 kB / 0.8652 GB, free: 6.977 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 8.139e-05/0.3133, allocations: 31.64 kB / 0.8652 GB, free: 6.945 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.3134, allocations: 0 / 0.8652 GB, free: 6.945 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3135, allocations: 326.7 kB / 0.8655 GB, free: 6.617 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.3139, allocations: 111.9 kB / 0.8656 GB, free: 6.508 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.3143, allocations: 108 kB / 0.8657 GB, free: 6.402 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007559/0.315, allocations: 179.8 kB / 0.8659 GB, free: 6.227 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.315, allocations: 0 / 0.8659 GB, free: 6.227 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00138/0.3164, allocations: 337.9 kB / 0.8662 GB, free: 5.891 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3165, allocations: 4 kB / 0.8662 GB, free: 5.887 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3165, allocations: 4 kB / 0.8662 GB, free: 5.883 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3165, allocations: 7.984 kB / 0.8662 GB, free: 5.875 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.3182, allocations: 67.94 kB / 0.8663 GB, free: 5.809 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3182, allocations: 0 / 0.8663 GB, free: 5.809 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.3197, allocations: 59.94 kB / 0.8664 GB, free: 5.75 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-05/0.3198, allocations: 0 / 0.8664 GB, free: 5.75 MB / 0.5419 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.000185/0.32, allocations: 105 kB / 0.8665 GB, free: 5.641 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.881e-05/0.3201, allocations: 3.906 kB / 0.8665 GB, free: 5.637 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.3203, allocations: 28.38 kB / 0.8665 GB, free: 5.613 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3203, allocations: 0 / 0.8665 GB, free: 5.613 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3203, allocations: 7.938 kB / 0.8665 GB, free: 5.605 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3203, allocations: 3.984 kB / 0.8665 GB, free: 5.602 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006082/0.3264, allocations: 0.8454 MB / 0.8673 GB, free: 4.703 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3265, allocations: 0 / 0.8673 GB, free: 4.703 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.3277, allocations: 59.94 kB / 0.8674 GB, free: 4.645 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.3277, allocations: 0 / 0.8674 GB, free: 4.645 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.005e-05/0.3277, allocations: 8.062 kB / 0.8674 GB, free: 4.637 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3278, allocations: 0 / 0.8674 GB, free: 4.637 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3278, allocations: 4 kB / 0.8674 GB, free: 4.633 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001112/0.3289, allocations: 348.3 kB / 0.8677 GB, free: 4.258 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.3289, allocations: 89.09 kB / 0.8678 GB, free: 4.152 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-05/0.329, allocations: 3.906 kB / 0.8678 GB, free: 4.148 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.3302, allocations: 47.95 kB / 0.8679 GB, free: 4.102 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.3302, allocations: 4 kB / 0.8679 GB, free: 4.098 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.3302, allocations: 7.984 kB / 0.8679 GB, free: 4.09 MB / 0.5419 GB Notification: Performance of sort global known variables: time 6.185e-05/0.3303, allocations: 87.28 kB / 0.868 GB, free: 4.004 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0004283/0.3308, allocations: 99.94 kB / 0.8681 GB, free: 3.906 MB / 0.5419 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.0003027/0.3311, allocations: 123.2 kB / 0.8682 GB, free: 3.773 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0007525/0.3318, allocations: 187.9 kB / 0.8684 GB, free: 3.59 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.3318, allocations: 4.562 kB / 0.8684 GB, free: 3.586 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.3321, allocations: 67.92 kB / 0.8684 GB, free: 3.52 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.3324, allocations: 8.125 kB / 0.8684 GB, free: 3.512 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.3355, allocations: 337 kB / 0.8688 GB, free: 3.152 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009028/0.3364, allocations: 0.7737 MB / 0.8695 GB, free: 2.352 MB / 0.5419 GB Notification: Performance of SimCode: time 3.21e-07/0.3365, allocations: 0 / 0.8695 GB, free: 2.352 MB / 0.5419 GB Notification: Performance of Templates: time 0.2413/0.5778, allocations: 7.579 MB / 0.8769 GB, free: 166.8 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)