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.0008357/0.0008357, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008195/0.0008195, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8757/0.8757, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.785/1.785, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 3.938 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.153e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002348/0.00238, allocations: 1.567 MB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.00357, allocations: 0.8645 MB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/0.003665, allocations: 4 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.003934, allocations: 63.61 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004502/0.004384, allocations: 143.2 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.871e-05/0.004423, allocations: 19.86 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000509/0.004932, allocations: 374.1 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 6.008e-05/0.004992, allocations: 16.92 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.00528, allocations: 195.5 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.005431, allocations: 127.7 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.00546, allocations: 19.94 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/0.005901, allocations: 488.8 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.00597, allocations: 47.72 kB / 1.005 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.459e-05/0.006055, allocations: 87.77 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009312/0.006986, allocations: 0.9007 MB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.006991, allocations: 4 kB / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.944e-06/0.006993, allocations: 0 / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.006999, allocations: 4 kB / 1.006 GB, free: 8.113 MB / 0.9636 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.0009973/0.007997, allocations: 0.5821 MB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.008041, allocations: 8.75 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.008107, allocations: 36.7 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.008486, allocations: 324 kB / 1.007 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.0085, allocations: 4.375 kB / 1.007 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.008519, allocations: 12.31 kB / 1.007 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.008657, allocations: 93.62 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.008667, allocations: 4.188 kB / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.00868, allocations: 384 / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.008686, allocations: 3.938 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.492e-05/0.008761, allocations: 71.86 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.009005, allocations: 251.9 kB / 1.007 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.965e-05/0.009105, allocations: 106.3 kB / 1.007 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.009164, allocations: 63.45 kB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.009182, allocations: 4 kB / 1.007 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.009206, allocations: 38.56 kB / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.009208, allocations: 0 / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002916/0.0095, allocations: 189.2 kB / 1.007 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.009555, allocations: 136.4 kB / 1.008 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/0.009969, allocations: 0.5053 MB / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.009986, allocations: 30.14 kB / 1.008 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.01008, allocations: 160.4 kB / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.01011, allocations: 15.91 kB / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.01017, allocations: 53.64 kB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.01027, allocations: 338.8 kB / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.01038, allocations: 99.92 kB / 1.009 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.01054, allocations: 271.8 kB / 1.009 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.01075, allocations: 239.2 kB / 1.009 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01076, allocations: 0 / 1.009 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000275/0.01103, allocations: 301.5 kB / 1.009 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.01105, allocations: 4 kB / 1.009 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.01107, allocations: 3.984 kB / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.01109, allocations: 11.94 kB / 1.009 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.01121, allocations: 19.92 kB / 1.009 GB, free: 3.883 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.01122, allocations: 3.938 kB / 1.009 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.01132, allocations: 19.88 kB / 1.009 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.01134, allocations: 7.984 kB / 1.01 GB, free: 3.852 MB / 0.9636 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.0001359/0.01147, allocations: 181.7 kB / 1.01 GB, free: 3.664 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.01151, allocations: 31.77 kB / 1.01 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.01177, allocations: 191.7 kB / 1.01 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01177, allocations: 0 / 1.01 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.01178, allocations: 7.938 kB / 1.01 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01178, allocations: 0 / 1.01 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.01195, allocations: 217.2 kB / 1.01 GB, free: 3.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01195, allocations: 0 / 1.01 GB, free: 3.188 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.01201, allocations: 12 kB / 1.01 GB, free: 3.176 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01201, allocations: 3.984 kB / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.01202, allocations: 4 kB / 1.01 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.01202, allocations: 0 / 1.01 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.01203, allocations: 0 / 1.01 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.0122, allocations: 203.3 kB / 1.01 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/0.01229, allocations: 59.69 kB / 1.01 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.01231, allocations: 4 kB / 1.01 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.01256, allocations: 11.97 kB / 1.01 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.01258, allocations: 7.938 kB / 1.01 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.01259, allocations: 8 kB / 1.01 GB, free: 2.852 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002775/0.01287, allocations: 379 kB / 1.011 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.1e-07/0.01287, allocations: 0 / 1.011 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003895/0.01326, allocations: 95.94 kB / 1.011 GB, free: 2.395 MB / 0.9636 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.00276/0.01602, allocations: 2.827 MB / 1.014 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.01631, allocations: 167.7 kB / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.01631, allocations: 0 / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 4.423e-05/0.01635, allocations: 52.03 kB / 1.014 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.01668, allocations: 53.62 kB / 1.014 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008259/0.0175, allocations: 0.597 MB / 1.014 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.01764, allocations: 207.4 kB / 1.015 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.0177, allocations: 28.48 kB / 1.015 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of SimCode: time 1.573e-06/0.0177, allocations: 0 / 1.015 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of Templates: time 0.007566/0.02527, allocations: 6.814 MB / 1.021 GB, free: 7.598 MB / 0.9792 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/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: 4.729534890502691] Failed to read output from testmodel.py, exit status != 0: 0.032636565156280994 0.041730302000000004 0.032853464 Calling exit ...