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.001312/0.001312, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001475/0.001475, allocations: 210.4 kB / 23.04 MB, free: 4.867 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.242/3.242, allocations: 0.49 GB / 0.7959 GB, free: 35.62 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.001956/0.001956, allocations: 75.05 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3342, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002859/0.3371, allocations: 1.56 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.3385, allocations: 0.8801 MB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.3386, allocations: 0 / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.3388, allocations: 51.69 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004436/0.3393, allocations: 147.3 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.617e-05/0.3393, allocations: 15.92 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004138/0.3397, allocations: 350.4 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.79e-05/0.3398, allocations: 20.86 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.34, allocations: 163.4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.3403, allocations: 147.4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.3403, allocations: 12 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006364/0.3409, allocations: 488.8 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.341, allocations: 47.78 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.3411, allocations: 115.3 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.3427, allocations: 0.838 MB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3427, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3427, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.3427, allocations: 0 / 1.332 GB, free: 12.17 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.001349/0.344, allocations: 0.5938 MB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.344, allocations: 8.031 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.3441, allocations: 28.75 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.3446, allocations: 324.7 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-06/0.3446, allocations: 4.375 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.3446, allocations: 8.375 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.3448, allocations: 109.4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3448, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3448, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.3448, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.3449, allocations: 71.86 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.3453, allocations: 263.8 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3454, allocations: 106.3 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.156e-05/0.3455, allocations: 59.45 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.3455, allocations: 4 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3455, allocations: 38.56 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3455, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003699/0.3459, allocations: 189.2 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.346, allocations: 132.5 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006246/0.3466, allocations: 0.5052 MB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.3466, allocations: 33.64 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.3468, allocations: 168.8 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.3468, allocations: 7.953 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.86e-05/0.3469, allocations: 53.64 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3471, allocations: 342.8 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.3472, allocations: 99.92 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.3475, allocations: 267.3 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.3478, allocations: 239.2 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3478, allocations: 0 / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004428/0.3482, allocations: 301.3 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.3483, allocations: 8 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3483, allocations: 3.938 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3483, allocations: 0 / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.3484, allocations: 23.92 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.3484, allocations: 4 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.3486, allocations: 23.83 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.3486, allocations: 11.98 kB / 1.336 GB, free: 7.895 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.0001799/0.3488, allocations: 178.2 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.3489, allocations: 27.81 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.3492, allocations: 195.8 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3492, allocations: 128 / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3492, allocations: 4 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3492, allocations: 4 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.3494, allocations: 209.2 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3495, allocations: 4 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.072e-05/0.3495, allocations: 15.98 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3495, allocations: 0 / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.3496, allocations: 3.938 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.3496, allocations: 11.88 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3496, allocations: 0 / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.3498, allocations: 187.4 kB / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.3499, allocations: 63.69 kB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/0.35, allocations: 8 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3501, allocations: 15.91 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.3502, allocations: 11.94 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.3502, allocations: 4 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004591/0.3506, allocations: 379 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3506, allocations: 0 / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005271/0.3512, allocations: 99.94 kB / 1.337 GB, free: 6.426 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.004728/0.3559, allocations: 2.819 MB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003814/0.3563, allocations: 167.8 kB / 1.34 GB, free: 3.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3563, allocations: 0 / 1.34 GB, free: 3.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.01e-05/0.3563, allocations: 43.91 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.3568, allocations: 60.59 kB / 1.34 GB, free: 3.328 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.3578, allocations: 0.6093 MB / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.358, allocations: 203.4 kB / 1.341 GB, free: 2.457 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.3581, allocations: 31.42 kB / 1.341 GB, free: 2.426 MB / 1.029 GB Notification: Performance of SimCode: time 8.71e-07/0.3581, allocations: 0 / 1.341 GB, free: 2.426 MB / 1.029 GB Notification: Performance of Templates: time 0.01068/0.3688, allocations: 6.785 MB / 1.348 GB, free: 11.65 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.160283335018903] Failed to read output from testmodel.py, exit status != 0: 0.37774500204250216 0.393927718 0.04782649599999994 Calling exit ...