Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.51/1.51, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001157/0.001157, allocations: 173.3 kB / 361.1 MB, free: 7.098 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.625/1.625, allocations: 205.1 MB / 0.6195 GB, free: 11.95 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.001282, allocations: 98.3 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.158e-05/1.162e-05, allocations: 0 / 0.8511 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7725/0.7726, allocations: 115.3 MB / 0.9637 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2132/0.9859, allocations: 138.7 MB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.9862, allocations: 88.83 kB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01025/0.9965, allocations: 2.906 MB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.9965, allocations: 1.594 kB / 1.102 GB, free: 14.43 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.0004696/0.997, allocations: 441.6 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.997, allocations: 8.531 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.9971, allocations: 5.562 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.9972, allocations: 170.9 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.9973, allocations: 4.562 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.9973, allocations: 0 / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001087/0.9974, allocations: 35.98 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.9976, allocations: 69.67 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.9976, allocations: 4.75 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.9976, allocations: 4 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.9976, allocations: 3.984 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.998, allocations: 253.4 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.19e-05/0.9981, allocations: 58.5 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.895e-05/0.9982, allocations: 48.91 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.9982, allocations: 0.6094 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.9983, allocations: 34.47 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.9983, allocations: 2.25 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002854/0.9986, allocations: 105.7 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.9986, allocations: 77.11 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.9987, allocations: 120.8 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.9988, allocations: 29.73 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.9988, allocations: 88.14 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.9988, allocations: 3.906 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.9989, allocations: 7.938 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.999, allocations: 318.8 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/0.9991, allocations: 47.97 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.9992, allocations: 52.69 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.9993, allocations: 53.47 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.9993, allocations: 0 / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002439/0.9996, allocations: 153.5 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.9996, allocations: 8.781 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.9996, allocations: 3.938 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.9996, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.9997, allocations: 4 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.9997, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.736e-05/0.9998, allocations: 11.91 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.9998, allocations: 3.984 kB / 1.104 GB, free: 12.03 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 (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.0001096/0.9999, allocations: 138.7 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/1, allocations: 7.906 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/1, allocations: 4 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1, allocations: 8.844 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1, allocations: 3.938 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/1, allocations: 0 / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/1, allocations: 150.2 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1, allocations: 0 / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/1, allocations: 7.906 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1, allocations: 4 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/1, allocations: 0 / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1, allocations: 7.984 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1, allocations: 0 / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002285/1.001, allocations: 204 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/1.001, allocations: 81.02 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/1.001, allocations: 0 / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.627e-05/1.001, allocations: 16.53 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/1.001, allocations: 4 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/1.001, allocations: 5.188 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.794e-05/1.001, allocations: 95.27 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003484/1.001, allocations: 63.94 kB / 1.105 GB, free: 11.16 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 (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.0003665/1.002, allocations: 174.7 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002419/1.002, allocations: 155.4 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.002, allocations: 4 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.203e-05/1.002, allocations: 69.69 kB / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/1.002, allocations: 5.594 kB / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/1.002, allocations: 116.6 kB / 1.105 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/1.003, allocations: 0.6998 MB / 1.106 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of SimCode: time 2.043e-06/1.003, allocations: 0 / 1.106 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of Templates: time 0.004544/1.007, allocations: 1.582 MB / 1.108 GB, free: 8.34 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)