Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [: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/Buildings 1.6.0+build.1/package.mo): time 0.4805/0.4805, allocations: 94.74 MB / 102 MB, free: 10.35 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001098/0.001098, allocations: 182.3 kB / 125.3 MB, free: 11.96 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.211/1.211, allocations: 170.5 MB / 319 MB, free: 9.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001648/0.001648, allocations: 112.9 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.618e-06/9.648e-06, allocations: 4 kB / 448.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1374, allocations: 61.52 MB / 0.4981 GB, free: 4.496 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3344/0.4719, allocations: 92.21 MB / 0.5882 GB, free: 10.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.4722, allocations: 75.95 kB / 0.5883 GB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.001182/0.4734, allocations: 240.4 kB / 0.5885 GB, free: 9.887 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.4734, allocations: 0 / 0.5885 GB, free: 9.887 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003294/0.4737, allocations: 347.2 kB / 0.5888 GB, free: 9.504 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4738, allocations: 8.031 kB / 0.5888 GB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.4738, allocations: 2.375 kB / 0.5888 GB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.652e-05/0.4739, allocations: 163 kB / 0.589 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.4739, allocations: 12.66 kB / 0.589 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.474, allocations: 0 / 0.589 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.34e-05/0.4741, allocations: 19.98 kB / 0.589 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.386e-05/0.4741, allocations: 61.52 kB / 0.5891 GB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.4742, allocations: 0 / 0.5891 GB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.4742, allocations: 0.9062 kB / 0.5891 GB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.4742, allocations: 7.984 kB / 0.5891 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.4745, allocations: 249.2 kB / 0.5893 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.061e-05/0.4745, allocations: 18.52 kB / 0.5893 GB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.4746, allocations: 4.859 kB / 0.5893 GB, free: 8.887 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.4746, allocations: 4.062 kB / 0.5893 GB, free: 8.883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.4746, allocations: 30.56 kB / 0.5894 GB, free: 8.844 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.4746, allocations: 0 / 0.5894 GB, free: 8.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.000165/0.4748, allocations: 47.25 kB / 0.5894 GB, free: 8.793 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.4748, allocations: 78.14 kB / 0.5895 GB, free: 8.699 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.4749, allocations: 108.2 kB / 0.5896 GB, free: 8.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.4749, allocations: 25.7 kB / 0.5896 GB, free: 8.559 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.475, allocations: 101 kB / 0.5897 GB, free: 8.457 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.147e-06/0.475, allocations: 7.906 kB / 0.5897 GB, free: 8.449 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.475, allocations: 0 / 0.5897 GB, free: 8.449 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4751, allocations: 316.8 kB / 0.59 GB, free: 8.133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.4752, allocations: 12 kB / 0.59 GB, free: 8.121 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.369e-05/0.4752, allocations: 60.39 kB / 0.5901 GB, free: 8.039 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.697e-05/0.4753, allocations: 18.17 kB / 0.5901 GB, free: 8.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4753, allocations: 1.562 kB / 0.5901 GB, free: 8.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000127/0.4754, allocations: 78.31 kB / 0.5902 GB, free: 7.945 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.4754, allocations: 4 kB / 0.5902 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.4754, allocations: 7.984 kB / 0.5902 GB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4755, allocations: 7.906 kB / 0.5902 GB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-05/0.4755, allocations: 11.94 kB / 0.5902 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.4755, allocations: 4.875 kB / 0.5902 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.4756, allocations: 7.938 kB / 0.5902 GB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.4756, allocations: 11.56 kB / 0.5902 GB, free: 7.895 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 8.487e-05/0.4757, allocations: 134.6 kB / 0.5904 GB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.4758, allocations: 3.984 kB / 0.5904 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.4758, allocations: 11.42 kB / 0.5904 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.4758, allocations: 0 / 0.5904 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4758, allocations: 0 / 0.5904 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4758, allocations: 2.953 kB / 0.5904 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.4759, allocations: 145.8 kB / 0.5905 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4759, allocations: 2.391 kB / 0.5905 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.4759, allocations: 0 / 0.5905 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.476, allocations: 4.5 kB / 0.5905 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.476, allocations: 4 kB / 0.5905 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.476, allocations: 1 kB / 0.5905 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.476, allocations: 0 / 0.5905 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001059/0.4761, allocations: 132.5 kB / 0.5907 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.4761, allocations: 86.36 kB / 0.5907 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.4762, allocations: 3.906 kB / 0.5908 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.505e-05/0.4762, allocations: 0 / 0.5908 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.4762, allocations: 0.5938 kB / 0.5908 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.4763, allocations: 4.688 kB / 0.5908 GB, free: 7.305 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.058e-05/0.4763, allocations: 87.58 kB / 0.5908 GB, free: 7.219 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000239/0.4765, allocations: 12 kB / 0.5909 GB, free: 7.207 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0001579/0.4767, allocations: 101.7 kB / 0.591 GB, free: 7.102 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.4768, allocations: 57.62 kB / 0.591 GB, free: 7.039 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4769, allocations: 0 / 0.591 GB, free: 7.039 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.896e-05/0.4769, allocations: 33.64 kB / 0.591 GB, free: 7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.477, allocations: 4 kB / 0.591 GB, free: 6.996 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.4772, allocations: 65.91 kB / 0.5911 GB, free: 6.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.4775, allocations: 0.6915 MB / 0.5918 GB, free: 6.195 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4775, allocations: 0 / 0.5918 GB, free: 6.195 MB / 410.7 MB Notification: Performance of Templates: time 0.0027/0.4802, allocations: 499 kB / 0.5923 GB, free: 5.742 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)