Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00164/0.00164, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001798/0.001798, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.43/1.43, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 443.5 MB / 0.7293 GB, free: 14.69 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 71.88 kB / 1.057 GB, free: 2.137 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3385, allocations: 160.7 MB / 1.214 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002892/0.3414, allocations: 1.596 MB / 1.216 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.3429, allocations: 0.9314 MB / 1.217 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.343, allocations: 0 / 1.217 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.3432, allocations: 59.67 kB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.3437, allocations: 139.3 kB / 1.217 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.478e-05/0.3437, allocations: 7.984 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000448/0.3442, allocations: 358.4 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.32e-05/0.3442, allocations: 36.69 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.3445, allocations: 155.3 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.3447, allocations: 139.3 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.3448, allocations: 16 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000765/0.3455, allocations: 0.5281 MB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.3456, allocations: 51.7 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.3457, allocations: 135.2 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.3473, allocations: 0.8536 MB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3473, allocations: 0 / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3473, allocations: 0 / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.3473, allocations: 0 / 1.219 GB, free: 12.08 MB / 0.9669 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.001441/0.3487, allocations: 0.6574 MB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3488, allocations: 12.03 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.474e-05/0.3488, allocations: 32.69 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.3494, allocations: 382.7 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3494, allocations: 4.375 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.3494, allocations: 8.375 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.3496, allocations: 93.39 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3496, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3496, allocations: 3.984 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3496, allocations: 7.938 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.3497, allocations: 67.94 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.3501, allocations: 347.9 kB / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.3503, allocations: 110.4 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.49e-05/0.3504, allocations: 59.47 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.3504, allocations: 4 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.3504, allocations: 46.42 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3504, allocations: 0 / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003679/0.3508, allocations: 185.3 kB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/0.3509, allocations: 136.5 kB / 1.221 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/0.3515, allocations: 0.4976 MB / 1.221 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.3515, allocations: 25.7 kB / 1.221 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.3517, allocations: 160.4 kB / 1.222 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.3517, allocations: 20.34 kB / 1.222 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/0.3518, allocations: 53.69 kB / 1.222 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.352, allocations: 338.8 kB / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3521, allocations: 99.86 kB / 1.222 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.3523, allocations: 162.7 kB / 1.222 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.3527, allocations: 243.2 kB / 1.223 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.3527, allocations: 4 kB / 1.223 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004321/0.3531, allocations: 285.3 kB / 1.223 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3531, allocations: 7.938 kB / 1.223 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3531, allocations: 0 / 1.223 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3531, allocations: 4 kB / 1.223 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3533, allocations: 23.92 kB / 1.223 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.3533, allocations: 0 / 1.223 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.3534, allocations: 19.88 kB / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.3535, allocations: 7.984 kB / 1.223 GB, free: 7.691 MB / 0.9669 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.0001808/0.3536, allocations: 181.8 kB / 1.223 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.3537, allocations: 35.73 kB / 1.223 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.354, allocations: 183.9 kB / 1.223 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.354, allocations: 0 / 1.223 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.3541, allocations: 8 kB / 1.223 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3541, allocations: 128 / 1.223 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.3544, allocations: 301.4 kB / 1.224 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3544, allocations: 0 / 1.224 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.33e-05/0.3545, allocations: 19.92 kB / 1.224 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3545, allocations: 3.938 kB / 1.224 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.3545, allocations: 4 kB / 1.224 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3545, allocations: 0 / 1.224 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3545, allocations: 0 / 1.224 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.3547, allocations: 195.4 kB / 1.224 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.3549, allocations: 136.8 kB / 1.224 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.3549, allocations: 4 kB / 1.224 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3551, allocations: 11.92 kB / 1.224 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.3551, allocations: 15.92 kB / 1.224 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.3551, allocations: 4 kB / 1.224 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004614/0.3556, allocations: 379.1 kB / 1.224 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3556, allocations: 0 / 1.224 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005126/0.3561, allocations: 107.9 kB / 1.224 GB, free: 6.027 MB / 0.9669 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.004609/0.3607, allocations: 2.796 MB / 1.227 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003751/0.3611, allocations: 171.8 kB / 1.227 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3611, allocations: 0 / 1.227 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.396e-05/0.3611, allocations: 43.91 kB / 1.227 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3615, allocations: 59.52 kB / 1.227 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.3626, allocations: 0.6202 MB / 1.228 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.363, allocations: 0.8104 MB / 1.229 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.3631, allocations: 27.42 kB / 1.229 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/0.3631, allocations: 3.938 kB / 1.229 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of Templates: time 0.01013/0.3732, allocations: 6.627 MB / 1.235 GB, free: 10.8 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] make -j1 -f Buildings_10_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_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp:28: ./OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:173:283: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:173:283: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.315695606870577] Failed to read output from testmodel.py, exit status != 0: 0.38161931512877345 0.394830762 0.044718759000000004 Calling exit ...