Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [: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.251/2.251, allocations: 253.1 MB / 260.4 MB, free: 7.441 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.001718/0.001718, allocations: 185.2 kB / 319.6 MB, free: 3.297 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.852/1.852, allocations: 205.4 MB / 0.5704 GB, free: 14.95 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.001335/0.001335, allocations: 103.2 kB / 0.6746 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.161e-05/1.172e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2267, allocations: 106.3 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6514/0.8782, allocations: 133.2 MB / 1.018 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.8786, allocations: 92.12 kB / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01632/0.8949, allocations: 2.91 MB / 1.021 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.895, allocations: 4 kB / 1.021 GB, free: 2.469 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005523/0.8956, allocations: 424.9 kB / 1.022 GB, free: 2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.8956, allocations: 8.031 kB / 1.022 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.8957, allocations: 15.22 kB / 1.022 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.8958, allocations: 165 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.8958, allocations: 0 / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.8959, allocations: 7.906 kB / 1.022 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001434/0.896, allocations: 34.73 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.8962, allocations: 71.55 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.8962, allocations: 0 / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.8963, allocations: 1.031 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.8963, allocations: 3.938 kB / 1.022 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.8968, allocations: 263.3 kB / 1.022 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.8969, allocations: 56 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.897, allocations: 43.09 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.8971, allocations: 7.984 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.8971, allocations: 37.5 kB / 1.022 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.8971, allocations: 0 / 1.022 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003552/0.8975, allocations: 106.9 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.8975, allocations: 77.11 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.8977, allocations: 119.2 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.8977, allocations: 29.64 kB / 1.023 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.8978, allocations: 80.14 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.8978, allocations: 15.22 kB / 1.023 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.8978, allocations: 4.031 kB / 1.023 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.898, allocations: 322.7 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.8982, allocations: 50.05 kB / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.8983, allocations: 53.59 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.8985, allocations: 54.84 kB / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8985, allocations: 0 / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003738/0.8989, allocations: 142 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.8989, allocations: 7.984 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.899, allocations: 0 / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.899, allocations: 7.906 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.8991, allocations: 8 kB / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.8991, allocations: 0 / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.38e-05/0.8992, allocations: 4 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.8992, allocations: 4 kB / 1.023 GB, free: 224 kB / 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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.0001153/0.8994, allocations: 134.7 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.8994, allocations: 11.84 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.8995, allocations: 11.88 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8995, allocations: 3.938 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8995, allocations: 0 / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.8995, allocations: 0 / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.8997, allocations: 153.7 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8997, allocations: 4 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.138e-05/0.8998, allocations: 4 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.8998, allocations: 0 / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.8998, allocations: 2.75 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.8999, allocations: 4.875 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.8999, allocations: 7.969 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003276/0.9002, allocations: 205.4 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.9003, allocations: 81.02 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.9003, allocations: 4 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.9004, allocations: 4 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.119e-05/0.9005, allocations: 15.45 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.9006, allocations: 0.8125 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.973e-05/0.9006, allocations: 94.89 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005336/0.9012, allocations: 67 kB / 1.024 GB, free: 15.38 MB / 0.6511 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0004035/0.9016, allocations: 167 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003318/0.902, allocations: 150.5 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.902, allocations: 0 / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.9021, allocations: 78.94 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.9024, allocations: 7.844 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.9028, allocations: 125.3 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.9031, allocations: 0.6982 MB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of SimCode: time 8.82e-07/0.9031, allocations: 3.938 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of Templates: time 0.005823/0.9089, allocations: 1.567 MB / 1.027 GB, free: 12.61 MB / 0.6511 GB