Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001344/0.001344, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001476/0.001476, allocations: 217.1 kB / 22.99 MB, free: 4.914 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.393/3.393, allocations: 0.5107 GB / 0.8166 GB, free: 17.9 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002098/0.002098, allocations: 73.75 kB / 1.187 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3963, allocations: 181.9 MB / 1.365 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002997/0.3993, allocations: 1.573 MB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.4009, allocations: 0.8695 MB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.65e-05/0.401, allocations: 0 / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.4013, allocations: 59.67 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004942/0.4018, allocations: 147.3 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.012e-05/0.4018, allocations: 11.94 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004572/0.4023, allocations: 362.3 kB / 1.368 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.141e-05/0.4023, allocations: 12.94 kB / 1.368 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.4026, allocations: 155.3 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.4029, allocations: 147.4 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.4029, allocations: 16 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006818/0.4036, allocations: 484.8 kB / 1.368 GB, free: 9.828 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.058e-05/0.4037, allocations: 47.77 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.4038, allocations: 115.3 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.4053, allocations: 0.8341 MB / 1.369 GB, free: 8.832 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4053, allocations: 4 kB / 1.369 GB, free: 8.828 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4053, allocations: 0 / 1.369 GB, free: 8.828 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.4054, allocations: 0 / 1.369 GB, free: 8.828 MB / 1.061 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.001408/0.4068, allocations: 0.5877 MB / 1.37 GB, free: 8.211 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4068, allocations: 8.031 kB / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.728e-05/0.4069, allocations: 36.7 kB / 1.37 GB, free: 8.168 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.4074, allocations: 316.8 kB / 1.37 GB, free: 7.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.4074, allocations: 4.375 kB / 1.37 GB, free: 7.836 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.4075, allocations: 12.31 kB / 1.37 GB, free: 7.824 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.4076, allocations: 97.39 kB / 1.37 GB, free: 7.711 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4077, allocations: 4 kB / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.4077, allocations: 4 kB / 1.37 GB, free: 7.703 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.4077, allocations: 4 kB / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.4078, allocations: 67.86 kB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.4081, allocations: 259.8 kB / 1.371 GB, free: 7.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.4083, allocations: 106.3 kB / 1.371 GB, free: 7.199 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.268e-05/0.4084, allocations: 63.45 kB / 1.371 GB, free: 7.125 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.4084, allocations: 7.938 kB / 1.371 GB, free: 7.117 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.4084, allocations: 30.56 kB / 1.371 GB, free: 7.078 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.4084, allocations: 4 kB / 1.371 GB, free: 7.074 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003668/0.4088, allocations: 193.2 kB / 1.371 GB, free: 6.879 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/0.4089, allocations: 132.5 kB / 1.371 GB, free: 6.719 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000632/0.4095, allocations: 0.5053 MB / 1.372 GB, free: 6.203 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.4095, allocations: 29.64 kB / 1.372 GB, free: 6.168 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.4097, allocations: 160.4 kB / 1.372 GB, free: 6.004 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.4097, allocations: 11.91 kB / 1.372 GB, free: 5.992 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.942e-05/0.4098, allocations: 53.64 kB / 1.372 GB, free: 5.934 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4099, allocations: 351.2 kB / 1.372 GB, free: 5.582 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.4101, allocations: 103.9 kB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.4103, allocations: 261.6 kB / 1.373 GB, free: 5.176 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.4107, allocations: 243.2 kB / 1.373 GB, free: 4.926 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4107, allocations: 0 / 1.373 GB, free: 4.926 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004327/0.4111, allocations: 293.5 kB / 1.373 GB, free: 4.633 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4111, allocations: 8 kB / 1.373 GB, free: 4.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4111, allocations: 3.938 kB / 1.373 GB, free: 4.621 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.4112, allocations: 7.984 kB / 1.373 GB, free: 4.613 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.4113, allocations: 27.91 kB / 1.373 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4113, allocations: 0 / 1.373 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.4115, allocations: 23.88 kB / 1.373 GB, free: 4.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.4115, allocations: 8 kB / 1.373 GB, free: 4.555 MB / 1.061 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.0001834/0.4117, allocations: 185.7 kB / 1.373 GB, free: 4.363 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.4117, allocations: 31.77 kB / 1.373 GB, free: 4.332 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.4121, allocations: 179.6 kB / 1.374 GB, free: 4.148 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4121, allocations: 0 / 1.374 GB, free: 4.148 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.4121, allocations: 7.938 kB / 1.374 GB, free: 4.141 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4121, allocations: 0 / 1.374 GB, free: 4.141 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.4123, allocations: 217.3 kB / 1.374 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4123, allocations: 0 / 1.374 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.4124, allocations: 19.98 kB / 1.374 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4124, allocations: 0 / 1.374 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.4124, allocations: 4 kB / 1.374 GB, free: 3.875 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.4124, allocations: 7.875 kB / 1.374 GB, free: 3.867 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4124, allocations: 0 / 1.374 GB, free: 3.867 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.4127, allocations: 191.4 kB / 1.374 GB, free: 3.652 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.4128, allocations: 63.67 kB / 1.374 GB, free: 3.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.4129, allocations: 4 kB / 1.374 GB, free: 3.586 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.413, allocations: 11.92 kB / 1.374 GB, free: 3.574 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.4131, allocations: 19.92 kB / 1.374 GB, free: 3.555 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.4131, allocations: 4 kB / 1.374 GB, free: 3.551 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004432/0.4135, allocations: 379 kB / 1.374 GB, free: 3.184 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4135, allocations: 0 / 1.374 GB, free: 3.184 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004843/0.414, allocations: 99.94 kB / 1.375 GB, free: 3.086 MB / 1.061 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.004603/0.4186, allocations: 2.815 MB / 1.377 GB, free: 264 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000428/0.419, allocations: 171.8 kB / 1.377 GB, free: 92 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.419, allocations: 0 / 1.377 GB, free: 92 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.21e-05/0.4191, allocations: 43.91 kB / 1.377 GB, free: 48 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.4196, allocations: 55.75 kB / 1.378 GB, free: 15.99 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.4206, allocations: 0.6132 MB / 1.378 GB, free: 15.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.4208, allocations: 199.4 kB / 1.378 GB, free: 15.12 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.4208, allocations: 27.44 kB / 1.378 GB, free: 15.09 MB / 1.076 GB Notification: Performance of SimCode: time 3.9e-07/0.4208, allocations: 0 / 1.378 GB, free: 15.09 MB / 1.076 GB Notification: Performance of Templates: time 0.009959/0.4308, allocations: 6.793 MB / 1.385 GB, free: 8.312 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] make -j1 -f Buildings_latest_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_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp:28: ./OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:174:283: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:174:283: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.330751726403832] Failed to read output from testmodel.py, exit status != 0: 0.4389413860626519 0.454374401 0.045620570000000006 Calling exit ...