Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.00884/0.00884, allocations: 100.6 kB / 15.87 MB, free: 5.867 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.002286/0.002286, allocations: 192.5 kB / 16.79 MB, free: 5.809 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.421/1.421, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.419/2.419, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 68.08 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8332/0.8347, allocations: 140.4 MB / 0.9496 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002862/0.8376, allocations: 1.645 MB / 0.9512 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.8389, allocations: 0.9093 MB / 0.9521 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.839, allocations: 2.75 kB / 0.9521 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.8393, allocations: 52.22 kB / 0.9521 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.8398, allocations: 136.5 kB / 0.9523 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.145e-05/0.8398, allocations: 9.703 kB / 0.9523 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.8402, allocations: 359.8 kB / 0.9526 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.717e-05/0.8403, allocations: 42.41 kB / 0.9526 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.8405, allocations: 134.2 kB / 0.9528 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.8407, allocations: 126.3 kB / 0.9529 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.8407, allocations: 15.56 kB / 0.9529 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/0.8441, allocations: 0.6624 MB / 0.9536 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.8442, allocations: 38.89 kB / 0.9536 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.8444, allocations: 134.9 kB / 0.9537 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.8456, allocations: 0.7072 MB / 0.9544 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8456, allocations: 0 / 0.9544 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8456, allocations: 0 / 0.9544 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.8456, allocations: 1.219 kB / 0.9544 GB, free: 6.098 MB / 0.7169 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.001614/0.8472, allocations: 0.6473 MB / 0.955 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.8473, allocations: 13.88 kB / 0.9551 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.8473, allocations: 31.22 kB / 0.9551 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.8478, allocations: 371.2 kB / 0.9554 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.8479, allocations: 7.938 kB / 0.9554 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.8479, allocations: 7.844 kB / 0.9555 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.8481, allocations: 111.1 kB / 0.9556 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.8481, allocations: 0 / 0.9556 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.8481, allocations: 4 kB / 0.9556 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.8481, allocations: 1.812 kB / 0.9556 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.8482, allocations: 68.45 kB / 0.9556 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.8486, allocations: 344.2 kB / 0.956 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.8487, allocations: 110.6 kB / 0.9561 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.055e-05/0.8488, allocations: 68.39 kB / 0.9561 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.8488, allocations: 5.109 kB / 0.9561 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.8488, allocations: 40.69 kB / 0.9562 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.8488, allocations: 0 / 0.9562 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003564/0.8492, allocations: 185.8 kB / 0.9564 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.8492, allocations: 130 kB / 0.9565 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/0.8498, allocations: 0.4984 MB / 0.957 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.8498, allocations: 31.52 kB / 0.957 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.8499, allocations: 157 kB / 0.9571 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.8499, allocations: 21.61 kB / 0.9572 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-05/0.85, allocations: 42.05 kB / 0.9572 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.8501, allocations: 348.6 kB / 0.9575 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.8503, allocations: 112.7 kB / 0.9576 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.8505, allocations: 184.8 kB / 0.9578 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.8508, allocations: 271.4 kB / 0.9581 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8508, allocations: 0 / 0.9581 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004541/0.8513, allocations: 325.5 kB / 0.9584 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.8513, allocations: 8.719 kB / 0.9584 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.8513, allocations: 1.562 kB / 0.9584 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.8513, allocations: 9.25 kB / 0.9584 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.8515, allocations: 16.61 kB / 0.9584 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.8515, allocations: 2.188 kB / 0.9584 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.8517, allocations: 28.41 kB / 0.9585 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.8517, allocations: 12.19 kB / 0.9585 GB, free: 2.77 MB / 0.7169 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.0001559/0.8519, allocations: 179.9 kB / 0.9586 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.8519, allocations: 33.56 kB / 0.9587 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.8523, allocations: 180.8 kB / 0.9588 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.8523, allocations: 5.875 kB / 0.9588 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8523, allocations: 2.188 kB / 0.9588 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.8523, allocations: 1.094 kB / 0.9588 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.8526, allocations: 292.8 kB / 0.9591 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8526, allocations: 0.9062 kB / 0.9591 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.901e-05/0.8527, allocations: 15.52 kB / 0.9591 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.8527, allocations: 9.031 kB / 0.9592 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.8527, allocations: 2.297 kB / 0.9592 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.8527, allocations: 1.656 kB / 0.9592 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.8527, allocations: 5.094 kB / 0.9592 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.853, allocations: 186.1 kB / 0.9593 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.8531, allocations: 141.1 kB / 0.9595 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.8532, allocations: 2.25 kB / 0.9595 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.8533, allocations: 13.89 kB / 0.9595 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.8533, allocations: 11.42 kB / 0.9595 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.8533, allocations: 3.188 kB / 0.9595 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004285/0.8538, allocations: 377.9 kB / 0.9599 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8538, allocations: 0 / 0.9599 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001198/0.855, allocations: 100.2 kB / 0.96 GB, free: 1.652 MB / 0.7169 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.005818/0.8608, allocations: 2.813 MB / 0.9627 GB, free: 232 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005581/0.8614, allocations: 189.2 kB / 0.9629 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.8614, allocations: 0 / 0.9629 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.338e-05/0.8615, allocations: 50.11 kB / 0.9629 GB, free: 116 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005917/0.8621, allocations: 55.14 kB / 0.963 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.8633, allocations: 0.6845 MB / 0.9637 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.8637, allocations: 0.8115 MB / 0.9644 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.8638, allocations: 19.59 kB / 0.9645 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.8638, allocations: 0 / 0.9645 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of Templates: time 0.01254/0.8764, allocations: 6.718 MB / 0.971 GB, free: 11.88 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile make -j1 -f Buildings_9_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_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.cpp:28: ./OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.o] Error 1