Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [: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.4891/0.4891, allocations: 94.74 MB / 102 MB, free: 10.37 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.001109/0.001109, allocations: 186.6 kB / 125.3 MB, free: 12.01 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.273/1.273, allocations: 170.5 MB / 319 MB, free: 9.367 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.001609/0.001609, allocations: 102.8 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.194e-06/7.294e-06, allocations: 0 / 448.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1381, allocations: 61.52 MB / 0.4981 GB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3426/0.4808, allocations: 92.45 MB / 0.5884 GB, free: 9.941 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.481, allocations: 65.17 kB / 0.5885 GB, free: 9.879 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.004207/0.4853, allocations: 1.055 MB / 0.5895 GB, free: 8.859 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.4853, allocations: 3.219 kB / 0.5895 GB, free: 8.859 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002945/0.4856, allocations: 333.3 kB / 0.5898 GB, free: 8.492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.4856, allocations: 8.031 kB / 0.5898 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.4857, allocations: 5.562 kB / 0.5898 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.4858, allocations: 169.7 kB / 0.59 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4858, allocations: 4.562 kB / 0.59 GB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.4859, allocations: 0 / 0.59 GB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.324e-05/0.4859, allocations: 19.81 kB / 0.59 GB, free: 8.258 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.02e-05/0.486, allocations: 37.69 kB / 0.5901 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.486, allocations: 0.875 kB / 0.5901 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.486, allocations: 0 / 0.5901 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.486, allocations: 1.031 kB / 0.5901 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.4862, allocations: 134.2 kB / 0.5902 GB, free: 8.047 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.943e-05/0.4863, allocations: 26.59 kB / 0.5902 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.4863, allocations: 17.42 kB / 0.5902 GB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.844e-05/0.4864, allocations: 9.578 kB / 0.5902 GB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.4864, allocations: 30.56 kB / 0.5903 GB, free: 7.945 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 2.475e-06/0.4864, allocations: 0 / 0.5903 GB, free: 7.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006799/0.4871, allocations: 300.3 kB / 0.5906 GB, free: 7.602 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.4871, allocations: 51.41 kB / 0.5906 GB, free: 7.539 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.204e-05/0.4872, allocations: 104.5 kB / 0.5907 GB, free: 7.434 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.4872, allocations: 25.7 kB / 0.5907 GB, free: 7.402 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.4873, allocations: 87.61 kB / 0.5908 GB, free: 7.316 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.4873, allocations: 11.84 kB / 0.5908 GB, free: 7.305 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.4873, allocations: 0 / 0.5908 GB, free: 7.305 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4874, allocations: 317.3 kB / 0.5911 GB, free: 6.988 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.652e-05/0.4875, allocations: 23.92 kB / 0.5911 GB, free: 6.965 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.4875, allocations: 29.53 kB / 0.5912 GB, free: 6.934 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.37e-05/0.4876, allocations: 15.98 kB / 0.5912 GB, free: 6.918 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.4876, allocations: 0 / 0.5912 GB, free: 6.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001433/0.4877, allocations: 69.66 kB / 0.5913 GB, free: 6.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.4878, allocations: 4.5 kB / 0.5913 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4878, allocations: 4 kB / 0.5913 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.4878, allocations: 0.5 kB / 0.5913 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.4878, allocations: 18.16 kB / 0.5913 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.4879, allocations: 4 kB / 0.5913 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.4879, allocations: 0 / 0.5913 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.4879, allocations: 4 kB / 0.5913 GB, free: 6.812 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.888e-05/0.488, allocations: 101 kB / 0.5914 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.488, allocations: 7.906 kB / 0.5914 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.4882, allocations: 89.64 kB / 0.5915 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4882, allocations: 0 / 0.5915 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4882, allocations: 4 kB / 0.5915 GB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4882, allocations: 1.734 kB / 0.5915 GB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.783e-05/0.4883, allocations: 130.2 kB / 0.5916 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4883, allocations: 0 / 0.5916 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.4884, allocations: 12.88 kB / 0.5916 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.4884, allocations: 3.984 kB / 0.5916 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4884, allocations: 11.84 kB / 0.5916 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4884, allocations: 0 / 0.5916 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4884, allocations: 0 / 0.5916 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001918/0.4886, allocations: 123.5 kB / 0.5918 GB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.4887, allocations: 77.11 kB / 0.5918 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.4887, allocations: 1.688 kB / 0.5918 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.889e-05/0.4887, allocations: 4 kB / 0.5918 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.4888, allocations: 0 / 0.5918 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.4888, allocations: 4 kB / 0.5918 GB, free: 6.172 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.682e-05/0.4888, allocations: 87.84 kB / 0.5919 GB, free: 6.086 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002062/0.489, allocations: 28 kB / 0.5919 GB, free: 6.059 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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.0002025/0.4893, allocations: 128.2 kB / 0.5921 GB, free: 5.926 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.115e-05/0.4893, allocations: 31.92 kB / 0.5921 GB, free: 5.895 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4894, allocations: 0 / 0.5921 GB, free: 5.895 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.143e-05/0.4894, allocations: 19.98 kB / 0.5921 GB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.4895, allocations: 0 / 0.5921 GB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002227/0.4897, allocations: 81.62 kB / 0.5922 GB, free: 5.773 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.49, allocations: 0.6993 MB / 0.5929 GB, free: 5.051 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.49, allocations: 2.188 kB / 0.5929 GB, free: 5.051 MB / 410.7 MB Notification: Performance of Templates: time 0.002882/0.4929, allocations: 0.922 MB / 0.5938 GB, free: 4.168 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)