Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.CorrectedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 105.9 kB / 15.98 MB, free: 6.352 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.001148/0.001148, allocations: 193.5 kB / 16.91 MB, free: 6.195 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.388/1.388, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.723/1.723, allocations: 292.3 MB / 0.5492 GB, free: 13.54 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.001359/0.001359, allocations: 66.53 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2598, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.00289/0.2627, allocations: 1.636 MB / 0.7851 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.2641, allocations: 0.9512 MB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.2642, allocations: 0 / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.2644, allocations: 63.72 kB / 0.7861 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.2649, allocations: 139.5 kB / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.153e-05/0.265, allocations: 0 / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.2654, allocations: 362.3 kB / 0.7866 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.08e-05/0.2654, allocations: 48.72 kB / 0.7866 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.2656, allocations: 151.2 kB / 0.7868 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.2659, allocations: 151.4 kB / 0.7869 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.2659, allocations: 16 kB / 0.7869 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.2687, allocations: 0.5629 MB / 0.7875 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.131e-05/0.2688, allocations: 51.75 kB / 0.7875 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.269, allocations: 147.1 kB / 0.7877 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009335/0.2699, allocations: 0.7065 MB / 0.7883 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.27, allocations: 0 / 0.7883 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.27, allocations: 0 / 0.7883 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.27, allocations: 0 / 0.7883 GB, free: 8.883 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.001419/0.2714, allocations: 0.6614 MB / 0.789 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.2714, allocations: 8.031 kB / 0.789 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.892e-05/0.2715, allocations: 32.56 kB / 0.789 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.272, allocations: 374.3 kB / 0.7894 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.272, allocations: 8.375 kB / 0.7894 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.2721, allocations: 8.375 kB / 0.7894 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.2722, allocations: 101.3 kB / 0.7895 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2722, allocations: 0 / 0.7895 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2723, allocations: 4 kB / 0.7895 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2723, allocations: 0 / 0.7895 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.2724, allocations: 71.86 kB / 0.7896 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.2727, allocations: 344.1 kB / 0.7899 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.2729, allocations: 106.4 kB / 0.79 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.704e-05/0.273, allocations: 63.45 kB / 0.7901 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.273, allocations: 4 kB / 0.7901 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.273, allocations: 42.44 kB / 0.7901 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.273, allocations: 0 / 0.7901 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000345/0.2734, allocations: 185.5 kB / 0.7903 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.2734, allocations: 132.5 kB / 0.7904 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/0.274, allocations: 0.5014 MB / 0.7909 GB, free: 6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.274, allocations: 29.7 kB / 0.7909 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.2742, allocations: 156.3 kB / 0.7911 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.2742, allocations: 19.81 kB / 0.7911 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/0.2743, allocations: 53.55 kB / 0.7911 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2744, allocations: 350.9 kB / 0.7915 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.2746, allocations: 115.9 kB / 0.7916 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.2748, allocations: 178.8 kB / 0.7918 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.2751, allocations: 263.2 kB / 0.792 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2751, allocations: 0 / 0.792 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004125/0.2755, allocations: 333 kB / 0.7923 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2755, allocations: 11.94 kB / 0.7923 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2756, allocations: 240 / 0.7923 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2756, allocations: 0 / 0.7923 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.2757, allocations: 19.98 kB / 0.7924 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2757, allocations: 0 / 0.7924 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.2759, allocations: 27.81 kB / 0.7924 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.2759, allocations: 7.984 kB / 0.7924 GB, free: 4.398 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.0001703/0.2761, allocations: 186.4 kB / 0.7926 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.2762, allocations: 35.56 kB / 0.7926 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.2765, allocations: 179.7 kB / 0.7928 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2765, allocations: 0 / 0.7928 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.2765, allocations: 4 kB / 0.7928 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2765, allocations: 3.938 kB / 0.7928 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.2768, allocations: 289.6 kB / 0.7931 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2768, allocations: 4 kB / 0.7931 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.43e-05/0.2769, allocations: 19.98 kB / 0.7931 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2769, allocations: 3.938 kB / 0.7931 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.2769, allocations: 4 kB / 0.7931 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2769, allocations: 0 / 0.7931 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2769, allocations: 0 / 0.7931 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.2772, allocations: 199.1 kB / 0.7933 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.2773, allocations: 136.6 kB / 0.7934 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.2774, allocations: 4 kB / 0.7934 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.2775, allocations: 11.98 kB / 0.7934 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.2776, allocations: 11.98 kB / 0.7934 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.2776, allocations: 4 kB / 0.7934 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003936/0.278, allocations: 379 kB / 0.7938 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.278, allocations: 4 kB / 0.7938 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004866/0.2785, allocations: 103.9 kB / 0.7939 GB, free: 2.738 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.004725/0.2832, allocations: 2.8 MB / 0.7966 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003913/0.2836, allocations: 195.8 kB / 0.7968 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2836, allocations: 0 / 0.7968 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.2837, allocations: 51.89 kB / 0.7969 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.2841, allocations: 53.75 kB / 0.7969 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000976/0.2851, allocations: 0.6872 MB / 0.7976 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.2855, allocations: 0.8143 MB / 0.7984 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.2855, allocations: 23.44 kB / 0.7984 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of SimCode: time 4e-07/0.2855, allocations: 0 / 0.7984 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of Templates: time 0.008968/0.2945, allocations: 6.74 MB / 0.805 GB, free: 7.316 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile make -j1 -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.CorrectedConvectionCalcHelperMain.o OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.o] Error 1