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.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.001466/0.001466, allocations: 109.6 kB / 17.08 MB, free: 5.984 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.001416/0.001416, allocations: 192.7 kB / 20.03 MB, free: 3.059 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.527/1.527, allocations: 222.9 MB / 245.7 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.112/3.112, allocations: 489.3 MB / 0.7687 GB, free: 3.734 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.89 kB / 1.103 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33/1.332, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003003/1.335, allocations: 1.595 MB / 1.264 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001556/1.337, allocations: 0.9096 MB / 1.265 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.559e-05/1.337, allocations: 5.531 kB / 1.265 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003/1.337, allocations: 63.8 kB / 1.265 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005212/1.338, allocations: 140.5 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.939e-05/1.338, allocations: 16.3 kB / 1.265 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005222/1.338, allocations: 359.9 kB / 1.266 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/1.338, allocations: 47.56 kB / 1.266 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/1.339, allocations: 137.8 kB / 1.266 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/1.339, allocations: 144.5 kB / 1.266 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/1.339, allocations: 15.19 kB / 1.266 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/1.34, allocations: 0.5263 MB / 1.266 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.634e-05/1.34, allocations: 52.84 kB / 1.266 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002417/1.34, allocations: 138.5 kB / 1.267 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002337/1.343, allocations: 0.8477 MB / 1.267 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.343, allocations: 0 / 1.267 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.769e-06/1.343, allocations: 0 / 1.267 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.034e-05/1.343, allocations: 1.234 kB / 1.267 GB, free: 5.398 MB / 0.9981 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.002316/1.345, allocations: 0.6539 MB / 1.268 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/1.345, allocations: 10 kB / 1.268 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.12e-05/1.345, allocations: 35.91 kB / 1.268 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/1.346, allocations: 382.8 kB / 1.268 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/1.346, allocations: 6.562 kB / 1.268 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/1.346, allocations: 4.781 kB / 1.268 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/1.346, allocations: 101.3 kB / 1.269 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.346, allocations: 0 / 1.269 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/1.346, allocations: 4.75 kB / 1.269 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.346, allocations: 1 kB / 1.269 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/1.346, allocations: 70.78 kB / 1.269 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/1.347, allocations: 338.6 kB / 1.269 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/1.347, allocations: 109.9 kB / 1.269 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.551e-05/1.347, allocations: 62.34 kB / 1.269 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/1.347, allocations: 1.469 kB / 1.269 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/1.347, allocations: 40.91 kB / 1.269 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/1.347, allocations: 0.5312 kB / 1.269 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004238/1.347, allocations: 190.5 kB / 1.269 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/1.348, allocations: 130.2 kB / 1.269 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/1.348, allocations: 0.5068 MB / 1.27 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/1.348, allocations: 31.14 kB / 1.27 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/1.348, allocations: 153.5 kB / 1.27 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/1.348, allocations: 14.94 kB / 1.27 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.483e-05/1.349, allocations: 52.5 kB / 1.27 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.547e-05/1.349, allocations: 347.5 kB / 1.271 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/1.349, allocations: 94.84 kB / 1.271 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/1.349, allocations: 160.5 kB / 1.271 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/1.349, allocations: 244.6 kB / 1.271 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.349, allocations: 4.844 kB / 1.271 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004592/1.35, allocations: 288.6 kB / 1.271 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.35, allocations: 9.469 kB / 1.271 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.35, allocations: 2.438 kB / 1.271 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.35, allocations: 1.016 kB / 1.271 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/1.35, allocations: 18.78 kB / 1.271 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.35, allocations: 1.812 kB / 1.271 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/1.35, allocations: 23.36 kB / 1.271 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/1.35, allocations: 4.766 kB / 1.271 GB, free: 2.605 MB / 0.9981 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.0001829/1.351, allocations: 187.2 kB / 1.272 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/1.351, allocations: 46.16 kB / 1.272 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/1.351, allocations: 177.7 kB / 1.272 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.351, allocations: 1.906 kB / 1.272 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.351, allocations: 1.312 kB / 1.272 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/1.351, allocations: 3 kB / 1.272 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/1.351, allocations: 297.1 kB / 1.272 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/1.351, allocations: 1.25 kB / 1.272 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.172e-05/1.351, allocations: 14.78 kB / 1.272 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/1.351, allocations: 5.031 kB / 1.272 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/1.351, allocations: 1.812 kB / 1.272 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/1.351, allocations: 5.125 kB / 1.272 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.351, allocations: 5.5 kB / 1.272 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/1.352, allocations: 188.8 kB / 1.272 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/1.352, allocations: 139.2 kB / 1.272 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/1.352, allocations: 5.578 kB / 1.272 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/1.352, allocations: 15.86 kB / 1.272 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/1.352, allocations: 6.625 kB / 1.272 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/1.352, allocations: 2.719 kB / 1.272 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005096/1.353, allocations: 381.2 kB / 1.273 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.353, allocations: 0 / 1.273 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001623/1.354, allocations: 101.5 kB / 1.273 GB, free: 1.664 MB / 0.9981 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.006729/1.361, allocations: 2.811 MB / 1.276 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005663/1.362, allocations: 173.3 kB / 1.276 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.362, allocations: 0 / 1.276 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.62e-05/1.362, allocations: 48.44 kB / 1.276 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/1.362, allocations: 64.39 kB / 1.276 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/1.363, allocations: 0.6141 MB / 1.276 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/1.364, allocations: 0.8116 MB / 1.277 GB, free: 92 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.698e-05/1.364, allocations: 21.14 kB / 1.277 GB, free: 84 kB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/1.364, allocations: 0 / 1.277 GB, free: 84 kB / 0.9981 GB Notification: Performance of Templates: time 0.01652/1.38, allocations: 6.623 MB / 1.284 GB, free: 15.62 MB / 1.014 GB " [Timeout remaining time 299] 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 -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_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:173:283: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:173: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: 9.141529286978766] Failed to read output from testmodel.py, exit status != 0: 1.388235755963251 1.402895231 0.057324566 Calling exit ...