Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.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 8.0.0/package.mo): time 2.204/2.204, allocations: 284.9 MB / 292.2 MB, free: 1.355 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001688/0.001688, allocations: 176 kB / 360.4 MB, free: 15.68 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205.1 MB / 0.6188 GB, free: 6.617 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001313/0.001312, allocations: 93.55 kB / 0.7318 GB, free: 46.85 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 1.296e-05/1.316e-05, allocations: 0 / 0.8503 GB, free: 13.65 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6408/0.6409, allocations: 115.2 MB / 0.9628 GB, free: 86.46 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2832/0.9241, allocations: 138.6 MB / 1.098 GB, free: 11.83 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003954/0.9246, allocations: 93.52 kB / 1.098 GB, free: 11.74 MB / 0.7061 GB Notification: Performance of FrontEnd: time 0.01619/0.9408, allocations: 2.909 MB / 1.101 GB, free: 8.887 MB / 0.7061 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.9409, allocations: 4 kB / 1.101 GB, free: 8.883 MB / 0.7061 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.0006114/0.9415, allocations: 434.6 kB / 1.101 GB, free: 8.402 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.9415, allocations: 8.031 kB / 1.101 GB, free: 8.395 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.9416, allocations: 4 kB / 1.101 GB, free: 8.391 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.9418, allocations: 181.8 kB / 1.102 GB, free: 8.176 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.9418, allocations: 0 / 1.102 GB, free: 8.176 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.9419, allocations: 4 kB / 1.102 GB, free: 8.172 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001471/0.942, allocations: 35.98 kB / 1.102 GB, free: 8.137 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.9422, allocations: 73.61 kB / 1.102 GB, free: 8.059 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.9422, allocations: 0 / 1.102 GB, free: 8.059 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.9422, allocations: 0 / 1.102 GB, free: 8.059 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.9423, allocations: 4 kB / 1.102 GB, free: 8.055 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/0.9429, allocations: 261.4 kB / 1.102 GB, free: 7.762 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.943, allocations: 50.56 kB / 1.102 GB, free: 7.703 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.9431, allocations: 41.55 kB / 1.102 GB, free: 7.66 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.9432, allocations: 8 kB / 1.102 GB, free: 7.652 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.9432, allocations: 34.47 kB / 1.102 GB, free: 7.609 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=3): time 3.947e-06/0.9432, allocations: 1.875 kB / 1.102 GB, free: 7.609 MB / 0.7061 GB Notification: Performance of matching and sorting (n=3): time 0.0003712/0.9436, allocations: 109.6 kB / 1.102 GB, free: 7.496 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.9437, allocations: 77.11 kB / 1.102 GB, free: 7.402 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.9438, allocations: 120.8 kB / 1.102 GB, free: 7.277 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.9439, allocations: 25.7 kB / 1.102 GB, free: 7.246 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.9439, allocations: 84.12 kB / 1.103 GB, free: 7.16 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.944, allocations: 15.94 kB / 1.103 GB, free: 7.145 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.944, allocations: 0 / 1.103 GB, free: 7.145 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.9441, allocations: 314.8 kB / 1.103 GB, free: 6.828 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.9443, allocations: 51.97 kB / 1.103 GB, free: 6.777 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.9444, allocations: 51.97 kB / 1.103 GB, free: 6.727 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.9446, allocations: 57.78 kB / 1.103 GB, free: 6.672 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.9446, allocations: 0 / 1.103 GB, free: 6.672 MB / 0.7061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003772/0.945, allocations: 149.5 kB / 1.103 GB, free: 6.52 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.9451, allocations: 4 kB / 1.103 GB, free: 6.516 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.9451, allocations: 7.938 kB / 1.103 GB, free: 6.508 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.9451, allocations: 4 kB / 1.103 GB, free: 6.504 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.9452, allocations: 4 kB / 1.103 GB, free: 6.5 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.9453, allocations: 0 / 1.103 GB, free: 6.5 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.236e-05/0.9454, allocations: 11.89 kB / 1.103 GB, free: 6.488 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.9454, allocations: 4.656 kB / 1.103 GB, free: 6.484 MB / 0.7061 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.0001272/0.9455, allocations: 134.7 kB / 1.103 GB, free: 6.34 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.9456, allocations: 7.906 kB / 1.103 GB, free: 6.332 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.9456, allocations: 11.98 kB / 1.103 GB, free: 6.316 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.9457, allocations: 0 / 1.103 GB, free: 6.316 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9457, allocations: 0 / 1.103 GB, free: 6.316 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.9457, allocations: 0 / 1.103 GB, free: 6.316 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.9459, allocations: 148.2 kB / 1.103 GB, free: 6.137 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9459, allocations: 4 kB / 1.103 GB, free: 6.133 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.002e-05/0.946, allocations: 7.906 kB / 1.103 GB, free: 6.125 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.946, allocations: 0 / 1.103 GB, free: 6.125 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.946, allocations: 4 kB / 1.103 GB, free: 6.121 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.946, allocations: 0 / 1.103 GB, free: 6.121 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.946, allocations: 96 / 1.103 GB, free: 6.121 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003545/0.9464, allocations: 215.9 kB / 1.104 GB, free: 5.895 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.9465, allocations: 81.02 kB / 1.104 GB, free: 5.797 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.9465, allocations: 8.547 kB / 1.104 GB, free: 5.789 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.9467, allocations: 8.031 kB / 1.104 GB, free: 5.781 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.9467, allocations: 11.98 kB / 1.104 GB, free: 5.77 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.9468, allocations: 0 / 1.104 GB, free: 5.77 MB / 0.7061 GB Notification: Performance of sort global known variables: time 8.173e-05/0.9469, allocations: 92.03 kB / 1.104 GB, free: 5.68 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.0005267/0.9474, allocations: 63.92 kB / 1.104 GB, free: 5.617 MB / 0.7061 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.0004378/0.9478, allocations: 171 kB / 1.104 GB, free: 5.441 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.9482, allocations: 151.4 kB / 1.104 GB, free: 5.281 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.9483, allocations: 4 kB / 1.104 GB, free: 5.277 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.9484, allocations: 77.61 kB / 1.104 GB, free: 5.195 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.9486, allocations: 5.125 kB / 1.104 GB, free: 5.191 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.9491, allocations: 117.2 kB / 1.104 GB, free: 5.055 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.9495, allocations: 0.6954 MB / 1.105 GB, free: 4.336 MB / 0.7061 GB Notification: Performance of SimCode: time 6.72e-07/0.9495, allocations: 0 / 1.105 GB, free: 4.336 MB / 0.7061 GB Notification: Performance of Templates: time 0.00593/0.9555, allocations: 1.57 MB / 1.107 GB, free: 2.809 MB / 0.7061 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)