Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2821/0.2821, allocations: 54.39 MB / 61.67 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001263/0.001263, allocations: 183.9 kB / 75.38 MB, free: 1.473 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.704/1.704, allocations: 194.2 MB / 283.2 MB, free: 3.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001864/0.001864, allocations: 119.2 kB / 341.3 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.285e-06/8.315e-06, allocations: 0 / 405 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1373, allocations: 57.65 MB / 462.6 MB, free: 1.992 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4098/0.5472, allocations: 86.15 MB / 0.5359 GB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.5475, allocations: 88.12 kB / 0.536 GB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.009906/0.5574, allocations: 2.86 MB / 0.5388 GB, free: 8.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.5575, allocations: 4 kB / 0.5388 GB, free: 8.453 MB / 378.7 MB 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.0006172/0.5581, allocations: 425 kB / 0.5392 GB, free: 7.988 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.5582, allocations: 11.97 kB / 0.5392 GB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.5582, allocations: 7.906 kB / 0.5392 GB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.5584, allocations: 167.1 kB / 0.5394 GB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.5585, allocations: 3.938 kB / 0.5394 GB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.5585, allocations: 5.312 kB / 0.5394 GB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001486/0.5586, allocations: 48.5 kB / 0.5394 GB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.5588, allocations: 66.31 kB / 0.5395 GB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5588, allocations: 0 / 0.5395 GB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.5588, allocations: 3.984 kB / 0.5395 GB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.5589, allocations: 0 / 0.5395 GB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.5594, allocations: 260.9 kB / 0.5397 GB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.5595, allocations: 50.06 kB / 0.5398 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.476e-05/0.5596, allocations: 46.16 kB / 0.5398 GB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.5596, allocations: 4 kB / 0.5398 GB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.5597, allocations: 34.5 kB / 0.5399 GB, free: 7.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.813e-06/0.5597, allocations: 7.938 kB / 0.5399 GB, free: 7.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003092/0.56, allocations: 108.8 kB / 0.54 GB, free: 7.133 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.5601, allocations: 80.36 kB / 0.54 GB, free: 7.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.5602, allocations: 111.3 kB / 0.5402 GB, free: 6.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.5602, allocations: 25.7 kB / 0.5402 GB, free: 6.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.5603, allocations: 86.95 kB / 0.5403 GB, free: 6.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.5603, allocations: 7.844 kB / 0.5403 GB, free: 6.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.5603, allocations: 0 / 0.5403 GB, free: 6.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.5604, allocations: 322.1 kB / 0.5406 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/0.5605, allocations: 53.81 kB / 0.5406 GB, free: 6.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.5606, allocations: 53.23 kB / 0.5407 GB, free: 6.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.5608, allocations: 57.94 kB / 0.5407 GB, free: 6.355 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5608, allocations: 0 / 0.5407 GB, free: 6.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002343/0.561, allocations: 148.5 kB / 0.5409 GB, free: 6.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.5611, allocations: 4 kB / 0.5409 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5611, allocations: 0 / 0.5409 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.5611, allocations: 4 kB / 0.5409 GB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.5612, allocations: 4 kB / 0.5409 GB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.5612, allocations: 8.453 kB / 0.5409 GB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.5613, allocations: 4 kB / 0.5409 GB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.5613, allocations: 11.36 kB / 0.5409 GB, free: 6.195 MB / 378.7 MB 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.0001352/0.5615, allocations: 130.7 kB / 0.541 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.5615, allocations: 7.906 kB / 0.541 GB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.5616, allocations: 4 kB / 0.541 GB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.5616, allocations: 4.078 kB / 0.541 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5616, allocations: 4 kB / 0.5411 GB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5616, allocations: 0 / 0.5411 GB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.5618, allocations: 156.8 kB / 0.5412 GB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.5618, allocations: 7.938 kB / 0.5412 GB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.5619, allocations: 4 kB / 0.5412 GB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5619, allocations: 3.938 kB / 0.5412 GB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.5619, allocations: 3.984 kB / 0.5412 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.5619, allocations: 0 / 0.5412 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5619, allocations: 0 / 0.5412 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000247/0.5622, allocations: 215.2 kB / 0.5414 GB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.5622, allocations: 85.02 kB / 0.5415 GB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.5623, allocations: 0 / 0.5415 GB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.5623, allocations: 7.984 kB / 0.5415 GB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.5624, allocations: 7.438 kB / 0.5415 GB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.5624, allocations: 4 kB / 0.5415 GB, free: 5.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.054e-05/0.5625, allocations: 96.8 kB / 0.5416 GB, free: 5.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003625/0.5629, allocations: 67.19 kB / 0.5417 GB, free: 5.355 MB / 378.7 MB 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.0003389/0.5632, allocations: 159.1 kB / 0.5418 GB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.5635, allocations: 154.7 kB / 0.542 GB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5635, allocations: 0 / 0.542 GB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.328e-05/0.5636, allocations: 78.5 kB / 0.5421 GB, free: 4.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.5638, allocations: 7.891 kB / 0.5421 GB, free: 4.969 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.5642, allocations: 124.8 kB / 0.5422 GB, free: 4.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.5645, allocations: 0.7063 MB / 0.5429 GB, free: 4.109 MB / 378.7 MB Notification: Performance of SimCode: time 2.053e-06/0.5646, allocations: 0 / 0.5429 GB, free: 4.109 MB / 378.7 MB Notification: Performance of Templates: time 0.004817/0.5694, allocations: 1.56 MB / 0.5444 GB, free: 2.57 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)