Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.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.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") [: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.7975/0.7975, allocations: 141.8 MB / 149.1 MB, free: 12.31 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.002149/0.002149, allocations: 181.5 kB / 182 MB, free: 9.09 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.359/1.359, allocations: 221.3 MB / 436 MB, free: 1.492 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.0009336/0.0009335, allocations: 95.81 kB / 0.507 GB, free: 10.32 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 279.8 kB / 0.5885 GB, free: 7.145 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 9.187e-06/9.227e-06, allocations: 4 kB / 0.6759 GB, free: 13.51 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4583, allocations: 82.77 MB / 0.7567 GB, free: 138.3 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.5824, allocations: 109.1 MB / 0.8633 GB, free: 29.02 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.5826, allocations: 75.89 kB / 0.8634 GB, free: 28.95 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.007493/0.5901, allocations: 2.264 MB / 0.8656 GB, free: 26.73 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.5902, allocations: 1.25 kB / 0.8656 GB, free: 26.73 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.0002312/0.5904, allocations: 338.4 kB / 0.8659 GB, free: 26.35 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5905, allocations: 8.688 kB / 0.8659 GB, free: 26.34 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.5905, allocations: 3.938 kB / 0.8659 GB, free: 26.34 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.5906, allocations: 168.1 kB / 0.8661 GB, free: 26.14 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.5906, allocations: 4 kB / 0.8661 GB, free: 26.13 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.5906, allocations: 0 / 0.8661 GB, free: 26.13 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.139e-05/0.5907, allocations: 28.62 kB / 0.8661 GB, free: 26.11 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.074e-05/0.5908, allocations: 34.47 kB / 0.8662 GB, free: 26.07 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5908, allocations: 0 / 0.8662 GB, free: 26.07 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.5909, allocations: 4.594 kB / 0.8662 GB, free: 26.06 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.5909, allocations: 0 / 0.8662 GB, free: 26.06 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.591, allocations: 138.7 kB / 0.8663 GB, free: 25.89 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.955e-05/0.5911, allocations: 38.58 kB / 0.8663 GB, free: 25.84 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.5911, allocations: 16.98 kB / 0.8663 GB, free: 25.82 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/0.5914, allocations: 178.2 kB / 0.8665 GB, free: 25.61 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.5915, allocations: 38.56 kB / 0.8666 GB, free: 25.57 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=5): time 1.753e-06/0.5915, allocations: 0 / 0.8666 GB, free: 25.57 MB / 0.5575 GB Notification: Performance of matching and sorting (n=5): time 0.0002472/0.5917, allocations: 57.59 kB / 0.8666 GB, free: 25.5 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.5917, allocations: 51.41 kB / 0.8667 GB, free: 25.44 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.744e-05/0.5918, allocations: 96.88 kB / 0.8668 GB, free: 25.34 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.5918, allocations: 25.7 kB / 0.8668 GB, free: 25.31 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 1.299e-05/0.5918, allocations: 80.14 kB / 0.8669 GB, free: 25.23 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.5919, allocations: 19.8 kB / 0.8669 GB, free: 25.21 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.5919, allocations: 0 / 0.8669 GB, free: 25.21 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 4.769e-05/0.5919, allocations: 310.8 kB / 0.8672 GB, free: 24.89 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.592, allocations: 16.06 kB / 0.8672 GB, free: 24.88 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.592, allocations: 4 kB / 0.8672 GB, free: 24.88 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.99e-05/0.5921, allocations: 12.17 kB / 0.8672 GB, free: 24.86 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5921, allocations: 0 / 0.8672 GB, free: 24.86 MB / 0.5575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001403/0.5922, allocations: 65.59 kB / 0.8673 GB, free: 24.79 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.5922, allocations: 4 kB / 0.8673 GB, free: 24.79 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5923, allocations: 3.984 kB / 0.8673 GB, free: 24.79 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5923, allocations: 0 / 0.8673 GB, free: 24.79 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.015e-05/0.5923, allocations: 8 kB / 0.8673 GB, free: 24.78 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.5924, allocations: 1.406 kB / 0.8673 GB, free: 24.78 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.5924, allocations: 8 kB / 0.8673 GB, free: 24.77 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.5924, allocations: 3.984 kB / 0.8673 GB, free: 24.77 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 4.471e-05/0.5925, allocations: 101 kB / 0.8674 GB, free: 24.66 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.5925, allocations: 7.906 kB / 0.8674 GB, free: 24.65 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.5927, allocations: 81.3 kB / 0.8675 GB, free: 24.57 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5927, allocations: 4 kB / 0.8675 GB, free: 24.57 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5927, allocations: 0 / 0.8675 GB, free: 24.57 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5927, allocations: 0 / 0.8675 GB, free: 24.57 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.85e-05/0.5928, allocations: 146.1 kB / 0.8676 GB, free: 24.39 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5928, allocations: 0 / 0.8676 GB, free: 24.39 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.5928, allocations: 11.98 kB / 0.8676 GB, free: 24.38 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.5928, allocations: 0 / 0.8676 GB, free: 24.38 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.5929, allocations: 0 / 0.8676 GB, free: 24.38 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5929, allocations: 4 kB / 0.8676 GB, free: 24.37 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5929, allocations: 0 / 0.8676 GB, free: 24.37 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001394/0.593, allocations: 88.97 kB / 0.8677 GB, free: 24.27 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.5931, allocations: 85.02 kB / 0.8678 GB, free: 24.16 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.5931, allocations: 3.984 kB / 0.8678 GB, free: 24.16 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.781e-05/0.5931, allocations: 192 / 0.8678 GB, free: 24.16 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.5931, allocations: 4 kB / 0.8678 GB, free: 24.16 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.5931, allocations: 7.938 kB / 0.8678 GB, free: 24.15 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.822e-05/0.5931, allocations: 75.28 kB / 0.8679 GB, free: 24.07 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002287/0.5934, allocations: 47.92 kB / 0.8679 GB, free: 24.03 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.0002219/0.5936, allocations: 143.2 kB / 0.8681 GB, free: 23.88 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 8.09e-05/0.5937, allocations: 23.94 kB / 0.8681 GB, free: 23.85 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5937, allocations: 0 / 0.8681 GB, free: 23.85 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 1.961e-05/0.5937, allocations: 16 kB / 0.8681 GB, free: 23.84 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.5938, allocations: 3.938 kB / 0.8681 GB, free: 23.83 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.5941, allocations: 63.92 kB / 0.8682 GB, free: 23.75 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.5942, allocations: 0.6957 MB / 0.8688 GB, free: 23.02 MB / 0.5575 GB Notification: Performance of SimCode: time 2.5e-07/0.5942, allocations: 4 kB / 0.8688 GB, free: 23.02 MB / 0.5575 GB Notification: Performance of Templates: time 0.003383/0.5976, allocations: 1.277 MB / 0.8701 GB, free: 21.75 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.makefile (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1)