Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 106.7 kB / 15.99 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 194.9 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 222.8 MB, free: 4.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 70.19 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2834, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003691/0.2871, allocations: 1.637 MB / 0.7851 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001968/0.2891, allocations: 0.9473 MB / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.2893, allocations: 0 / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.2896, allocations: 63.72 kB / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006061/0.2903, allocations: 139.5 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.851e-05/0.2903, allocations: 4 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.2908, allocations: 358.3 kB / 0.7866 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.68e-05/0.2909, allocations: 44.69 kB / 0.7866 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.2911, allocations: 155.2 kB / 0.7868 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.2913, allocations: 143.4 kB / 0.7869 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.2914, allocations: 16 kB / 0.7869 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.2941, allocations: 0.5668 MB / 0.7875 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.371e-05/0.2943, allocations: 55.77 kB / 0.7875 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.2944, allocations: 139.2 kB / 0.7877 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000961/0.2954, allocations: 0.7104 MB / 0.7883 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2954, allocations: 4 kB / 0.7884 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2954, allocations: 0 / 0.7884 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.2954, allocations: 0 / 0.7884 GB, free: 8.906 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001462/0.2969, allocations: 0.6536 MB / 0.789 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.2969, allocations: 12.03 kB / 0.789 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.858e-05/0.297, allocations: 28.56 kB / 0.789 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.2975, allocations: 374.3 kB / 0.7894 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.2975, allocations: 4.375 kB / 0.7894 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.2975, allocations: 4.375 kB / 0.7894 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.2977, allocations: 113.3 kB / 0.7895 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2977, allocations: 0 / 0.7895 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.2978, allocations: 0 / 0.7895 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2978, allocations: 0 / 0.7895 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.2979, allocations: 67.86 kB / 0.7896 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.2983, allocations: 352.1 kB / 0.7899 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.2984, allocations: 106.4 kB / 0.79 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.054e-05/0.2985, allocations: 59.45 kB / 0.7901 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.2985, allocations: 4 kB / 0.7901 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.2986, allocations: 46.44 kB / 0.7901 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2986, allocations: 0 / 0.7901 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003456/0.2989, allocations: 189.1 kB / 0.7903 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.299, allocations: 129 kB / 0.7904 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/0.2996, allocations: 0.5053 MB / 0.7909 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.2996, allocations: 25.7 kB / 0.7909 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.2997, allocations: 164.3 kB / 0.7911 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.2997, allocations: 11.84 kB / 0.7911 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.588e-05/0.2998, allocations: 57.53 kB / 0.7912 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3, allocations: 342.8 kB / 0.7915 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.3002, allocations: 111.9 kB / 0.7916 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.3003, allocations: 190.7 kB / 0.7918 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.3007, allocations: 263.2 kB / 0.792 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3007, allocations: 0 / 0.792 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004155/0.3011, allocations: 333 kB / 0.7923 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3011, allocations: 7.938 kB / 0.7923 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3011, allocations: 7.922 kB / 0.7924 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3012, allocations: 8 kB / 0.7924 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.3013, allocations: 15.98 kB / 0.7924 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3013, allocations: 0 / 0.7924 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.3015, allocations: 23.83 kB / 0.7924 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.3015, allocations: 8 kB / 0.7924 GB, free: 4.418 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.3017, allocations: 178.4 kB / 0.7926 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.3018, allocations: 35.56 kB / 0.7926 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.3021, allocations: 179.7 kB / 0.7928 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3021, allocations: 4 kB / 0.7928 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3021, allocations: 7.922 kB / 0.7928 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3021, allocations: 0 / 0.7928 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.3024, allocations: 289.4 kB / 0.7931 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3024, allocations: 0 / 0.7931 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.224e-05/0.3025, allocations: 12 kB / 0.7931 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.3025, allocations: 8.062 kB / 0.7931 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3025, allocations: 8.219 kB / 0.7931 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3025, allocations: 0 / 0.7931 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3025, allocations: 4 kB / 0.7931 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.3028, allocations: 191.1 kB / 0.7933 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.3029, allocations: 144.6 kB / 0.7934 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.303, allocations: 7.984 kB / 0.7934 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3031, allocations: 11.98 kB / 0.7934 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.3031, allocations: 0 / 0.7934 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.3032, allocations: 4 kB / 0.7934 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003973/0.3036, allocations: 379 kB / 0.7938 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3036, allocations: 0 / 0.7938 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004723/0.304, allocations: 103.9 kB / 0.7939 GB, free: 2.773 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004799/0.3088, allocations: 2.803 MB / 0.7966 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004447/0.3093, allocations: 199.7 kB / 0.7968 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3093, allocations: 0 / 0.7968 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.77e-05/0.3094, allocations: 51.91 kB / 0.7969 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.3098, allocations: 57.41 kB / 0.7969 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009993/0.3108, allocations: 0.6875 MB / 0.7976 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.3112, allocations: 0.8104 MB / 0.7984 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.102e-05/0.3113, allocations: 23.42 kB / 0.7984 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.3113, allocations: 0 / 0.7984 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of Templates: time 0.009304/0.3206, allocations: 6.741 MB / 0.805 GB, free: 7.344 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile make -j1 -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o] Error 1