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.0008072/0.0008076, allocations: 92.08 kB / 16.02 MB, free: 80 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.0009072/0.0009073, allocations: 178.4 kB / 16.92 MB, free: 6.652 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.525/1.525, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.72/2.72, allocations: 462.6 MB / 0.7371 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000527/0.0005269, allocations: 6.094 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3545, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002063/0.3567, allocations: 1.298 MB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.3583, allocations: 0.8918 MB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.3584, allocations: 4 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.3587, allocations: 59.7 kB / 1.062 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005649/0.3593, allocations: 143.5 kB / 1.062 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.515e-05/0.3594, allocations: 7.984 kB / 1.062 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004574/0.3598, allocations: 354.3 kB / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.36, allocations: 44.73 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.3602, allocations: 127.3 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.3605, allocations: 135.3 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.3606, allocations: 15.94 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.364, allocations: 0.6602 MB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.253e-05/0.3641, allocations: 43.77 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.3644, allocations: 160.9 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.3654, allocations: 0.6947 MB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3654, allocations: 0 / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3654, allocations: 0 / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.3655, allocations: 0 / 1.064 GB, free: 316 kB / 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.001536/0.367, allocations: 0.6071 MB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.3671, allocations: 11.97 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.3672, allocations: 32.56 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005797/0.3678, allocations: 374.2 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.3678, allocations: 4.375 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.3678, allocations: 4.375 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.368, allocations: 105.3 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.368, allocations: 0 / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.368, allocations: 4 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3681, allocations: 0 / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.3682, allocations: 71.86 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.3687, allocations: 348.1 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.3688, allocations: 102.4 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-05/0.3689, allocations: 59.45 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.369, allocations: 15.92 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.369, allocations: 42.48 kB / 1.066 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.369, allocations: 0 / 1.066 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003924/0.3694, allocations: 189 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.3695, allocations: 133 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/0.3701, allocations: 0.5015 MB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.3702, allocations: 25.7 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3703, allocations: 160.3 kB / 1.067 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.3704, allocations: 15.75 kB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.3704, allocations: 29.7 kB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3706, allocations: 338.8 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.3707, allocations: 119.9 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.371, allocations: 186.7 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.3713, allocations: 267.1 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3714, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004975/0.3719, allocations: 325.1 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3719, allocations: 11.94 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3719, allocations: 3.984 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3719, allocations: 4 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.3721, allocations: 19.98 kB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.3721, allocations: 3.938 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.3723, allocations: 23.73 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.3723, allocations: 11.98 kB / 1.068 GB, free: 11.88 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.0002114/0.3725, allocations: 177.7 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.3726, allocations: 31.56 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/0.3729, allocations: 187.7 kB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3729, allocations: 0 / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.373, allocations: 0 / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.373, allocations: 4 kB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.3733, allocations: 301.3 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3733, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.3734, allocations: 15.98 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3734, allocations: 4.062 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3734, allocations: 8 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3734, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3734, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.3737, allocations: 187.2 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.3738, allocations: 140.5 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.3739, allocations: 8 kB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.374, allocations: 7.984 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.3741, allocations: 4 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.3741, allocations: 7.984 kB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004694/0.3746, allocations: 379.1 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3746, allocations: 0 / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000529/0.3751, allocations: 104 kB / 1.069 GB, free: 10.23 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.005096/0.3802, allocations: 2.811 MB / 1.072 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004192/0.3806, allocations: 191.8 kB / 1.072 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.3807, allocations: 0 / 1.072 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.335e-05/0.3808, allocations: 55.84 kB / 1.072 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.3812, allocations: 56.31 kB / 1.072 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3824, allocations: 0.695 MB / 1.073 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.3829, allocations: 0.8146 MB / 1.074 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.038e-05/0.383, allocations: 19.44 kB / 1.074 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.383, allocations: 0 / 1.074 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.01164/0.3946, allocations: 6.682 MB / 1.08 GB, free: 14.86 MB / 0.8419 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