Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.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.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic") translateModel(BuildingSystems.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic") [: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.7426/0.7426, allocations: 141.8 MB / 149.1 MB, free: 12.27 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 175.9 kB / 181.9 MB, free: 9.027 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.454/1.454, allocations: 221.4 MB / 436 MB, free: 1.328 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.001256/0.001256, allocations: 98.58 kB / 0.507 GB, free: 10.24 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001823/0.001823, allocations: 278.3 kB / 0.5884 GB, free: 7.066 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.676e-06, allocations: 4 kB / 0.6759 GB, free: 13.43 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.419, allocations: 82.77 MB / 0.7567 GB, free: 138.3 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.5416, allocations: 107.9 MB / 0.8621 GB, free: 30.29 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.542, allocations: 72.5 kB / 0.8622 GB, free: 30.22 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.003555/0.5455, allocations: 0.9575 MB / 0.8631 GB, free: 29.31 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.5456, allocations: 4.5 kB / 0.8631 GB, free: 29.3 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003901/0.546, allocations: 386.7 kB / 0.8635 GB, free: 28.88 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.546, allocations: 8.031 kB / 0.8635 GB, free: 28.88 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.5461, allocations: 7.906 kB / 0.8635 GB, free: 28.87 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.494e-05/0.5462, allocations: 171 kB / 0.8636 GB, free: 28.66 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.5462, allocations: 3.906 kB / 0.8636 GB, free: 28.66 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.5462, allocations: 7.938 kB / 0.8636 GB, free: 28.65 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001376/0.5463, allocations: 67.97 kB / 0.8637 GB, free: 28.58 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.5465, allocations: 81.67 kB / 0.8638 GB, free: 28.5 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.5465, allocations: 0 / 0.8638 GB, free: 28.5 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.5465, allocations: 0 / 0.8638 GB, free: 28.5 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.5465, allocations: 12 kB / 0.8638 GB, free: 28.48 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/0.5471, allocations: 365 kB / 0.8642 GB, free: 28.09 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.396e-05/0.5472, allocations: 30.58 kB / 0.8642 GB, free: 28.05 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.5472, allocations: 12.86 kB / 0.8642 GB, free: 28.04 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/0.5475, allocations: 133.2 kB / 0.8643 GB, free: 27.89 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.5475, allocations: 34.56 kB / 0.8644 GB, free: 27.84 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5475, allocations: 0 / 0.8644 GB, free: 27.84 MB / 0.5575 GB Notification: Performance of matching and sorting (n=3): time 0.0002748/0.5478, allocations: 73.55 kB / 0.8644 GB, free: 27.77 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.635e-05/0.5478, allocations: 55.41 kB / 0.8645 GB, free: 27.7 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.5479, allocations: 129.2 kB / 0.8646 GB, free: 27.56 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.5479, allocations: 33.7 kB / 0.8646 GB, free: 27.52 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.548, allocations: 119.6 kB / 0.8647 GB, free: 27.4 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 8.196e-06/0.548, allocations: 7.891 kB / 0.8648 GB, free: 27.39 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.548, allocations: 0 / 0.8648 GB, free: 27.39 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.242e-05/0.548, allocations: 322.8 kB / 0.8651 GB, free: 27.07 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.583e-05/0.5481, allocations: 23.98 kB / 0.8651 GB, free: 27.05 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.845e-05/0.5482, allocations: 86.31 kB / 0.8652 GB, free: 26.93 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.5483, allocations: 59.89 kB / 0.8652 GB, free: 26.87 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5483, allocations: 3.938 kB / 0.8652 GB, free: 26.87 MB / 0.5575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000225/0.5485, allocations: 137.3 kB / 0.8654 GB, free: 26.73 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5485, allocations: 4 kB / 0.8654 GB, free: 26.72 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.5486, allocations: 7.984 kB / 0.8654 GB, free: 26.71 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5486, allocations: 4 kB / 0.8654 GB, free: 26.71 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.5488, allocations: 40.3 kB / 0.8654 GB, free: 26.67 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5488, allocations: 7.984 kB / 0.8654 GB, free: 26.66 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.5489, allocations: 31.83 kB / 0.8654 GB, free: 26.63 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.5489, allocations: 11.94 kB / 0.8655 GB, free: 26.62 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 5.229e-05/0.549, allocations: 105 kB / 0.8656 GB, free: 26.51 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.549, allocations: 7.906 kB / 0.8656 GB, free: 26.5 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.5493, allocations: 93.7 kB / 0.8657 GB, free: 26.4 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5493, allocations: 3.906 kB / 0.8657 GB, free: 26.4 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5493, allocations: 0 / 0.8657 GB, free: 26.4 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5493, allocations: 4 kB / 0.8657 GB, free: 26.39 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.5494, allocations: 158.1 kB / 0.8658 GB, free: 26.2 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5494, allocations: 4 kB / 0.8658 GB, free: 26.2 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.5495, allocations: 23.98 kB / 0.8658 GB, free: 26.18 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5495, allocations: 0 / 0.8658 GB, free: 26.18 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.5496, allocations: 7.922 kB / 0.8658 GB, free: 26.17 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5496, allocations: 0 / 0.8658 GB, free: 26.17 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.5496, allocations: 4 kB / 0.8659 GB, free: 26.16 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000182/0.5498, allocations: 175.3 kB / 0.866 GB, free: 25.98 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.5498, allocations: 81.02 kB / 0.8661 GB, free: 25.88 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.5498, allocations: 0 / 0.8661 GB, free: 25.88 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.55, allocations: 23.98 kB / 0.8661 GB, free: 25.86 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.55, allocations: 3.984 kB / 0.8661 GB, free: 25.85 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.55, allocations: 4 kB / 0.8661 GB, free: 25.85 MB / 0.5575 GB Notification: Performance of sort global known variables: time 4.784e-05/0.5501, allocations: 106.1 kB / 0.8662 GB, free: 25.75 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002544/0.5503, allocations: 12 kB / 0.8662 GB, free: 25.73 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001516/0.5505, allocations: 107.2 kB / 0.8663 GB, free: 25.62 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.5506, allocations: 55.92 kB / 0.8664 GB, free: 25.57 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5506, allocations: 0 / 0.8664 GB, free: 25.57 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 3.272e-05/0.5507, allocations: 16 kB / 0.8664 GB, free: 25.55 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.5508, allocations: 13.45 kB / 0.8664 GB, free: 25.54 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.5511, allocations: 107.4 kB / 0.8665 GB, free: 25.41 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.5513, allocations: 0.7126 MB / 0.8672 GB, free: 24.68 MB / 0.5575 GB Notification: Performance of SimCode: time 2.2e-07/0.5513, allocations: 4 kB / 0.8672 GB, free: 24.67 MB / 0.5575 GB Notification: Performance of Templates: time 0.002989/0.5543, allocations: 0.9359 MB / 0.8681 GB, free: 23.77 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1)