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.001657/0.001657, allocations: 109 kB / 16.37 MB, free: 6.477 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.001948/0.001948, allocations: 189.8 kB / 17.31 MB, free: 5.824 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.417/1.417, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001385/0.001385, allocations: 75.67 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2238, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002564/0.2264, allocations: 1.582 MB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2277, allocations: 0.9628 MB / 0.7873 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.2278, allocations: 3.938 kB / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.228, allocations: 59.67 kB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.2285, allocations: 151.3 kB / 0.7875 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.131e-05/0.2285, allocations: 3.984 kB / 0.7875 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.2289, allocations: 362.3 kB / 0.7878 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.744e-05/0.229, allocations: 44.73 kB / 0.7879 GB, free: 12 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3732/0.6022, allocations: 139.9 kB / 0.788 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.6025, allocations: 141.3 kB / 0.7881 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.6025, allocations: 13.5 kB / 0.7881 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.6058, allocations: 0.567 MB / 0.7887 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.116e-05/0.6059, allocations: 48.84 kB / 0.7887 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.6061, allocations: 141 kB / 0.7889 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01821/0.6243, allocations: 13.23 MB / 0.8018 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6243, allocations: 0 / 0.8018 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.146e-06/0.6243, allocations: 0.7031 kB / 0.8018 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.04e-05/0.6244, allocations: 0 / 0.8018 GB, free: 44.01 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.001395/0.6258, allocations: 0.647 MB / 0.8024 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6258, allocations: 10.12 kB / 0.8024 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.6259, allocations: 34.56 kB / 0.8025 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.6264, allocations: 373.5 kB / 0.8028 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.6264, allocations: 2.969 kB / 0.8028 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.6264, allocations: 8.156 kB / 0.8028 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.6266, allocations: 99.44 kB / 0.8029 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.6266, allocations: 3.938 kB / 0.8029 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.6266, allocations: 1.125 kB / 0.8029 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.6266, allocations: 0.6562 kB / 0.8029 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.6267, allocations: 73.05 kB / 0.803 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.6271, allocations: 338.9 kB / 0.8033 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.6272, allocations: 109.1 kB / 0.8034 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.114e-05/0.6273, allocations: 64.44 kB / 0.8035 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.6273, allocations: 1.375 kB / 0.8035 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.6274, allocations: 39.52 kB / 0.8035 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.6274, allocations: 0 / 0.8035 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0003563/0.6277, allocations: 194.9 kB / 0.8037 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.6278, allocations: 134.8 kB / 0.8039 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/0.6284, allocations: 0.4983 MB / 0.8043 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.6284, allocations: 30.83 kB / 0.8044 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.6285, allocations: 161.7 kB / 0.8045 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.6285, allocations: 16.8 kB / 0.8045 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.6286, allocations: 47.34 kB / 0.8046 GB, free: 42 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.6287, allocations: 345.9 kB / 0.8049 GB, free: 41.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.6289, allocations: 97.69 kB / 0.805 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.629, allocations: 157.2 kB / 0.8052 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.6294, allocations: 236.5 kB / 0.8054 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6294, allocations: 0 / 0.8054 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004156/0.6298, allocations: 296 kB / 0.8057 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.6298, allocations: 12.34 kB / 0.8057 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.6298, allocations: 3.016 kB / 0.8057 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.6299, allocations: 3.906 kB / 0.8057 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.63, allocations: 16.66 kB / 0.8057 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.63, allocations: 2.156 kB / 0.8057 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.6302, allocations: 25.03 kB / 0.8057 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.6302, allocations: 5.219 kB / 0.8057 GB, free: 41.33 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.0001476/0.6304, allocations: 181.4 kB / 0.8059 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.6304, allocations: 36.69 kB / 0.8059 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.6308, allocations: 183.5 kB / 0.8061 GB, free: 41.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.6308, allocations: 2.312 kB / 0.8061 GB, free: 41.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6308, allocations: 1.219 kB / 0.8061 GB, free: 41.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.6308, allocations: 5.578 kB / 0.8061 GB, free: 41.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.6311, allocations: 287.7 kB / 0.8064 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6311, allocations: 0 / 0.8064 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/0.6312, allocations: 21.61 kB / 0.8064 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.6312, allocations: 5.938 kB / 0.8064 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.6312, allocations: 5.75 kB / 0.8064 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.6312, allocations: 2.406 kB / 0.8064 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6312, allocations: 3.938 kB / 0.8064 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.6314, allocations: 193.8 kB / 0.8066 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.6316, allocations: 130.9 kB / 0.8068 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.6316, allocations: 5 kB / 0.8068 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.6317, allocations: 10.77 kB / 0.8068 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.6318, allocations: 8.562 kB / 0.8068 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.6318, allocations: 10.66 kB / 0.8068 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004212/0.6322, allocations: 377 kB / 0.8071 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6322, allocations: 0 / 0.8071 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006659/0.6329, allocations: 104.7 kB / 0.8072 GB, free: 40.43 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.005465/0.6384, allocations: 2.805 MB / 0.81 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004687/0.6389, allocations: 168.5 kB / 0.8101 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6389, allocations: 0 / 0.8101 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.886e-05/0.639, allocations: 45.7 kB / 0.8102 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.6394, allocations: 65.11 kB / 0.8103 GB, free: 40.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.6405, allocations: 0.6025 MB / 0.8108 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.6409, allocations: 0.814 MB / 0.8116 GB, free: 39.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.912e-05/0.641, allocations: 20.94 kB / 0.8117 GB, free: 39.01 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.641, allocations: 0 / 0.8117 GB, free: 39.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.01112/0.6521, allocations: 6.601 MB / 0.8181 GB, free: 36.19 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