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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,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=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 104.8 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 187.7 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.682/2.682, allocations: 469.8 MB / 0.743 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 66.8 kB / 0.9092 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3434, allocations: 159.1 MB / 1.065 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.00304/0.3465, allocations: 1.575 MB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.348, allocations: 0.9151 MB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.317e-05/0.3482, allocations: 7.938 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.3484, allocations: 63.64 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004385/0.3489, allocations: 143.3 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 2.787e-05/0.3489, allocations: 0 / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000439/0.3494, allocations: 362.3 kB / 1.068 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.479e-05/0.3495, allocations: 40.75 kB / 1.068 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.3497, allocations: 147.4 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.3499, allocations: 135.3 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.3499, allocations: 16 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007272/0.3507, allocations: 0.5319 MB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.871e-05/0.3508, allocations: 47.77 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.3509, allocations: 139.2 kB / 1.069 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.3525, allocations: 0.8503 MB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3525, allocations: 0 / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3525, allocations: 0 / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.3525, allocations: 0 / 1.069 GB, free: 9.82 MB / 0.8419 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.001416/0.3539, allocations: 0.6381 MB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.354, allocations: 16.03 kB / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.3541, allocations: 36.55 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.3546, allocations: 370.3 kB / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3546, allocations: 4.375 kB / 1.07 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.3546, allocations: 8.312 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3548, allocations: 105.3 kB / 1.071 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3548, allocations: 0 / 1.071 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3549, allocations: 8 kB / 1.071 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3549, allocations: 0 / 1.071 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.355, allocations: 67.86 kB / 1.071 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.3554, allocations: 340.1 kB / 1.071 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.3556, allocations: 110.3 kB / 1.071 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.831e-05/0.3557, allocations: 59.45 kB / 1.071 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.3557, allocations: 4 kB / 1.071 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.3557, allocations: 50.44 kB / 1.071 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3558, allocations: 0 / 1.071 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0003845/0.3561, allocations: 185.1 kB / 1.071 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.392e-05/0.3562, allocations: 128.5 kB / 1.072 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006443/0.3569, allocations: 0.5053 MB / 1.072 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.3569, allocations: 25.7 kB / 1.072 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.3571, allocations: 164.9 kB / 1.072 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.3571, allocations: 19.75 kB / 1.072 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/0.3572, allocations: 53.59 kB / 1.072 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3574, allocations: 342.8 kB / 1.073 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.3575, allocations: 95.92 kB / 1.073 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.3577, allocations: 162.8 kB / 1.073 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.358, allocations: 231.2 kB / 1.073 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3581, allocations: 4 kB / 1.073 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004314/0.3585, allocations: 293.1 kB / 1.073 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.3585, allocations: 11.94 kB / 1.073 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3585, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3586, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.3587, allocations: 27.86 kB / 1.073 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3587, allocations: 0 / 1.073 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.3589, allocations: 19.83 kB / 1.073 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.3589, allocations: 15.98 kB / 1.073 GB, free: 5.449 MB / 0.8419 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.0001931/0.3591, allocations: 177.8 kB / 1.074 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.3592, allocations: 31.56 kB / 1.074 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.3595, allocations: 179.7 kB / 1.074 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3595, allocations: 8.125 kB / 1.074 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3595, allocations: 0 / 1.074 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3595, allocations: 4 kB / 1.074 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.3599, allocations: 289.4 kB / 1.074 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3599, allocations: 4 kB / 1.074 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.792e-05/0.36, allocations: 12 kB / 1.074 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.36, allocations: 7.922 kB / 1.074 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.36, allocations: 0 / 1.074 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.36, allocations: 7.938 kB / 1.074 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.36, allocations: 0 / 1.074 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.3603, allocations: 187.5 kB / 1.074 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.3605, allocations: 144.5 kB / 1.074 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.3605, allocations: 12 kB / 1.074 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.3607, allocations: 7.984 kB / 1.074 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.3607, allocations: 11.94 kB / 1.074 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.3607, allocations: 4 kB / 1.074 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004624/0.3612, allocations: 375 kB / 1.075 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3612, allocations: 3.938 kB / 1.075 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004827/0.3617, allocations: 104 kB / 1.075 GB, free: 3.797 MB / 0.8419 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.005147/0.3668, allocations: 2.811 MB / 1.078 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003961/0.3672, allocations: 167.8 kB / 1.078 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3673, allocations: 0 / 1.078 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.757e-05/0.3674, allocations: 51.89 kB / 1.078 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.3678, allocations: 57.72 kB / 1.078 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.3689, allocations: 0.6015 MB / 1.078 GB, free: 60 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4321/0.8009, allocations: 0.8056 MB / 1.079 GB, free: 22.19 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.8012, allocations: 23.72 kB / 1.079 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of SimCode: time 8.92e-07/0.8012, allocations: 1.781 kB / 1.079 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of Templates: time 0.01264/0.8138, allocations: 6.607 MB / 1.086 GB, free: 21.88 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile 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:173:283: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:173: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