Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_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.001456/0.001456, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001382/0.001382, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.236/2.236, allocations: 390.2 MB / 0.665 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 64.42 kB / 0.8127 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2696, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002877/0.2725, allocations: 1.65 MB / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.2741, allocations: 0.9074 MB / 0.9523 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.2742, allocations: 4 kB / 0.9523 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.2745, allocations: 59.7 kB / 0.9523 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005536/0.2751, allocations: 135.5 kB / 0.9524 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.799e-05/0.2752, allocations: 7.984 kB / 0.9525 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.2756, allocations: 354.4 kB / 0.9528 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/0.2757, allocations: 44.73 kB / 0.9528 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.276, allocations: 159.3 kB / 0.953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.2762, allocations: 139.4 kB / 0.9531 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.087e-05/0.2763, allocations: 16 kB / 0.9531 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.2793, allocations: 0.5707 MB / 0.9537 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.2794, allocations: 55.77 kB / 0.9537 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.2796, allocations: 135.2 kB / 0.9539 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.2806, allocations: 0.7143 MB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2807, allocations: 0 / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2807, allocations: 0 / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.2807, allocations: 4 kB / 0.9546 GB, free: 4.254 MB / 0.7325 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.001623/0.2823, allocations: 0.6419 MB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2824, allocations: 12.03 kB / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.738e-05/0.2825, allocations: 32.56 kB / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.283, allocations: 374.3 kB / 0.9556 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.283, allocations: 8.375 kB / 0.9556 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.283, allocations: 4.375 kB / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.2832, allocations: 101.3 kB / 0.9557 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2832, allocations: 0 / 0.9557 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2832, allocations: 3.938 kB / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2832, allocations: 4 kB / 0.9557 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.997e-05/0.2833, allocations: 71.86 kB / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.2837, allocations: 351.9 kB / 0.9561 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.2839, allocations: 106.4 kB / 0.9562 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.284, allocations: 63.45 kB / 0.9563 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.284, allocations: 0 / 0.9563 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.284, allocations: 42.44 kB / 0.9563 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 2.445e-06/0.284, allocations: 4 kB / 0.9563 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003604/0.2844, allocations: 185.1 kB / 0.9565 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.2845, allocations: 132.5 kB / 0.9566 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005615/0.285, allocations: 0.5053 MB / 0.9571 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.2851, allocations: 25.7 kB / 0.9571 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.2852, allocations: 156.4 kB / 0.9573 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.2852, allocations: 20.25 kB / 0.9573 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.2853, allocations: 53.69 kB / 0.9574 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2854, allocations: 338.8 kB / 0.9577 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.2856, allocations: 111.9 kB / 0.9578 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.2858, allocations: 188.2 kB / 0.958 GB, free: 464 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.2862, allocations: 271.2 kB / 0.9582 GB, free: 180 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.2862, allocations: 0 / 0.9582 GB, free: 180 kB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004828/0.2867, allocations: 333.2 kB / 0.9586 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.2867, allocations: 7.938 kB / 0.9586 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.2867, allocations: 7.984 kB / 0.9586 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2867, allocations: 0 / 0.9586 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.2869, allocations: 15.98 kB / 0.9586 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2869, allocations: 0 / 0.9586 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.2871, allocations: 27.77 kB / 0.9586 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.2871, allocations: 8 kB / 0.9586 GB, free: 15.78 MB / 0.7481 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.0001686/0.2873, allocations: 183.7 kB / 0.9588 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.2874, allocations: 39.47 kB / 0.9588 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.2877, allocations: 175.8 kB / 0.959 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.2877, allocations: 4 kB / 0.959 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2877, allocations: 4.125 kB / 0.959 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2877, allocations: 0 / 0.959 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.288, allocations: 297.3 kB / 0.9593 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.288, allocations: 3.938 kB / 0.9593 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.591e-05/0.2881, allocations: 12 kB / 0.9593 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.2881, allocations: 11.92 kB / 0.9593 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2881, allocations: 0 / 0.9593 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2881, allocations: 4 kB / 0.9593 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2882, allocations: 0 / 0.9593 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.2884, allocations: 191.2 kB / 0.9595 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.2885, allocations: 132.7 kB / 0.9596 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.2886, allocations: 11.89 kB / 0.9596 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.2888, allocations: 15.92 kB / 0.9597 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.2888, allocations: 4 kB / 0.9597 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.2888, allocations: 4 kB / 0.9597 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004152/0.2892, allocations: 379 kB / 0.96 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2892, allocations: 0 / 0.96 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004881/0.2897, allocations: 100 kB / 0.9601 GB, free: 14.13 MB / 0.7481 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.00489/0.2946, allocations: 2.815 MB / 0.9629 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004851/0.2951, allocations: 199.7 kB / 0.9631 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.2952, allocations: 0 / 0.9631 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.957e-05/0.2952, allocations: 47.91 kB / 0.9631 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.2958, allocations: 64.25 kB / 0.9632 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.2969, allocations: 0.6718 MB / 0.9638 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.2973, allocations: 0.8142 MB / 0.9646 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.953e-05/0.2974, allocations: 23.42 kB / 0.9646 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of SimCode: time 2.084e-06/0.2974, allocations: 0 / 0.9646 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of Templates: time 0.0111/0.3085, allocations: 6.741 MB / 0.9712 GB, free: 2.691 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile make -j1 -f Buildings_9_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_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureCalcHelperMain.cpp:28: ./OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureCalcHelperMain.o] Error 1