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.0009492/0.0009492, allocations: 76.5 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.001003/0.001003, allocations: 174.3 kB / 23.21 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.9369/0.9369, allocations: 177.1 MB / 203.5 MB, free: 5.68 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.76/1.76, allocations: 377.9 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.9821 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.61e-05/3.786e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002003/0.002041, allocations: 1.582 MB / 0.9837 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.003058, allocations: 0.8567 MB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.003128, allocations: 0 / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.003349, allocations: 63.55 kB / 0.9846 GB, free: 15.6 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.003794, allocations: 139.2 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 3.152e-05/0.003825, allocations: 19.86 kB / 0.9847 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000294/0.004119, allocations: 378.1 kB / 0.9851 GB, free: 15.07 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.00417, allocations: 16.92 kB / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.004417, allocations: 199.5 kB / 0.9853 GB, free: 14.86 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.00456, allocations: 127.7 kB / 0.9854 GB, free: 14.73 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.004586, allocations: 16 kB / 0.9855 GB, free: 14.72 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.004974, allocations: 488.7 kB / 0.9859 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.005037, allocations: 47.77 kB / 0.986 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.765e-05/0.005115, allocations: 91.66 kB / 0.9861 GB, free: 14.09 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008564/0.005971, allocations: 0.9124 MB / 0.9869 GB, free: 13.18 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.005973, allocations: 0 / 0.9869 GB, free: 13.18 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005974, allocations: 0 / 0.9869 GB, free: 13.18 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.005979, allocations: 0 / 0.9869 GB, free: 13.18 MB / 0.948 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.0009273/0.006907, allocations: 0.5821 MB / 0.9875 GB, free: 12.56 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.006956, allocations: 16.03 kB / 0.9875 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.55e-05/0.007042, allocations: 32.7 kB / 0.9876 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.007473, allocations: 312.1 kB / 0.9879 GB, free: 12.19 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.007489, allocations: 4.375 kB / 0.9879 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.007507, allocations: 8.375 kB / 0.9879 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.007654, allocations: 101.6 kB / 0.988 GB, free: 12.06 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.007663, allocations: 192 / 0.988 GB, free: 12.06 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.007676, allocations: 384 / 0.988 GB, free: 12.06 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.007684, allocations: 3.938 kB / 0.988 GB, free: 12.05 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.086e-05/0.007764, allocations: 75.86 kB / 0.988 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.008026, allocations: 255.8 kB / 0.9883 GB, free: 11.69 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.96e-05/0.008125, allocations: 106.4 kB / 0.9884 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.217e-05/0.008187, allocations: 63.39 kB / 0.9884 GB, free: 11.48 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.008207, allocations: 3.984 kB / 0.9885 GB, free: 11.47 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.008225, allocations: 38.56 kB / 0.9885 GB, free: 11.43 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.008226, allocations: 0 / 0.9885 GB, free: 11.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002605/0.008487, allocations: 189.6 kB / 0.9887 GB, free: 11.23 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.008536, allocations: 136.5 kB / 0.9888 GB, free: 11.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.009006, allocations: 0.5014 MB / 0.9893 GB, free: 10.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.00902, allocations: 25.7 kB / 0.9893 GB, free: 10.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.009108, allocations: 168.4 kB / 0.9895 GB, free: 10.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.009128, allocations: 15.84 kB / 0.9895 GB, free: 10.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.009176, allocations: 49.69 kB / 0.9895 GB, free: 10.28 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.009264, allocations: 338.8 kB / 0.9899 GB, free: 9.941 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-05/0.009357, allocations: 103.9 kB / 0.99 GB, free: 9.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.009506, allocations: 275.9 kB / 0.9902 GB, free: 9.523 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.009703, allocations: 239.2 kB / 0.9904 GB, free: 9.277 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.009706, allocations: 0 / 0.9904 GB, free: 9.277 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002554/0.009961, allocations: 305.3 kB / 0.9907 GB, free: 8.973 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.009974, allocations: 4 kB / 0.9907 GB, free: 8.969 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.009982, allocations: 0 / 0.9907 GB, free: 8.969 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.009995, allocations: 4 kB / 0.9907 GB, free: 8.965 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.904e-05/0.01008, allocations: 15.98 kB / 0.9908 GB, free: 8.949 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.01009, allocations: 7.875 kB / 0.9908 GB, free: 8.941 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.791e-05/0.01018, allocations: 19.88 kB / 0.9908 GB, free: 8.922 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.01019, allocations: 15.92 kB / 0.9908 GB, free: 8.906 MB / 0.948 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.0001156/0.01031, allocations: 177.7 kB / 0.991 GB, free: 8.723 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.01034, allocations: 31.81 kB / 0.991 GB, free: 8.691 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.01055, allocations: 187.6 kB / 0.9912 GB, free: 8.504 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01055, allocations: 4 kB / 0.9912 GB, free: 8.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01056, allocations: 3.938 kB / 0.9912 GB, free: 8.496 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01056, allocations: 0 / 0.9912 GB, free: 8.496 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.01071, allocations: 213.2 kB / 0.9914 GB, free: 8.258 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01071, allocations: 0 / 0.9914 GB, free: 8.258 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.01075, allocations: 12 kB / 0.9914 GB, free: 8.246 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01076, allocations: 3.984 kB / 0.9914 GB, free: 8.242 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.01076, allocations: 8.125 kB / 0.9914 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.01077, allocations: 0 / 0.9914 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.01077, allocations: 4 kB / 0.9914 GB, free: 8.23 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.01092, allocations: 207.2 kB / 0.9916 GB, free: 8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.879e-05/0.011, allocations: 55.73 kB / 0.9917 GB, free: 7.945 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.01103, allocations: 3.953 kB / 0.9917 GB, free: 7.941 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.01109, allocations: 15.97 kB / 0.9917 GB, free: 7.926 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.01111, allocations: 11.94 kB / 0.9917 GB, free: 7.914 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.01112, allocations: 0 / 0.9917 GB, free: 7.914 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002761/0.01139, allocations: 379 kB / 0.9921 GB, free: 7.547 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.01139, allocations: 4 kB / 0.9921 GB, free: 7.543 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002831/0.01167, allocations: 103.9 kB / 0.9922 GB, free: 7.441 MB / 0.948 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.002602/0.01428, allocations: 2.811 MB / 0.9949 GB, free: 4.617 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.01451, allocations: 179.8 kB / 0.9951 GB, free: 4.441 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01452, allocations: 0 / 0.9951 GB, free: 4.441 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.222e-05/0.01456, allocations: 43.91 kB / 0.9951 GB, free: 4.398 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.0148, allocations: 54.25 kB / 0.9952 GB, free: 4.348 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.01545, allocations: 0.5969 MB / 0.9958 GB, free: 3.707 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.01557, allocations: 207.4 kB / 0.996 GB, free: 3.484 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.47e-05/0.01562, allocations: 28.47 kB / 0.996 GB, free: 3.457 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/0.01562, allocations: 0 / 0.996 GB, free: 3.457 MB / 0.948 GB Notification: Performance of Templates: time 0.006023/0.02165, allocations: 6.808 MB / 1.003 GB, free: 12.66 MB / 0.9636 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/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_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: 4.899660118855536] Failed to read output from testmodel.py, exit status != 0: 0.02748785726726055 0.03548956 0.027860016 Calling exit ...