Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001397/0.001397, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.426/1.426, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.823/2.823, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 68.67 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3505, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003291/0.3539, allocations: 1.636 MB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3555, allocations: 0.9189 MB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.3557, allocations: 4 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.356, allocations: 51.73 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00058/0.3566, allocations: 135.5 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.058e-05/0.3567, allocations: 8 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00041/0.3571, allocations: 362.3 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3572, allocations: 48.73 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.3575, allocations: 123.3 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.3578, allocations: 131.3 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.3578, allocations: 12 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003385/0.3612, allocations: 0.6641 MB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.3613, allocations: 51.69 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.3616, allocations: 119.3 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.3628, allocations: 0.7065 MB / 1.058 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3628, allocations: 4 kB / 1.058 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3628, allocations: 0 / 1.058 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.3629, allocations: 0 / 1.058 GB, free: 3.289 MB / 0.8106 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.001735/0.3646, allocations: 0.6497 MB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3647, allocations: 11.97 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.3648, allocations: 36.56 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005668/0.3653, allocations: 370.3 kB / 1.059 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.3654, allocations: 8.375 kB / 1.059 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3654, allocations: 8.312 kB / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.3656, allocations: 105.4 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3656, allocations: 0 / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3656, allocations: 0 / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.3657, allocations: 8 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.3658, allocations: 63.88 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.3662, allocations: 352 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.3665, allocations: 110.3 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.3666, allocations: 67.39 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.3666, allocations: 4 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.3666, allocations: 34.5 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.3666, allocations: 4 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004627/0.3671, allocations: 185.1 kB / 1.06 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.3672, allocations: 132.5 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006693/0.3679, allocations: 0.4975 MB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.3679, allocations: 29.7 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.368, allocations: 152.4 kB / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.3681, allocations: 24.23 kB / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.3682, allocations: 49.61 kB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3683, allocations: 346.8 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3685, allocations: 119.8 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.3687, allocations: 178.8 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.3691, allocations: 275.1 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3691, allocations: 0 / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004788/0.3696, allocations: 321.2 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3696, allocations: 13.5 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3696, allocations: 0 / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3696, allocations: 0 / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.3698, allocations: 16.22 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.3698, allocations: 7.938 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.37, allocations: 27.72 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.37, allocations: 8 kB / 1.062 GB, free: 14.8 MB / 0.8262 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.0001824/0.3702, allocations: 181.8 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.3703, allocations: 35.55 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.3706, allocations: 179.8 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3706, allocations: 128 / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3707, allocations: 8 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3707, allocations: 4 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.371, allocations: 293.3 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.371, allocations: 4 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.162e-05/0.3711, allocations: 15.98 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.3712, allocations: 3.938 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3712, allocations: 4 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3712, allocations: 3.938 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3712, allocations: 0 / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.3714, allocations: 191.3 kB / 1.062 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.3716, allocations: 136.5 kB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.3717, allocations: 4 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.3718, allocations: 11.98 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.3719, allocations: 11.92 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.3719, allocations: 11.94 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004619/0.3723, allocations: 375 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3724, allocations: 4 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006089/0.373, allocations: 100 kB / 1.063 GB, free: 13.14 MB / 0.8262 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.004851/0.3778, allocations: 2.815 MB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.3783, allocations: 187.8 kB / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3783, allocations: 0 / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.699e-05/0.3784, allocations: 47.91 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.3788, allocations: 56.16 kB / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.38, allocations: 0.6773 MB / 1.067 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.3805, allocations: 0.8146 MB / 1.068 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.467e-05/0.3806, allocations: 19.44 kB / 1.068 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3806, allocations: 0 / 1.068 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of Templates: time 0.01151/0.3921, allocations: 6.722 MB / 1.074 GB, free: 1.758 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile make -j1 -f Buildings_latest_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_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureCalcHelperMain.o OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureCalcHelperMain.cpp:28: ./OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureCalcHelperMain.o] Error 1