Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001217/0.001217, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001141/0.001141, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.34/2.34, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.83 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6534/0.6546, allocations: 157.4 MB / 1.208 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.00222/0.6569, allocations: 1.595 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.6581, allocations: 0.9189 MB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.566e-05/0.6581, allocations: 4 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.6584, allocations: 59.67 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003828/0.6588, allocations: 147.3 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 2.984e-05/0.6588, allocations: 11.98 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.6592, allocations: 362.2 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.526e-05/0.6592, allocations: 40.75 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.6594, allocations: 159.3 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.6596, allocations: 131.4 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.6597, allocations: 16 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002815/0.6625, allocations: 0.5629 MB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/0.6626, allocations: 63.69 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.6627, allocations: 131.2 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.6746, allocations: 13.23 MB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6746, allocations: 4 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6746, allocations: 0 / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.6746, allocations: 0 / 1.225 GB, free: 12.27 MB / 0.9512 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.001215/0.6758, allocations: 0.6536 MB / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.6759, allocations: 12.03 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.498e-05/0.676, allocations: 28.56 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.6764, allocations: 374.3 kB / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.6764, allocations: 4.375 kB / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.6764, allocations: 8.375 kB / 1.226 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.6766, allocations: 105.3 kB / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.6766, allocations: 0 / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.6766, allocations: 0 / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.6766, allocations: 0 / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.677e-05/0.6767, allocations: 71.88 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.677, allocations: 340.1 kB / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.6771, allocations: 106.4 kB / 1.227 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.236e-05/0.6772, allocations: 63.45 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.6772, allocations: 7.984 kB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.6773, allocations: 38.44 kB / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.6773, allocations: 0 / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002993/0.6776, allocations: 185.1 kB / 1.227 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.6776, allocations: 141 kB / 1.227 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.6781, allocations: 0.5052 MB / 1.228 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.6782, allocations: 29.7 kB / 1.228 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.6783, allocations: 156.3 kB / 1.228 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.6783, allocations: 15.88 kB / 1.228 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.6784, allocations: 49.61 kB / 1.228 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.6785, allocations: 346.8 kB / 1.229 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.6786, allocations: 95.92 kB / 1.229 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.6788, allocations: 156.3 kB / 1.229 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.6791, allocations: 239.2 kB / 1.229 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6791, allocations: 0 / 1.229 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003458/0.6794, allocations: 293 kB / 1.229 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.6794, allocations: 7.938 kB / 1.229 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6794, allocations: 7.938 kB / 1.229 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.6795, allocations: 4 kB / 1.229 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.6796, allocations: 23.97 kB / 1.229 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.6796, allocations: 0 / 1.229 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.6798, allocations: 23.83 kB / 1.229 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.6798, allocations: 4 kB / 1.229 GB, free: 7.898 MB / 0.9512 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.0001354/0.6799, allocations: 181.7 kB / 1.229 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.68, allocations: 35.56 kB / 1.23 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.6802, allocations: 179.7 kB / 1.23 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.6803, allocations: 3.938 kB / 1.23 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.6803, allocations: 4 kB / 1.23 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.6803, allocations: 0 / 1.23 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.6805, allocations: 285.5 kB / 1.23 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.6805, allocations: 0 / 1.23 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.443e-05/0.6806, allocations: 19.98 kB / 1.23 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.6806, allocations: 12 kB / 1.23 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.6806, allocations: 4 kB / 1.23 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6806, allocations: 0 / 1.23 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6806, allocations: 4 kB / 1.23 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.6809, allocations: 195.1 kB / 1.23 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.681, allocations: 140.6 kB / 1.23 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.681, allocations: 0 / 1.23 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.6812, allocations: 11.98 kB / 1.23 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.6812, allocations: 7.984 kB / 1.23 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.6812, allocations: 4 kB / 1.23 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003621/0.6816, allocations: 379 kB / 1.231 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6816, allocations: 0 / 1.231 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004026/0.682, allocations: 103.9 kB / 1.231 GB, free: 6.246 MB / 0.9512 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.003884/0.6859, allocations: 2.8 MB / 1.234 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.6862, allocations: 171.8 kB / 1.234 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.6862, allocations: 0 / 1.234 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.3e-05/0.6863, allocations: 51.91 kB / 1.234 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.6866, allocations: 57.84 kB / 1.234 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/0.6874, allocations: 0.621 MB / 1.234 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.6878, allocations: 0.8065 MB / 1.235 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.6878, allocations: 23.44 kB / 1.235 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.6878, allocations: 0 / 1.235 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of Templates: time 0.00746/0.6953, allocations: 6.618 MB / 1.242 GB, free: 11.04 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile make -j1 -f Buildings_latest_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_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp:28: ./OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o] Error 1