Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.8/0.8, allocations: 141.8 MB / 149.1 MB, free: 1.66 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 169.4 kB / 181.9 MB, free: 1.145 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.3 MB / 436 MB, free: 5.887 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 108.4 kB / 0.507 GB, free: 2.551 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001868/0.001868, allocations: 276.8 kB / 0.5884 GB, free: 47.57 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.016e-05/1.019e-05, allocations: 0 / 0.6759 GB, free: 5.922 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5295, allocations: 82.77 MB / 0.7567 GB, free: 25.02 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.6978, allocations: 109.3 MB / 0.8635 GB, free: 11.54 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004423/0.6984, allocations: 97.55 kB / 0.8636 GB, free: 11.45 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.0116/0.71, allocations: 2.95 MB / 0.8665 GB, free: 8.5 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.7101, allocations: 4 kB / 0.8665 GB, free: 8.496 MB / 0.5419 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.0005976/0.7107, allocations: 417.8 kB / 0.8669 GB, free: 8.027 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.7108, allocations: 8.031 kB / 0.8669 GB, free: 8.02 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.7108, allocations: 7.906 kB / 0.8669 GB, free: 8.012 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.711, allocations: 174.9 kB / 0.8671 GB, free: 7.801 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.7111, allocations: 7.984 kB / 0.8671 GB, free: 7.793 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.7111, allocations: 4 kB / 0.8671 GB, free: 7.789 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001402/0.7112, allocations: 39.98 kB / 0.8671 GB, free: 7.75 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.7114, allocations: 69.67 kB / 0.8672 GB, free: 7.676 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.7114, allocations: 0 / 0.8672 GB, free: 7.676 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.7114, allocations: 0 / 0.8672 GB, free: 7.676 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.7114, allocations: 0 / 0.8672 GB, free: 7.676 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.7121, allocations: 265.4 kB / 0.8674 GB, free: 7.379 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.7122, allocations: 58.48 kB / 0.8675 GB, free: 7.312 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.097e-05/0.7123, allocations: 40.92 kB / 0.8675 GB, free: 7.27 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.7123, allocations: 4 kB / 0.8675 GB, free: 7.266 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.7124, allocations: 34.47 kB / 0.8676 GB, free: 7.223 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/0.7124, allocations: 0 / 0.8676 GB, free: 7.223 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0003346/0.7127, allocations: 109.7 kB / 0.8677 GB, free: 7.109 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.7128, allocations: 77.11 kB / 0.8677 GB, free: 7.016 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.7129, allocations: 116.9 kB / 0.8679 GB, free: 6.895 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.713, allocations: 29.64 kB / 0.8679 GB, free: 6.859 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.713, allocations: 88.05 kB / 0.868 GB, free: 6.77 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.7131, allocations: 11.89 kB / 0.868 GB, free: 6.758 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.7131, allocations: 0 / 0.868 GB, free: 6.758 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.7133, allocations: 314.8 kB / 0.8683 GB, free: 6.441 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/0.7133, allocations: 59.94 kB / 0.8683 GB, free: 6.383 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.858e-05/0.7134, allocations: 55.97 kB / 0.8684 GB, free: 6.328 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.7136, allocations: 51.97 kB / 0.8684 GB, free: 6.277 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7136, allocations: 0 / 0.8684 GB, free: 6.277 MB / 0.5419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002458/0.7139, allocations: 145.5 kB / 0.8686 GB, free: 6.129 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.7139, allocations: 4 kB / 0.8686 GB, free: 6.125 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.7139, allocations: 0 / 0.8686 GB, free: 6.125 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.714, allocations: 7.938 kB / 0.8686 GB, free: 6.117 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.714, allocations: 4 kB / 0.8686 GB, free: 6.113 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.714, allocations: 0 / 0.8686 GB, free: 6.113 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.7141, allocations: 15.89 kB / 0.8686 GB, free: 6.098 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.7141, allocations: 4 kB / 0.8686 GB, free: 6.094 MB / 0.5419 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.0001137/0.7143, allocations: 130.7 kB / 0.8687 GB, free: 5.953 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.7143, allocations: 7.906 kB / 0.8687 GB, free: 5.945 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.7143, allocations: 8 kB / 0.8688 GB, free: 5.934 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.7144, allocations: 0 / 0.8688 GB, free: 5.934 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.7144, allocations: 4.078 kB / 0.8688 GB, free: 5.93 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.7144, allocations: 7.984 kB / 0.8688 GB, free: 5.922 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.7146, allocations: 146.2 kB / 0.8689 GB, free: 5.742 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7146, allocations: 4 kB / 0.8689 GB, free: 5.738 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.7146, allocations: 7.984 kB / 0.8689 GB, free: 5.73 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.7146, allocations: 3.906 kB / 0.8689 GB, free: 5.727 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.7146, allocations: 0 / 0.8689 GB, free: 5.727 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7146, allocations: 0 / 0.8689 GB, free: 5.727 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.7147, allocations: 0 / 0.8689 GB, free: 5.727 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002505/0.7149, allocations: 215.5 kB / 0.8691 GB, free: 5.5 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.715, allocations: 81.11 kB / 0.8692 GB, free: 5.402 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.715, allocations: 3.906 kB / 0.8692 GB, free: 5.398 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.7151, allocations: 7.984 kB / 0.8692 GB, free: 5.391 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.487e-05/0.7152, allocations: 8 kB / 0.8692 GB, free: 5.383 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.7152, allocations: 4 kB / 0.8692 GB, free: 5.379 MB / 0.5419 GB Notification: Performance of sort global known variables: time 6.261e-05/0.7153, allocations: 91.27 kB / 0.8693 GB, free: 5.289 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003743/0.7156, allocations: 75.89 kB / 0.8694 GB, free: 5.215 MB / 0.5419 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.0004101/0.7161, allocations: 167 kB / 0.8695 GB, free: 5.043 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.7163, allocations: 151.4 kB / 0.8697 GB, free: 4.883 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7163, allocations: 0 / 0.8697 GB, free: 4.883 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 9.215e-05/0.7164, allocations: 73.67 kB / 0.8698 GB, free: 4.805 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.7166, allocations: 7.938 kB / 0.8698 GB, free: 4.797 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.717, allocations: 119.8 kB / 0.8699 GB, free: 4.656 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004343/0.7175, allocations: 0.6954 MB / 0.8706 GB, free: 3.938 MB / 0.5419 GB Notification: Performance of SimCode: time 6.51e-07/0.7175, allocations: 0 / 0.8706 GB, free: 3.938 MB / 0.5419 GB Notification: Performance of Templates: time 0.005185/0.7227, allocations: 1.571 MB / 0.8721 GB, free: 2.402 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)