Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.176/2.176, allocations: 253.1 MB / 260.4 MB, free: 7.59 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001623, allocations: 185.2 kB / 319.6 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.4 MB / 0.5704 GB, free: 15.02 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 93.58 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.106e-05/1.121e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2016, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6595/0.8611, allocations: 131.4 MB / 1.016 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.8615, allocations: 70.95 kB / 1.016 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.006384/0.8679, allocations: 0.9569 MB / 1.017 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.8679, allocations: 0 / 1.017 GB, free: 6.16 MB / 0.6355 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.0004648/0.8684, allocations: 361.5 kB / 1.018 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.8685, allocations: 12.03 kB / 1.018 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.8685, allocations: 4.594 kB / 1.018 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.8688, allocations: 171 kB / 1.018 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.8688, allocations: 4 kB / 1.018 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.8688, allocations: 0 / 1.018 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.906e-05/0.8689, allocations: 18.88 kB / 1.018 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.869, allocations: 47.34 kB / 1.018 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.8691, allocations: 0 / 1.018 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.8691, allocations: 11.97 kB / 1.018 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.8691, allocations: 0 / 1.018 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.8695, allocations: 301.9 kB / 1.018 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.8696, allocations: 28.91 kB / 1.018 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.8697, allocations: 20.81 kB / 1.018 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.8697, allocations: 0 / 1.018 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.8698, allocations: 41.02 kB / 1.018 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.8698, allocations: 0 / 1.018 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.03899/0.9088, allocations: 1.259 MB / 1.02 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.9089, allocations: 51.41 kB / 1.02 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.909, allocations: 105.6 kB / 1.02 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.9091, allocations: 29.7 kB / 1.02 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.9093, allocations: 95.97 kB / 1.02 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.9094, allocations: 18.78 kB / 1.02 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.9095, allocations: 0 / 1.02 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.9097, allocations: 318.3 kB / 1.02 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/0.9103, allocations: 118 kB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006741/0.911, allocations: 115.7 kB / 1.02 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.9125, allocations: 173.6 kB / 1.021 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9126, allocations: 0 / 1.021 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002524/0.9151, allocations: 337.9 kB / 1.021 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.9152, allocations: 8 kB / 1.021 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.9152, allocations: 0 / 1.021 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.9152, allocations: 0 / 1.021 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003448/0.9187, allocations: 67.12 kB / 1.021 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.9188, allocations: 8 kB / 1.021 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00298/0.9218, allocations: 55.84 kB / 1.021 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.9219, allocations: 4 kB / 1.021 GB, free: 2.531 MB / 0.6355 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.0002593/0.9222, allocations: 108.9 kB / 1.021 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.9224, allocations: 7.906 kB / 1.021 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/0.9228, allocations: 27.61 kB / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.9228, allocations: 4 kB / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.9228, allocations: 0.5 kB / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.9228, allocations: 0 / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.9352, allocations: 0.8412 MB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.039e-05/0.9353, allocations: 4 kB / 1.022 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/0.9378, allocations: 60 kB / 1.022 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.9379, allocations: 7.969 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.938, allocations: 4 kB / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.938, allocations: 7.984 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.938, allocations: 0 / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002019/0.9401, allocations: 349.7 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.9402, allocations: 85 kB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.9403, allocations: 4 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002322/0.9427, allocations: 47.95 kB / 1.023 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.9427, allocations: 8.266 kB / 1.023 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.826e-05/0.9428, allocations: 0 / 1.023 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.716e-05/0.9429, allocations: 96.84 kB / 1.023 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006305/0.9436, allocations: 103.8 kB / 1.023 GB, free: 0.7617 MB / 0.6355 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.000328/0.9439, allocations: 123.2 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.9453, allocations: 191 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.9453, allocations: 4 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005571/0.9459, allocations: 67.73 kB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.9462, allocations: 4 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/0.9522, allocations: 336.8 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/0.9536, allocations: 0.7737 MB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of SimCode: time 5.52e-06/0.9537, allocations: 4 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of Templates: time 0.01871/0.9724, allocations: 7.579 MB / 1.032 GB, free: 7.668 MB / 0.6511 GB