Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.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.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") [: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.7783/0.7783, allocations: 141.8 MB / 149.1 MB, free: 12.77 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.001102/0.001102, allocations: 174.5 kB / 181.9 MB, free: 9.48 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.324/1.324, allocations: 221.3 MB / 436 MB, free: 1.891 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.0009418/0.0009417, allocations: 97.66 kB / 0.507 GB, free: 10.67 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001746/0.001746, allocations: 275.6 kB / 0.5884 GB, free: 7.512 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.504e-06, allocations: 0 / 0.6759 GB, free: 13.88 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4248, allocations: 82.77 MB / 0.7567 GB, free: 138.8 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.5453, allocations: 109.4 MB / 0.8636 GB, free: 29.2 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.5456, allocations: 68.55 kB / 0.8636 GB, free: 29.13 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.008227/0.5538, allocations: 2.845 MB / 0.8664 GB, free: 26.32 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.5539, allocations: 0 / 0.8664 GB, free: 26.32 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003343/0.5542, allocations: 351.4 kB / 0.8667 GB, free: 25.94 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.5543, allocations: 10.09 kB / 0.8668 GB, free: 25.93 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.5543, allocations: 0 / 0.8668 GB, free: 25.93 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.5544, allocations: 171.4 kB / 0.8669 GB, free: 25.72 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.5545, allocations: 5.281 kB / 0.8669 GB, free: 25.72 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.5545, allocations: 0 / 0.8669 GB, free: 25.72 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.68e-05/0.5546, allocations: 27.91 kB / 0.8669 GB, free: 25.69 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.103e-05/0.5547, allocations: 46.31 kB / 0.867 GB, free: 25.64 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.5547, allocations: 0 / 0.867 GB, free: 25.64 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.5547, allocations: 4.609 kB / 0.867 GB, free: 25.64 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.5547, allocations: 0 / 0.867 GB, free: 25.64 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.5549, allocations: 143.2 kB / 0.8671 GB, free: 25.46 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.692e-05/0.555, allocations: 35.3 kB / 0.8672 GB, free: 25.42 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.555, allocations: 9.359 kB / 0.8672 GB, free: 25.41 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.5552, allocations: 89.83 kB / 0.8673 GB, free: 25.3 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.5552, allocations: 35.58 kB / 0.8673 GB, free: 25.26 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.5552, allocations: 3.938 kB / 0.8673 GB, free: 25.25 MB / 0.5575 GB Notification: Performance of matching and sorting (n=5): time 0.03948/0.5947, allocations: 1.504 MB / 0.8688 GB, free: 23.74 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.5948, allocations: 51.41 kB / 0.8688 GB, free: 23.68 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.872e-05/0.5949, allocations: 85 kB / 0.8689 GB, free: 23.59 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.5949, allocations: 29.7 kB / 0.8689 GB, free: 23.55 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 1.486e-05/0.5949, allocations: 80.14 kB / 0.869 GB, free: 23.47 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.5949, allocations: 15.94 kB / 0.869 GB, free: 23.46 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.595, allocations: 0 / 0.869 GB, free: 23.46 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 6.282e-05/0.595, allocations: 318.8 kB / 0.8693 GB, free: 23.14 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.595, allocations: 8 kB / 0.8693 GB, free: 23.13 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.5951, allocations: 4 kB / 0.8693 GB, free: 23.12 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03937/0.6344, allocations: 1.455 MB / 0.8708 GB, free: 21.67 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.6345, allocations: 4 kB / 0.8708 GB, free: 21.66 MB / 0.5575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.03904/0.6736, allocations: 1.511 MB / 0.8722 GB, free: 20.14 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.6736, allocations: 4 kB / 0.8722 GB, free: 20.14 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.6736, allocations: 0 / 0.8722 GB, free: 20.14 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.6737, allocations: 3.938 kB / 0.8722 GB, free: 20.14 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.194e-05/0.6737, allocations: 8 kB / 0.8722 GB, free: 20.13 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.6738, allocations: 0 / 0.8722 GB, free: 20.13 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.6738, allocations: 7.938 kB / 0.8723 GB, free: 20.12 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.6738, allocations: 7.984 kB / 0.8723 GB, free: 20.11 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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.575e-05/0.6739, allocations: 101 kB / 0.8724 GB, free: 20.01 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.6739, allocations: 7.906 kB / 0.8724 GB, free: 20 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03916/0.7131, allocations: 1.527 MB / 0.8739 GB, free: 18.47 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.7131, allocations: 0 / 0.8739 GB, free: 18.47 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.7131, allocations: 0 / 0.8739 GB, free: 18.47 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.7131, allocations: 4 kB / 0.8739 GB, free: 18.47 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.7133, allocations: 142.5 kB / 0.874 GB, free: 18.29 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.7133, allocations: 4 kB / 0.874 GB, free: 18.29 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.469e-05/0.7133, allocations: 11.98 kB / 0.874 GB, free: 18.28 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.7134, allocations: 4 kB / 0.874 GB, free: 18.27 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.7134, allocations: 0 / 0.874 GB, free: 18.27 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7134, allocations: 0 / 0.874 GB, free: 18.27 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7134, allocations: 0 / 0.874 GB, free: 18.27 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03926/0.7527, allocations: 1.534 MB / 0.8755 GB, free: 16.72 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.7527, allocations: 85 kB / 0.8756 GB, free: 16.62 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.7528, allocations: 4 kB / 0.8756 GB, free: 16.61 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.36e-05/0.7528, allocations: 0 / 0.8756 GB, free: 16.61 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.7528, allocations: 3.938 kB / 0.8756 GB, free: 16.61 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.7528, allocations: 4 kB / 0.8756 GB, free: 16.61 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.33e-05/0.7528, allocations: 75.28 kB / 0.8757 GB, free: 16.53 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0003055/0.7532, allocations: 60.02 kB / 0.8757 GB, free: 16.47 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 (6): * Single equations (assignments): 6 * 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.0002521/0.7534, allocations: 163.1 kB / 0.8759 GB, free: 16.3 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 8.847e-05/0.7535, allocations: 20 kB / 0.8759 GB, free: 16.28 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.7535, allocations: 0 / 0.8759 GB, free: 16.28 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 2.119e-05/0.7536, allocations: 19.94 kB / 0.8759 GB, free: 16.26 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.7537, allocations: 0 / 0.8759 GB, free: 16.26 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001961/0.7539, allocations: 63.92 kB / 0.876 GB, free: 16.18 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.754, allocations: 0.6958 MB / 0.8767 GB, free: 15.45 MB / 0.5575 GB Notification: Performance of SimCode: time 3.1e-07/0.754, allocations: 0 / 0.8767 GB, free: 15.45 MB / 0.5575 GB Notification: Performance of Templates: time 0.002928/0.7569, allocations: 1.198 MB / 0.8778 GB, free: 14.27 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.makefile (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.sim & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)