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.001794/0.001793, allocations: 109.9 kB / 16.27 MB, free: 6.414 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.001992/0.001992, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.431/1.431, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 469.4 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001693, allocations: 64.89 kB / 0.9088 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4181, allocations: 159.1 MB / 1.064 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003794/0.422, allocations: 1.579 MB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.4238, allocations: 0.9151 MB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.424, allocations: 8 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.4243, allocations: 67.64 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006601/0.4251, allocations: 147.3 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.261e-05/0.4252, allocations: 4 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004959/0.4257, allocations: 370.2 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.4258, allocations: 44.73 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.4261, allocations: 135.5 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.4264, allocations: 147.3 kB / 1.068 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.4264, allocations: 16 kB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.4297, allocations: 0.5668 MB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.4299, allocations: 47.72 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.4301, allocations: 139.2 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.8254/1.256, allocations: 13.22 MB / 1.081 GB, free: 21.56 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.29e-05/1.256, allocations: 1.406 kB / 1.081 GB, free: 21.56 MB / 0.8419 GB Notification: Performance of FrontEnd: time 5.29e-06/1.256, allocations: 0.7031 kB / 1.081 GB, free: 21.56 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.519e-05/1.256, allocations: 0 / 1.081 GB, free: 21.56 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.003086/1.259, allocations: 0.6539 MB / 1.082 GB, free: 21.08 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 7.596e-05/1.259, allocations: 12.16 kB / 1.082 GB, free: 21.08 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/1.259, allocations: 30.94 kB / 1.082 GB, free: 21.06 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007061/1.26, allocations: 363.7 kB / 1.082 GB, free: 20.83 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/1.26, allocations: 7.375 kB / 1.082 GB, free: 20.83 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/1.26, allocations: 4.688 kB / 1.082 GB, free: 20.83 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/1.26, allocations: 99.23 kB / 1.082 GB, free: 20.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/1.26, allocations: 6.656 kB / 1.082 GB, free: 20.76 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/1.26, allocations: 0 / 1.082 GB, free: 20.76 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/1.26, allocations: 5.703 kB / 1.082 GB, free: 20.76 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/1.26, allocations: 67.03 kB / 1.082 GB, free: 20.76 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/1.261, allocations: 350.3 kB / 1.083 GB, free: 20.54 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/1.261, allocations: 105.1 kB / 1.083 GB, free: 20.45 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/1.261, allocations: 64.83 kB / 1.083 GB, free: 20.42 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/1.261, allocations: 1.5 kB / 1.083 GB, free: 20.42 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/1.261, allocations: 43.48 kB / 1.083 GB, free: 20.38 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/1.261, allocations: 0 / 1.083 GB, free: 20.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0005003/1.262, allocations: 188 kB / 1.083 GB, free: 20.33 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/1.262, allocations: 131.6 kB / 1.083 GB, free: 20.17 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/1.263, allocations: 0.5042 MB / 1.084 GB, free: 20.06 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/1.263, allocations: 26.86 kB / 1.084 GB, free: 20.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/1.263, allocations: 157 kB / 1.084 GB, free: 19.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/1.263, allocations: 18.72 kB / 1.084 GB, free: 19.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/1.263, allocations: 53.86 kB / 1.084 GB, free: 19.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.263, allocations: 346.6 kB / 1.084 GB, free: 19.58 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/1.264, allocations: 96.72 kB / 1.084 GB, free: 19.55 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/1.264, allocations: 155.3 kB / 1.085 GB, free: 19.46 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/1.264, allocations: 235 kB / 1.085 GB, free: 19.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.264, allocations: 4 kB / 1.085 GB, free: 19.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006113/1.265, allocations: 290.4 kB / 1.085 GB, free: 19.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/1.265, allocations: 10.23 kB / 1.085 GB, free: 19.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/1.265, allocations: 1.031 kB / 1.085 GB, free: 19.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/1.265, allocations: 2.375 kB / 1.085 GB, free: 19.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/1.265, allocations: 19.75 kB / 1.085 GB, free: 19.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/1.265, allocations: 2.781 kB / 1.085 GB, free: 19.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/1.266, allocations: 29.48 kB / 1.085 GB, free: 19.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/1.266, allocations: 6.312 kB / 1.085 GB, free: 19.23 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.0002274/1.266, allocations: 185 kB / 1.085 GB, free: 19.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/1.266, allocations: 34.56 kB / 1.085 GB, free: 19.07 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/1.266, allocations: 174.8 kB / 1.085 GB, free: 19 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.266, allocations: 2.75 kB / 1.085 GB, free: 19 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/1.267, allocations: 1 kB / 1.085 GB, free: 19 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/1.267, allocations: 1.766 kB / 1.086 GB, free: 19 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/1.267, allocations: 299.6 kB / 1.086 GB, free: 18.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.267, allocations: 0 / 1.086 GB, free: 18.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/1.267, allocations: 21.22 kB / 1.086 GB, free: 18.76 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/1.267, allocations: 5.844 kB / 1.086 GB, free: 18.75 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/1.267, allocations: 1.953 kB / 1.086 GB, free: 18.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/1.267, allocations: 2.766 kB / 1.086 GB, free: 18.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.267, allocations: 1.125 kB / 1.086 GB, free: 18.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/1.268, allocations: 189.1 kB / 1.086 GB, free: 18.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/1.268, allocations: 134 kB / 1.086 GB, free: 18.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/1.268, allocations: 5.906 kB / 1.086 GB, free: 18.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/1.268, allocations: 13.95 kB / 1.086 GB, free: 18.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/1.268, allocations: 9.484 kB / 1.086 GB, free: 18.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/1.268, allocations: 8.016 kB / 1.086 GB, free: 18.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006965/1.269, allocations: 381.1 kB / 1.087 GB, free: 18.33 MB / 0.8419 GB Notification: Performance of sort global known variables: time 6.81e-07/1.269, allocations: 0 / 1.087 GB, free: 18.33 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00181/1.271, allocations: 108.2 kB / 1.087 GB, free: 18.32 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.008006/1.279, allocations: 2.799 MB / 1.089 GB, free: 17.94 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006483/1.279, allocations: 182.8 kB / 1.09 GB, free: 17.89 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.279, allocations: 0.8125 kB / 1.09 GB, free: 17.89 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.168e-05/1.279, allocations: 46.69 kB / 1.09 GB, free: 17.88 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006492/1.28, allocations: 54.48 kB / 1.09 GB, free: 17.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/1.281, allocations: 0.6025 MB / 1.09 GB, free: 17.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/1.282, allocations: 0.8106 MB / 1.091 GB, free: 16.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-05/1.282, allocations: 25.95 kB / 1.091 GB, free: 16.79 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/1.282, allocations: 2.625 kB / 1.091 GB, free: 16.79 MB / 0.8419 GB Notification: Performance of Templates: time 0.01809/1.3, allocations: 6.614 MB / 1.097 GB, free: 16.35 MB / 0.8419 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