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.002014/0.002014, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.002603/0.002603, allocations: 214.4 kB / 23 MB, free: 5.113 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.721/2.721, allocations: 476.8 MB / 0.7714 GB, free: 4.293 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.002031/0.002031, allocations: 67.28 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3025, allocations: 170 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002896/0.3053, allocations: 1.621 MB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.307, allocations: 0.9558 MB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.3071, allocations: 7.938 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.3073, allocations: 71.64 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004778/0.3078, allocations: 147.2 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.758e-05/0.3078, allocations: 7.984 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004666/0.3083, allocations: 350.4 kB / 1.288 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.784e-05/0.3084, allocations: 12.94 kB / 1.288 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.3086, allocations: 163.3 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.3089, allocations: 147.3 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.3089, allocations: 16 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000734/0.3096, allocations: 0.5437 MB / 1.289 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.148e-05/0.3097, allocations: 51.72 kB / 1.289 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.3099, allocations: 139.2 kB / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.3112, allocations: 0.8419 MB / 1.29 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3112, allocations: 8 kB / 1.29 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3112, allocations: 3.938 kB / 1.29 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.3112, allocations: 4 kB / 1.29 GB, free: 6.172 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.001448/0.3127, allocations: 0.5821 MB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3127, allocations: 8.031 kB / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.3128, allocations: 32.75 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.3133, allocations: 324.8 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3133, allocations: 12.36 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.3133, allocations: 4.375 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.3135, allocations: 101.3 kB / 1.291 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3135, allocations: 0 / 1.291 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.3135, allocations: 4 kB / 1.291 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.3135, allocations: 4 kB / 1.291 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.3136, allocations: 71.86 kB / 1.291 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.314, allocations: 307.2 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.3142, allocations: 114.4 kB / 1.291 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.507e-05/0.3143, allocations: 59.45 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.3143, allocations: 4 kB / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3143, allocations: 42.44 kB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 2.905e-06/0.3143, allocations: 4 kB / 1.291 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003571/0.3147, allocations: 181.3 kB / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/0.3148, allocations: 136.5 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006155/0.3154, allocations: 0.5014 MB / 1.292 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.3154, allocations: 29.7 kB / 1.292 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.3155, allocations: 156.4 kB / 1.292 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.3156, allocations: 16.39 kB / 1.292 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.3156, allocations: 57.64 kB / 1.292 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3158, allocations: 338.8 kB / 1.293 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.316, allocations: 103.9 kB / 1.293 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.3162, allocations: 162.8 kB / 1.293 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.3165, allocations: 247.2 kB / 1.293 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3165, allocations: 0 / 1.293 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004194/0.3169, allocations: 301.2 kB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3169, allocations: 14.44 kB / 1.293 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3169, allocations: 0 / 1.293 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3169, allocations: 0 / 1.293 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3171, allocations: 23.98 kB / 1.293 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3171, allocations: 0 / 1.293 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.3172, allocations: 23.83 kB / 1.293 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.3173, allocations: 4 kB / 1.293 GB, free: 1.965 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.0001884/0.3175, allocations: 189.7 kB / 1.294 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.3175, allocations: 31.75 kB / 1.294 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.3178, allocations: 179.7 kB / 1.294 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3178, allocations: 3.938 kB / 1.294 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3178, allocations: 3.984 kB / 1.294 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3178, allocations: 8.125 kB / 1.294 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.3181, allocations: 260.6 kB / 1.294 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3181, allocations: 0 / 1.294 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.736e-05/0.3182, allocations: 12 kB / 1.294 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3182, allocations: 3.938 kB / 1.294 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.3182, allocations: 4 kB / 1.294 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3182, allocations: 7.922 kB / 1.294 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3182, allocations: 0 / 1.294 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.3185, allocations: 191.4 kB / 1.294 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.3186, allocations: 67.61 kB / 1.294 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.3187, allocations: 0 / 1.294 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.3188, allocations: 15.98 kB / 1.294 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.3189, allocations: 7.984 kB / 1.294 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3189, allocations: 3.938 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000455/0.3193, allocations: 383 kB / 1.295 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3193, allocations: 0 / 1.295 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004639/0.3198, allocations: 103.9 kB / 1.295 GB, free: 444 kB / 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.004652/0.3244, allocations: 2.811 MB / 1.298 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.3248, allocations: 167.8 kB / 1.298 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3248, allocations: 0 / 1.298 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.185e-05/0.3249, allocations: 47.89 kB / 1.298 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.3253, allocations: 64.06 kB / 1.298 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.3263, allocations: 0.6133 MB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.3268, allocations: 0.8142 MB / 1.299 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.829e-05/0.3268, allocations: 19.44 kB / 1.299 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/0.3268, allocations: 0 / 1.299 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of Templates: time 0.00992/0.3367, allocations: 6.678 MB / 1.306 GB, free: 5.156 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 -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/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.856123242992908] Failed to read output from testmodel.py, exit status != 0: 0.8211117070168257 0.35935736100000004 0.045083322 Calling exit ...