Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 104.7 kB / 15.98 MB, free: 5.891 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.001849/0.001849, allocations: 187.5 kB / 16.91 MB, free: 5.746 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.462/1.462, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.64/2.64, allocations: 437 MB / 0.7107 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 0.8694 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.88/0.8813, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003243/0.8846, allocations: 1.646 MB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.886, allocations: 0.9113 MB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.743e-05/0.8861, allocations: 0 / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.8864, allocations: 55.77 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.8869, allocations: 139.5 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.16e-05/0.8869, allocations: 7.938 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.8873, allocations: 362.3 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.656e-05/0.8874, allocations: 48.73 kB / 1.021 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.8876, allocations: 143.4 kB / 1.021 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.8878, allocations: 155.2 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.8879, allocations: 16 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.8907, allocations: 0.5629 MB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.335e-05/0.8908, allocations: 55.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.891, allocations: 143.2 kB / 1.022 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009069/0.8919, allocations: 0.7081 MB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.8919, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8919, allocations: 4 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.8919, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 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.00145/0.8934, allocations: 0.6497 MB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.8934, allocations: 12.03 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.52e-05/0.8935, allocations: 28.56 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.894, allocations: 382.2 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.894, allocations: 384 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.894, allocations: 4.375 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.8942, allocations: 109.4 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.8942, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.8942, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.8943, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.734e-05/0.8944, allocations: 63.88 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.8947, allocations: 348 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.8949, allocations: 118.3 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.232e-05/0.895, allocations: 59.47 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.895, allocations: 7.969 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.895, allocations: 46.5 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.545e-06/0.895, allocations: 3.984 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003289/0.8954, allocations: 181.1 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.8954, allocations: 132.5 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/0.896, allocations: 0.5057 MB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.896, allocations: 33.7 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.8961, allocations: 152.4 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.8962, allocations: 11.81 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.8963, allocations: 49.69 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.8964, allocations: 346.8 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.8965, allocations: 115.9 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.8967, allocations: 192.1 kB / 1.026 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.8971, allocations: 259.2 kB / 1.026 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.8971, allocations: 0 / 1.026 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004193/0.8975, allocations: 333 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.8975, allocations: 7.938 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.8975, allocations: 0 / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.8976, allocations: 4 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.8977, allocations: 19.92 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.8977, allocations: 4 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.8979, allocations: 31.77 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.8979, allocations: 7.984 kB / 1.026 GB, free: 9.281 MB / 0.7794 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.0001777/0.8981, allocations: 174.2 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.8982, allocations: 43.45 kB / 1.027 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.8985, allocations: 179.8 kB / 1.027 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.8985, allocations: 4 kB / 1.027 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.8985, allocations: 0 / 1.027 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.8985, allocations: 0 / 1.027 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.8988, allocations: 293.4 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8988, allocations: 0 / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.769e-05/0.8989, allocations: 19.92 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.8989, allocations: 7.938 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.8989, allocations: 4 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.8989, allocations: 128 / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8989, allocations: 8 kB / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.8992, allocations: 179.3 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.8993, allocations: 140.6 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.8994, allocations: 3.906 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.8995, allocations: 15.98 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.8995, allocations: 7.922 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.8995, allocations: 4 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004125/0.9, allocations: 383 kB / 1.028 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9, allocations: 0 / 1.028 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005136/0.9005, allocations: 100 kB / 1.028 GB, free: 7.633 MB / 0.7794 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.004671/0.9052, allocations: 2.804 MB / 1.031 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004527/0.9056, allocations: 195.8 kB / 1.031 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9057, allocations: 0 / 1.031 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.509e-05/0.9057, allocations: 47.91 kB / 1.031 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.9062, allocations: 62.41 kB / 1.031 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.9072, allocations: 0.6756 MB / 1.032 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.9076, allocations: 0.8068 MB / 1.032 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.184e-05/0.9076, allocations: 23.44 kB / 1.032 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.9076, allocations: 3.938 kB / 1.032 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of Templates: time 0.009122/0.9168, allocations: 6.732 MB / 1.039 GB, free: 12.23 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile clang++ -std=c++14 -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_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.o OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.cpp:28: ./OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.o] Error 1