Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001152/0.001152, allocations: 102.4 kB / 16.27 MB, free: 6.418 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.001099/0.001099, allocations: 191.6 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 71.89 kB / 0.6721 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2599, allocations: 114.6 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003358/0.2633, allocations: 1.59 MB / 0.7856 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.2648, allocations: 0.9626 MB / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.149e-05/0.2649, allocations: 0 / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.2653, allocations: 63.66 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004631/0.2657, allocations: 147.3 kB / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.675e-05/0.2658, allocations: 4 kB / 0.7867 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000376/0.2662, allocations: 362.4 kB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.512e-05/0.2662, allocations: 44.69 kB / 0.7871 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.2664, allocations: 143.4 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.2666, allocations: 139.3 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.2667, allocations: 16 kB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4317/0.6984, allocations: 0.5619 MB / 0.7879 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.6986, allocations: 50.59 kB / 0.788 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002498/0.6989, allocations: 134.8 kB / 0.7881 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01993/0.7188, allocations: 13.23 MB / 0.801 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.7189, allocations: 4 kB / 0.801 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.926e-06/0.7189, allocations: 3.781 kB / 0.801 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.7189, allocations: 0 / 0.801 GB, free: 43.99 MB / 0.6544 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.001744/0.7206, allocations: 0.6406 MB / 0.8017 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.7207, allocations: 11.73 kB / 0.8017 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.7208, allocations: 34.28 kB / 0.8017 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.7213, allocations: 369.9 kB / 0.8021 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.7214, allocations: 7.562 kB / 0.8021 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.7214, allocations: 7.875 kB / 0.8021 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.7216, allocations: 97.44 kB / 0.8022 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.7216, allocations: 5.406 kB / 0.8022 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.7216, allocations: 4.156 kB / 0.8022 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.7217, allocations: 0.6562 kB / 0.8022 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.7218, allocations: 68.03 kB / 0.8022 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.7223, allocations: 342.2 kB / 0.8026 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.7224, allocations: 107.6 kB / 0.8027 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.7225, allocations: 61.89 kB / 0.8027 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.7226, allocations: 5.016 kB / 0.8027 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.7226, allocations: 40.81 kB / 0.8028 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.7226, allocations: 0.8438 kB / 0.8028 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0004108/0.723, allocations: 190.8 kB / 0.803 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.7231, allocations: 137.5 kB / 0.8031 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007283/0.7238, allocations: 0.503 MB / 0.8036 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.7238, allocations: 25.7 kB / 0.8036 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.724, allocations: 159.6 kB / 0.8038 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.724, allocations: 14.52 kB / 0.8038 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.7241, allocations: 51.72 kB / 0.8038 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.7242, allocations: 342.7 kB / 0.8041 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.7244, allocations: 98.39 kB / 0.8042 GB, free: 41.63 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.7246, allocations: 154.1 kB / 0.8044 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.725, allocations: 241.8 kB / 0.8046 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.725, allocations: 0 / 0.8046 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004255/0.7254, allocations: 293.5 kB / 0.8049 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7254, allocations: 7.531 kB / 0.8049 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.7254, allocations: 5.75 kB / 0.8049 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.7255, allocations: 2.094 kB / 0.8049 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.7256, allocations: 23 kB / 0.8049 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.7256, allocations: 4.281 kB / 0.8049 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.7258, allocations: 21.42 kB / 0.805 GB, free: 41.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.7258, allocations: 4.328 kB / 0.805 GB, free: 41.31 MB / 0.6544 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.000156/0.726, allocations: 181.4 kB / 0.8051 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.726, allocations: 35.27 kB / 0.8052 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.7264, allocations: 188.2 kB / 0.8053 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.7264, allocations: 2.406 kB / 0.8053 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.7264, allocations: 2.047 kB / 0.8053 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.7264, allocations: 3.719 kB / 0.8054 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.7267, allocations: 289.5 kB / 0.8056 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.7267, allocations: 4.594 kB / 0.8056 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.882e-05/0.7268, allocations: 13.66 kB / 0.8056 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.7268, allocations: 9.094 kB / 0.8057 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.7268, allocations: 0.7031 kB / 0.8057 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.7268, allocations: 2.469 kB / 0.8057 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7269, allocations: 2.688 kB / 0.8057 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.7271, allocations: 192.8 kB / 0.8058 GB, free: 40.72 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.7272, allocations: 129.8 kB / 0.806 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.7273, allocations: 7.75 kB / 0.806 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.7274, allocations: 13.97 kB / 0.806 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.7275, allocations: 10.41 kB / 0.806 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.7275, allocations: 2.938 kB / 0.806 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004183/0.7279, allocations: 376.3 kB / 0.8064 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7279, allocations: 0 / 0.8064 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007257/0.7286, allocations: 107.9 kB / 0.8065 GB, free: 40.41 MB / 0.6544 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.006023/0.7347, allocations: 2.809 MB / 0.8092 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004939/0.7352, allocations: 175.4 kB / 0.8094 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.7352, allocations: 0 / 0.8094 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.82e-05/0.7353, allocations: 47.83 kB / 0.8094 GB, free: 40.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.7358, allocations: 56.64 kB / 0.8095 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.737, allocations: 0.6113 MB / 0.8101 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.7373, allocations: 0.8159 MB / 0.8109 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.948e-05/0.7374, allocations: 20.91 kB / 0.8109 GB, free: 38.97 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.7374, allocations: 0 / 0.8109 GB, free: 38.97 MB / 0.6544 GB Notification: Performance of Templates: time 0.01226/0.7496, allocations: 6.603 MB / 0.8173 GB, free: 36.39 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile make -j1 -f Buildings_8_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_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp:28: ./OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o] Error 1