Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 110.4 kB / 15.99 MB, free: 6.359 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.001538/0.001538, allocations: 189.2 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.424/1.424, 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.675/1.675, allocations: 292.3 MB / 0.5492 GB, free: 13.66 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.001455/0.001455, allocations: 65.59 kB / 0.6716 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2894, allocations: 114.5 MB / 0.7835 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002919/0.2924, allocations: 1.645 MB / 0.7851 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.294, allocations: 0.9473 MB / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.2941, allocations: 4 kB / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.2943, allocations: 59.7 kB / 0.7861 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004397/0.2948, allocations: 135.5 kB / 0.7862 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.58e-05/0.2949, allocations: 11.98 kB / 0.7862 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004085/0.2953, allocations: 354.3 kB / 0.7866 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.684e-05/0.2954, allocations: 44.75 kB / 0.7866 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.2956, allocations: 147.2 kB / 0.7867 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.2958, allocations: 147.4 kB / 0.7869 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.2959, allocations: 24 kB / 0.7869 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.2988, allocations: 0.559 MB / 0.7875 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.712e-05/0.2989, allocations: 55.75 kB / 0.7875 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.2991, allocations: 139.1 kB / 0.7876 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000945/0.3, allocations: 0.7181 MB / 0.7883 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3001, allocations: 0 / 0.7883 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3001, allocations: 0 / 0.7883 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.3001, allocations: 0 / 0.7883 GB, free: 8.922 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.001533/0.3016, allocations: 0.6575 MB / 0.789 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3017, allocations: 8.031 kB / 0.789 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.425e-05/0.3018, allocations: 32.56 kB / 0.789 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.3023, allocations: 370.3 kB / 0.7894 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.3023, allocations: 4.375 kB / 0.7894 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.3023, allocations: 12.36 kB / 0.7894 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.3025, allocations: 105.3 kB / 0.7895 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3025, allocations: 0 / 0.7895 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3025, allocations: 0 / 0.7895 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3026, allocations: 4 kB / 0.7895 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.3027, allocations: 71.86 kB / 0.7896 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.3031, allocations: 344.1 kB / 0.7899 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.3032, allocations: 106.4 kB / 0.79 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.275e-05/0.3033, allocations: 63.45 kB / 0.7901 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3033, allocations: 0 / 0.7901 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.3034, allocations: 46.44 kB / 0.7901 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.3034, allocations: 0 / 0.7901 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003593/0.3037, allocations: 181.5 kB / 0.7903 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.3038, allocations: 132.6 kB / 0.7904 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.3044, allocations: 0.5053 MB / 0.7909 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3045, allocations: 25.7 kB / 0.7909 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.3046, allocations: 160.3 kB / 0.7911 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.3046, allocations: 23.75 kB / 0.7911 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.3048, allocations: 49.61 kB / 0.7911 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3049, allocations: 342.8 kB / 0.7915 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.3051, allocations: 123.9 kB / 0.7916 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.3053, allocations: 178.8 kB / 0.7918 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.3056, allocations: 267.2 kB / 0.792 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.3057, allocations: 0 / 0.792 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004484/0.3061, allocations: 325 kB / 0.7923 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3061, allocations: 11.94 kB / 0.7923 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.3062, allocations: 8 kB / 0.7923 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3062, allocations: 0 / 0.7923 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.3063, allocations: 15.98 kB / 0.7924 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3063, allocations: 4 kB / 0.7924 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.3065, allocations: 27.81 kB / 0.7924 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.3066, allocations: 4 kB / 0.7924 GB, free: 4.441 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.0001598/0.3067, allocations: 182.4 kB / 0.7926 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.3068, allocations: 39.5 kB / 0.7926 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.3071, allocations: 179.7 kB / 0.7928 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3071, allocations: 4 kB / 0.7928 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3071, allocations: 0 / 0.7928 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.3071, allocations: 4 kB / 0.7928 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.3074, allocations: 285.4 kB / 0.7931 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3074, allocations: 4.125 kB / 0.7931 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.822e-05/0.3075, allocations: 19.98 kB / 0.7931 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.3075, allocations: 4.172 kB / 0.7931 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3076, allocations: 4 kB / 0.7931 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3076, allocations: 4 kB / 0.7931 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3076, allocations: 0 / 0.7931 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.3078, allocations: 207 kB / 0.7933 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.308, allocations: 132.6 kB / 0.7934 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.308, allocations: 4 kB / 0.7934 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.3082, allocations: 7.984 kB / 0.7934 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.3082, allocations: 7.984 kB / 0.7934 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.3082, allocations: 8 kB / 0.7934 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004077/0.3087, allocations: 375 kB / 0.7938 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3087, allocations: 0 / 0.7938 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005579/0.3092, allocations: 107.9 kB / 0.7939 GB, free: 2.785 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.005062/0.3143, allocations: 2.803 MB / 0.7966 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004905/0.3148, allocations: 191.8 kB / 0.7968 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3148, allocations: 4 kB / 0.7968 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.3149, allocations: 51.89 kB / 0.7969 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.3154, allocations: 56.42 kB / 0.7969 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.3164, allocations: 0.6872 MB / 0.7976 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3168, allocations: 0.8143 MB / 0.7984 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.3169, allocations: 19.44 kB / 0.7984 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.3169, allocations: 0 / 0.7984 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of Templates: time 0.009875/0.3268, allocations: 6.742 MB / 0.805 GB, free: 7.363 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile make -j1 -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.UndisturbedSoilTemperatureCalcHelperMain.o OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureCalcHelperMain.o] Error 1