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.001669/0.001669, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.001773/0.001773, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.536/1.536, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.969/2.969, allocations: 0.49 GB / 0.7923 GB, free: 1.258 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.002066/0.002066, allocations: 71.89 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.12, allocations: 176.1 MB / 1.322 GB, free: 25.18 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002489/1.122, allocations: 1.612 MB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001183/1.123, allocations: 0.9597 MB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.324e-05/1.123, allocations: 2.938 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002263/1.124, allocations: 70.48 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003876/1.124, allocations: 136.9 kB / 1.325 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.443e-05/1.124, allocations: 11.09 kB / 1.325 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003517/1.124, allocations: 364.1 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.386e-05/1.125, allocations: 31.88 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/1.125, allocations: 156 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/1.125, allocations: 137.5 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/1.125, allocations: 14.41 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005776/1.125, allocations: 0.5434 MB / 1.326 GB, free: 22.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/1.126, allocations: 49.58 kB / 1.326 GB, free: 22.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/1.126, allocations: 136.7 kB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/1.127, allocations: 0.8566 MB / 1.327 GB, free: 22.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.127, allocations: 1.188 kB / 1.327 GB, free: 22.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/1.127, allocations: 0 / 1.327 GB, free: 22.53 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.127, allocations: 0 / 1.327 GB, free: 22.53 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.001626/1.129, allocations: 0.6627 MB / 1.328 GB, free: 22 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.129, allocations: 21.27 kB / 1.328 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/1.129, allocations: 31.5 kB / 1.328 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/1.129, allocations: 379.3 kB / 1.328 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/1.13, allocations: 2.562 kB / 1.328 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/1.13, allocations: 4.656 kB / 1.328 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/1.13, allocations: 110 kB / 1.328 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.13, allocations: 0 / 1.328 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/1.13, allocations: 1.094 kB / 1.328 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.13, allocations: 0.9375 kB / 1.328 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/1.13, allocations: 65.17 kB / 1.328 GB, free: 21.58 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/1.13, allocations: 345.9 kB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/1.13, allocations: 105.4 kB / 1.329 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/1.13, allocations: 61.83 kB / 1.329 GB, free: 21.15 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/1.13, allocations: 4.844 kB / 1.329 GB, free: 21.15 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/1.13, allocations: 41.69 kB / 1.329 GB, free: 21.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/1.13, allocations: 0 / 1.329 GB, free: 21.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003931/1.131, allocations: 183.1 kB / 1.329 GB, free: 21.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/1.131, allocations: 135.2 kB / 1.329 GB, free: 20.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006819/1.132, allocations: 0.498 MB / 1.329 GB, free: 20.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/1.132, allocations: 31.14 kB / 1.329 GB, free: 20.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/1.132, allocations: 165.4 kB / 1.33 GB, free: 20.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/1.132, allocations: 15.44 kB / 1.33 GB, free: 20.45 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/1.132, allocations: 48.16 kB / 1.33 GB, free: 20.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.899e-05/1.132, allocations: 342.5 kB / 1.33 GB, free: 20.1 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/1.132, allocations: 96.38 kB / 1.33 GB, free: 20.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/1.132, allocations: 173.2 kB / 1.33 GB, free: 19.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/1.133, allocations: 231 kB / 1.33 GB, free: 19.87 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.133, allocations: 4.641 kB / 1.33 GB, free: 19.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004152/1.133, allocations: 291.7 kB / 1.331 GB, free: 19.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.133, allocations: 10.59 kB / 1.331 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.133, allocations: 2 kB / 1.331 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.133, allocations: 2.156 kB / 1.331 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/1.133, allocations: 16.02 kB / 1.331 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/1.133, allocations: 5.688 kB / 1.331 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/1.133, allocations: 29.45 kB / 1.331 GB, free: 19.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/1.133, allocations: 5.031 kB / 1.331 GB, free: 19.72 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.000159/1.133, allocations: 179.1 kB / 1.331 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/1.134, allocations: 33.73 kB / 1.331 GB, free: 19.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/1.134, allocations: 190.9 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.134, allocations: 1.469 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.134, allocations: 1.469 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.134, allocations: 1.938 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/1.134, allocations: 292.3 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.134, allocations: 5.938 kB / 1.331 GB, free: 19.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.131e-05/1.134, allocations: 13.72 kB / 1.332 GB, free: 19.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/1.134, allocations: 6.344 kB / 1.332 GB, free: 19.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/1.134, allocations: 2.031 kB / 1.332 GB, free: 19.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/1.134, allocations: 5.297 kB / 1.332 GB, free: 19.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.134, allocations: 1.953 kB / 1.332 GB, free: 19.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/1.135, allocations: 201.3 kB / 1.332 GB, free: 19.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/1.135, allocations: 134.1 kB / 1.332 GB, free: 18.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/1.135, allocations: 6.406 kB / 1.332 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/1.135, allocations: 10.83 kB / 1.332 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/1.135, allocations: 8.281 kB / 1.332 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/1.135, allocations: 3.047 kB / 1.332 GB, free: 18.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004715/1.135, allocations: 382.9 kB / 1.332 GB, free: 18.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.135, allocations: 0 / 1.332 GB, free: 18.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00115/1.137, allocations: 101.5 kB / 1.332 GB, free: 18.79 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.005932/1.142, allocations: 2.823 MB / 1.335 GB, free: 18.37 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004614/1.143, allocations: 160.6 kB / 1.335 GB, free: 18.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.143, allocations: 0 / 1.335 GB, free: 18.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/1.143, allocations: 46.25 kB / 1.335 GB, free: 18.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/1.144, allocations: 60.88 kB / 1.335 GB, free: 18.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/1.145, allocations: 0.6205 MB / 1.336 GB, free: 17.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/1.145, allocations: 0.8094 MB / 1.337 GB, free: 17.21 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8e-05/1.145, allocations: 21.72 kB / 1.337 GB, free: 17.2 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/1.145, allocations: 1.094 kB / 1.337 GB, free: 17.2 MB / 1.061 GB Notification: Performance of Templates: time 0.01391/1.159, allocations: 6.684 MB / 1.343 GB, free: 16.73 MB / 1.061 GB " [Timeout remaining time 299] 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.78540336000151] Failed to read output from testmodel.py, exit status != 0: 1.16744344199833 1.184587855 0.053761696000000005 Calling exit ...