Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.411/2.411, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001567, allocations: 168.1 kB / 360.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.1 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.00128, allocations: 89 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.263e-05/1.301e-05, allocations: 4 kB / 0.8503 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6201/0.6202, allocations: 115.2 MB / 0.9628 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2136/0.8338, allocations: 137.9 MB / 1.097 GB, free: 2.875 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.8342, allocations: 76.56 kB / 1.098 GB, free: 2.801 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01614/0.8504, allocations: 2.872 MB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.8504, allocations: 4 kB / 1.1 GB, free: 15.99 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.0004928/0.8509, allocations: 436.1 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.851, allocations: 12.03 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.8511, allocations: 9.781 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.8512, allocations: 172 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.8512, allocations: 4 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.8513, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001875/0.8515, allocations: 63.95 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.8517, allocations: 102.1 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.8517, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.8517, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.8517, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.8519, allocations: 162.1 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.8521, allocations: 79.05 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.8523, allocations: 72.89 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.8523, allocations: 4 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.8524, allocations: 34.12 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.374e-06/0.8524, allocations: 0.6094 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.000478/0.8529, allocations: 165.5 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.853, allocations: 85.11 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.8531, allocations: 134.2 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.8532, allocations: 25.7 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.8532, allocations: 84.14 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.8533, allocations: 15.8 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.8533, allocations: 0 / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.8534, allocations: 318.8 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.8536, allocations: 99.94 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.8539, allocations: 103.9 kB / 1.102 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.8542, allocations: 107.9 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.8542, allocations: 4 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000636/0.8549, allocations: 259.1 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.8549, allocations: 8 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8549, allocations: 0 / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.855, allocations: 0 / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-06/0.855, allocations: 0 / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.855, allocations: 3.938 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.8551, allocations: 20.97 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.8552, allocations: 8 kB / 1.103 GB, free: 13.24 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.0001274/0.8553, allocations: 134.5 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.8554, allocations: 7.906 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.8554, allocations: 12.11 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.8554, allocations: 3.906 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.8554, allocations: 4 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.8555, allocations: 0 / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.8556, allocations: 146.2 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8556, allocations: 4 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-06/0.8556, allocations: 5.438 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.8556, allocations: 0 / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.8557, allocations: 0 / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.8557, allocations: 0 / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.8557, allocations: 3.906 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004717/0.8562, allocations: 199.4 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.8562, allocations: 85.02 kB / 1.103 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.8563, allocations: 4.016 kB / 1.103 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.8564, allocations: 8.938 kB / 1.103 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.8565, allocations: 4 kB / 1.103 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.8565, allocations: 13.42 kB / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001567/0.8567, allocations: 105.5 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000504/0.8572, allocations: 63.94 kB / 1.104 GB, free: 12.37 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.0004456/0.8577, allocations: 167.1 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005134/0.8582, allocations: 247.3 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8582, allocations: 0 / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.8584, allocations: 113.7 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.8586, allocations: 7.422 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.8591, allocations: 160.3 kB / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.8594, allocations: 0.7001 MB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/0.8594, allocations: 0 / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.006487/0.8659, allocations: 1.696 MB / 1.107 GB, free: 9.27 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)