Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 218 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.183/3.183, allocations: 0.49 GB / 0.7958 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 61.56 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.36, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002844/0.3628, allocations: 1.612 MB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3644, allocations: 0.9618 MB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.3645, allocations: 7.938 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.3648, allocations: 63.66 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.3652, allocations: 143.3 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.384e-05/0.3652, allocations: 4 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.3657, allocations: 370.2 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.225e-05/0.3658, allocations: 16.94 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.366, allocations: 159.3 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.3663, allocations: 143.3 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.3663, allocations: 15.94 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007255/0.367, allocations: 0.5437 MB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.793e-05/0.3671, allocations: 55.7 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.3673, allocations: 135.2 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.3686, allocations: 0.8536 MB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3686, allocations: 4 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3686, allocations: 0 / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3686, allocations: 4 kB / 1.332 GB, free: 12.37 MB / 1.029 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.001434/0.37, allocations: 0.5898 MB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3701, allocations: 12.03 kB / 1.333 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.3701, allocations: 32.75 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.3706, allocations: 320.8 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.3707, allocations: 384 / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.3707, allocations: 8.375 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.3708, allocations: 109.3 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.3708, allocations: 4 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3709, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3709, allocations: 3.984 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.371, allocations: 63.88 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.3714, allocations: 315.2 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.3715, allocations: 106.4 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.424e-05/0.3716, allocations: 63.45 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.3716, allocations: 7.984 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3716, allocations: 42.44 kB / 1.334 GB, free: 10.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3716, allocations: 0 / 1.334 GB, free: 10.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003641/0.372, allocations: 185.3 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.3721, allocations: 132.5 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006115/0.3727, allocations: 0.5014 MB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.3727, allocations: 30.2 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.3729, allocations: 160.4 kB / 1.335 GB, free: 9.473 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.3729, allocations: 11.94 kB / 1.335 GB, free: 9.461 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.373, allocations: 49.66 kB / 1.335 GB, free: 9.406 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3731, allocations: 342.8 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.3733, allocations: 103.9 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.3735, allocations: 166.7 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.3738, allocations: 239.2 kB / 1.336 GB, free: 8.527 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3738, allocations: 0 / 1.336 GB, free: 8.527 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004275/0.3742, allocations: 301.2 kB / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3742, allocations: 11.94 kB / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3743, allocations: 0 / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3743, allocations: 0 / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.3744, allocations: 19.92 kB / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3744, allocations: 7.984 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.3746, allocations: 31.83 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.3746, allocations: 4 kB / 1.336 GB, free: 8.152 MB / 1.029 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.0001861/0.3748, allocations: 186.2 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.3748, allocations: 31.75 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.3751, allocations: 175.7 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3752, allocations: 12.06 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3752, allocations: 0 / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.3752, allocations: 4 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.3754, allocations: 256.6 kB / 1.337 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.3754, allocations: 4 kB / 1.337 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.088e-05/0.3755, allocations: 15.98 kB / 1.337 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3755, allocations: 3.938 kB / 1.337 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3755, allocations: 4 kB / 1.337 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3756, allocations: 4 kB / 1.337 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3756, allocations: 0 / 1.337 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.3758, allocations: 195.3 kB / 1.337 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.376, allocations: 67.61 kB / 1.337 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.376, allocations: 0 / 1.337 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.3761, allocations: 15.98 kB / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.3762, allocations: 7.984 kB / 1.337 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.3762, allocations: 8 kB / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004445/0.3766, allocations: 379 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3766, allocations: 0 / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004799/0.3771, allocations: 103.9 kB / 1.337 GB, free: 6.625 MB / 1.029 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.00461/0.3817, allocations: 2.811 MB / 1.34 GB, free: 3.801 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003642/0.3821, allocations: 171.9 kB / 1.34 GB, free: 3.633 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3821, allocations: 0 / 1.34 GB, free: 3.633 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.3822, allocations: 47.91 kB / 1.34 GB, free: 3.586 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.3825, allocations: 65.56 kB / 1.34 GB, free: 3.523 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.3836, allocations: 0.6133 MB / 1.341 GB, free: 2.867 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.384, allocations: 0.8104 MB / 1.342 GB, free: 2.031 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.3841, allocations: 23.44 kB / 1.342 GB, free: 2.008 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3841, allocations: 0 / 1.342 GB, free: 2.008 MB / 1.029 GB Notification: Performance of Templates: time 0.00982/0.3939, allocations: 6.666 MB / 1.348 GB, free: 11.35 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile clang++ -std=c++17 -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_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o OMCppBuildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp In file included from OMCppBuildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp:28: ./OMCppBuildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:174:283: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:174:283: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.059152133995667] Failed to read output from testmodel.py, exit status != 0: 0.40212365600746125 0.41640022 0.044790973000000005 Calling exit ...