Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 115.1 kB / 17.08 MB, free: 5.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 193.2 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 437.1 MB / 0.7178 GB, free: 4.492 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.89 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3366, allocations: 151.6 MB / 1.176 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002928/0.3396, allocations: 1.578 MB / 1.177 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.3412, allocations: 0.919 MB / 1.178 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.738e-05/0.3413, allocations: 7.875 kB / 1.178 GB, free: 3.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.3416, allocations: 63.66 kB / 1.178 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004734/0.342, allocations: 135.3 kB / 1.178 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.486e-05/0.3421, allocations: 8 kB / 1.178 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.3425, allocations: 366.3 kB / 1.179 GB, free: 2.812 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.3426, allocations: 48.73 kB / 1.179 GB, free: 2.762 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.3429, allocations: 143.4 kB / 1.179 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.3431, allocations: 135.4 kB / 1.179 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.3431, allocations: 16 kB / 1.179 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007301/0.3439, allocations: 0.5319 MB / 1.18 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.344, allocations: 47.77 kB / 1.18 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.3441, allocations: 139.2 kB / 1.18 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.3457, allocations: 0.8536 MB / 1.181 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3457, allocations: 0 / 1.181 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3457, allocations: 0 / 1.181 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3457, allocations: 4 kB / 1.181 GB, free: 0.8828 MB / 0.92 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.00147/0.3472, allocations: 0.6574 MB / 1.181 GB, free: 180 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3472, allocations: 8.031 kB / 1.181 GB, free: 172 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.817e-05/0.3473, allocations: 32.75 kB / 1.181 GB, free: 140 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.3479, allocations: 374.7 kB / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.3479, allocations: 4.359 kB / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.3479, allocations: 12.31 kB / 1.182 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3481, allocations: 101.4 kB / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3481, allocations: 0 / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3482, allocations: 0 / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3482, allocations: 0 / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.3483, allocations: 71.86 kB / 1.182 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.3487, allocations: 344 kB / 1.182 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.3489, allocations: 110.3 kB / 1.182 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.034e-05/0.349, allocations: 59.45 kB / 1.182 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.349, allocations: 4 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.349, allocations: 46.5 kB / 1.182 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.349, allocations: 0 / 1.182 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003732/0.3494, allocations: 185.2 kB / 1.183 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.874e-05/0.3495, allocations: 140.4 kB / 1.183 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006235/0.3502, allocations: 0.4942 MB / 1.183 GB, free: 14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.3502, allocations: 29.7 kB / 1.183 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3503, allocations: 160.4 kB / 1.183 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.3504, allocations: 23.83 kB / 1.183 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.714e-05/0.3505, allocations: 49.69 kB / 1.183 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3506, allocations: 342.8 kB / 1.184 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3508, allocations: 99.86 kB / 1.184 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.351, allocations: 165 kB / 1.184 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.3513, allocations: 231.2 kB / 1.184 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3513, allocations: 0 / 1.184 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004294/0.3517, allocations: 305.2 kB / 1.185 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3518, allocations: 7.938 kB / 1.185 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3518, allocations: 0 / 1.185 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3518, allocations: 4.234 kB / 1.185 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.352, allocations: 23.92 kB / 1.185 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.352, allocations: 0 / 1.185 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.3521, allocations: 19.88 kB / 1.185 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.3521, allocations: 4 kB / 1.185 GB, free: 12.5 MB / 0.9356 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.0001836/0.3523, allocations: 181.8 kB / 1.185 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.3524, allocations: 35.73 kB / 1.185 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000348/0.3527, allocations: 183.7 kB / 1.185 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3528, allocations: 0 / 1.185 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3528, allocations: 3.984 kB / 1.185 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3528, allocations: 4 kB / 1.185 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.3531, allocations: 297.4 kB / 1.185 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3531, allocations: 0 / 1.185 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.33e-05/0.3532, allocations: 12 kB / 1.185 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.3532, allocations: 7.875 kB / 1.185 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.3532, allocations: 7.984 kB / 1.185 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3532, allocations: 3.938 kB / 1.185 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3532, allocations: 4.125 kB / 1.185 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.3535, allocations: 187.4 kB / 1.186 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.3537, allocations: 132.8 kB / 1.186 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.3537, allocations: 7.984 kB / 1.186 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.3538, allocations: 7.984 kB / 1.186 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.3539, allocations: 15.94 kB / 1.186 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.3539, allocations: 4 kB / 1.186 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000454/0.3543, allocations: 379 kB / 1.186 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3544, allocations: 0 / 1.186 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004851/0.3548, allocations: 103.9 kB / 1.186 GB, free: 10.84 MB / 0.9356 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.004621/0.3595, allocations: 2.803 MB / 1.189 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004275/0.3599, allocations: 171.9 kB / 1.189 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.3599, allocations: 4 kB / 1.189 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.816e-05/0.36, allocations: 47.89 kB / 1.189 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.3605, allocations: 57.67 kB / 1.189 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.3615, allocations: 0.6281 MB / 1.19 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.362, allocations: 0.8143 MB / 1.191 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.98e-05/0.3621, allocations: 19.44 kB / 1.191 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.3621, allocations: 0 / 1.191 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of Templates: time 0.01033/0.3724, allocations: 6.624 MB / 1.197 GB, free: 15.61 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] make -j1 -f Buildings_10_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp:28: ./OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:173:283: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:173:283: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.254813559935428] Failed to read output from testmodel.py, exit status != 0: 0.38018097600433975 0.392463943 0.04431786399999994 Calling exit ...