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.002026/0.002026, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002518/0.002518, allocations: 211.5 kB / 22.99 MB, free: 4.945 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.231/3.231, allocations: 0.4892 GB / 0.7951 GB, free: 35.59 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.002145/0.002145, allocations: 68.3 kB / 1.154 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3579, allocations: 176.1 MB / 1.326 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003318/0.3612, allocations: 1.573 MB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.363, allocations: 0.8646 MB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.3631, allocations: 3.938 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.3634, allocations: 59.67 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005966/0.364, allocations: 135.3 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 5.074e-05/0.3641, allocations: 15.97 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005024/0.3646, allocations: 366.3 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.682e-05/0.3646, allocations: 8.938 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003423/0.365, allocations: 163.3 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.3653, allocations: 155.3 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.3653, allocations: 16 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007127/0.3661, allocations: 472.8 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.233e-05/0.3661, allocations: 55.7 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.3663, allocations: 107.5 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.368, allocations: 0.8458 MB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.368, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.814e-06/0.368, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.368, allocations: 4 kB / 1.331 GB, free: 12.91 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.001645/0.3696, allocations: 0.5782 MB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3697, allocations: 11.97 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.3698, allocations: 40.73 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006209/0.3704, allocations: 320.8 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.3704, allocations: 4.375 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.3704, allocations: 4.375 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.3706, allocations: 109.4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3706, allocations: 3.938 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3707, allocations: 3.938 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3707, allocations: 7.938 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.3708, allocations: 63.94 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.3712, allocations: 267.8 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.3713, allocations: 102.4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.631e-05/0.3714, allocations: 59.45 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.3714, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.3715, allocations: 38.5 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3715, allocations: 0 / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003975/0.3719, allocations: 185.7 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.372, allocations: 140.5 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006623/0.3726, allocations: 0.5053 MB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.3727, allocations: 29.7 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.3728, allocations: 160.4 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.3729, allocations: 15.89 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.3729, allocations: 45.7 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.3731, allocations: 346.8 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.3733, allocations: 99.92 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.3735, allocations: 259.5 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.3739, allocations: 251.2 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3739, allocations: 0 / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004459/0.3743, allocations: 301.3 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3744, allocations: 8 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3744, allocations: 3.938 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3744, allocations: 0 / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.3745, allocations: 19.92 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3745, allocations: 4 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.3747, allocations: 27.83 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.3747, allocations: 7.938 kB / 1.335 GB, free: 8.633 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.0001953/0.3749, allocations: 186.2 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.375, allocations: 27.81 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.3753, allocations: 187.6 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3753, allocations: 0 / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.3753, allocations: 7.984 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3753, allocations: 240 / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.3756, allocations: 209.2 kB / 1.335 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3756, allocations: 4 kB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.131e-05/0.3757, allocations: 19.92 kB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3757, allocations: 0 / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3757, allocations: 128 / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.3757, allocations: 15.92 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3757, allocations: 3.938 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.376, allocations: 191.3 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.3761, allocations: 63.67 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.3762, allocations: 4 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.3763, allocations: 15.92 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.3764, allocations: 7.984 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.3764, allocations: 4 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004774/0.3768, allocations: 379 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3768, allocations: 0 / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004956/0.3773, allocations: 103.9 kB / 1.336 GB, free: 7.16 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.004736/0.3821, allocations: 2.811 MB / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000386/0.3825, allocations: 163.8 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3825, allocations: 4 kB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.3825, allocations: 47.89 kB / 1.339 GB, free: 4.125 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.3829, allocations: 51.39 kB / 1.339 GB, free: 4.074 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.384, allocations: 0.6213 MB / 1.34 GB, free: 3.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.3842, allocations: 207.4 kB / 1.34 GB, free: 3.188 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.445e-05/0.3843, allocations: 27.31 kB / 1.34 GB, free: 3.16 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.3843, allocations: 0 / 1.34 GB, free: 3.16 MB / 1.029 GB Notification: Performance of Templates: time 0.01081/0.3951, allocations: 6.789 MB / 1.347 GB, free: 12.39 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 -DOMC_BUILD -DUSE_THREAD -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.228646619711071] Failed to read output from testmodel.py, exit status != 0: 0.40396096277981997 0.41899523600000005 0.047723924 Calling exit ...