Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001809/0.001809, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002213/0.002213, allocations: 213.6 kB / 22.99 MB, free: 4.945 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.732/2.732, allocations: 476 MB / 0.7707 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002099/0.002099, allocations: 67.3 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3305, allocations: 170 MB / 1.284 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003217/0.3337, allocations: 1.568 MB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.3355, allocations: 0.8624 MB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.783e-05/0.3356, allocations: 0 / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.3359, allocations: 63.67 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005583/0.3364, allocations: 147.3 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.793e-05/0.3365, allocations: 0 / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005003/0.337, allocations: 374.2 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.68e-05/0.337, allocations: 12.94 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.3373, allocations: 155.4 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.3376, allocations: 151.3 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.3377, allocations: 20 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006794/0.3383, allocations: 480.8 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.251e-05/0.3384, allocations: 55.75 kB / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.3386, allocations: 103.4 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.3402, allocations: 0.838 MB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3402, allocations: 0 / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3402, allocations: 0 / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.3402, allocations: 4 kB / 1.288 GB, free: 7.16 MB / 0.9825 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.001493/0.3417, allocations: 0.588 MB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3417, allocations: 8.031 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.249e-05/0.3418, allocations: 40.64 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.3424, allocations: 320.8 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.3424, allocations: 4.375 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3424, allocations: 8.375 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.3426, allocations: 101.3 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3426, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3426, allocations: 3.984 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3426, allocations: 4 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3427, allocations: 71.86 kB / 1.29 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.3431, allocations: 263.8 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.3432, allocations: 106.4 kB / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/0.3433, allocations: 67.39 kB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3433, allocations: 0 / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.3434, allocations: 38.56 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3434, allocations: 0 / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003815/0.3437, allocations: 189.2 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.3438, allocations: 132.5 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006671/0.3445, allocations: 0.5014 MB / 1.291 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.3445, allocations: 33.7 kB / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.3447, allocations: 152.4 kB / 1.291 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.3447, allocations: 7.906 kB / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.179e-05/0.3448, allocations: 54.14 kB / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.345, allocations: 350.8 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.3451, allocations: 103.9 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.3454, allocations: 261.5 kB / 1.292 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.3457, allocations: 247.2 kB / 1.292 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3457, allocations: 3.938 kB / 1.292 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004449/0.3462, allocations: 297.2 kB / 1.292 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3462, allocations: 8 kB / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.3462, allocations: 3.938 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3462, allocations: 0 / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.3463, allocations: 23.97 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3464, allocations: 3.984 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.3465, allocations: 27.88 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.3465, allocations: 4 kB / 1.292 GB, free: 2.879 MB / 0.9825 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.000192/0.3467, allocations: 185.6 kB / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.3468, allocations: 35.77 kB / 1.293 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.3471, allocations: 183.6 kB / 1.293 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3471, allocations: 0 / 1.293 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3471, allocations: 4 kB / 1.293 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3471, allocations: 4.125 kB / 1.293 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.3474, allocations: 209.2 kB / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3474, allocations: 4 kB / 1.293 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.952e-05/0.3475, allocations: 15.98 kB / 1.293 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3475, allocations: 0 / 1.293 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3475, allocations: 4 kB / 1.293 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3475, allocations: 7.938 kB / 1.293 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3475, allocations: 0 / 1.293 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.3478, allocations: 195.3 kB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.3479, allocations: 63.67 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.348, allocations: 8 kB / 1.293 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.3482, allocations: 11.92 kB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.3482, allocations: 7.984 kB / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.3482, allocations: 8.234 kB / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000479/0.3487, allocations: 379 kB / 1.294 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3487, allocations: 0 / 1.294 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004953/0.3492, allocations: 99.94 kB / 1.294 GB, free: 1.414 MB / 0.9825 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.004784/0.354, allocations: 2.815 MB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.3543, allocations: 167.8 kB / 1.297 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3543, allocations: 0 / 1.297 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.3544, allocations: 51.84 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.3547, allocations: 53.81 kB / 1.297 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3558, allocations: 0.6156 MB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.356, allocations: 207.4 kB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.3561, allocations: 19.44 kB / 1.298 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.3561, allocations: 0 / 1.298 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of Templates: time 0.01123/0.3673, allocations: 6.796 MB / 1.304 GB, free: 6.633 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] make -j1 -f Buildings_11_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_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o OMCppBuildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp In file included from OMCppBuildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp:28: ./OMCppBuildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:174:283: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:174:283: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.930116564966738] Failed to read output from testmodel.py, exit status != 0: 0.8845926406793296 0.391346198 0.0480895 Calling exit ...