Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.CorrectedConvection,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.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_latest_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.006383/0.006383, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001422/0.001422, allocations: 197.3 kB / 16.79 MB, free: 6.254 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.727/2.727, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 66.19 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3553, allocations: 157.4 MB / 1.053 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003281/0.3586, allocations: 1.644 MB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.3602, allocations: 0.9034 MB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.3604, allocations: 7.938 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.3607, allocations: 63.77 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006078/0.3613, allocations: 131.5 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.978e-05/0.3614, allocations: 11.98 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.3618, allocations: 354.3 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.362, allocations: 40.75 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.3622, allocations: 131.3 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.3625, allocations: 135.3 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.435e-05/0.3626, allocations: 12 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/0.366, allocations: 0.6642 MB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.3661, allocations: 51.7 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.3663, allocations: 131.2 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.3675, allocations: 0.6987 MB / 1.058 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3675, allocations: 0 / 1.058 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3675, allocations: 0 / 1.058 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.3675, allocations: 0 / 1.058 GB, free: 3.363 MB / 0.8106 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.001599/0.3691, allocations: 0.6594 MB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.3692, allocations: 11.97 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.3693, allocations: 32.56 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.3698, allocations: 374.3 kB / 1.059 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.3698, allocations: 4.375 kB / 1.059 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.3699, allocations: 12.38 kB / 1.059 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.37, allocations: 97.33 kB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3701, allocations: 0 / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3701, allocations: 0 / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3701, allocations: 4 kB / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.3702, allocations: 71.86 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.3706, allocations: 356 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.3708, allocations: 102.3 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.3709, allocations: 63.45 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.3709, allocations: 7.984 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3709, allocations: 38.5 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.3709, allocations: 3.938 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003636/0.3713, allocations: 177.6 kB / 1.06 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.3714, allocations: 140.5 kB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005752/0.372, allocations: 0.5014 MB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.372, allocations: 25.7 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.3721, allocations: 160.4 kB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.3722, allocations: 15.75 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.131e-05/0.3723, allocations: 57.53 kB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3724, allocations: 338.8 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.3726, allocations: 123.9 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.3728, allocations: 178.8 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.3731, allocations: 267.2 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3731, allocations: 0 / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004804/0.3736, allocations: 317.2 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3736, allocations: 11.94 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.3737, allocations: 4 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3737, allocations: 3.984 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.3738, allocations: 23.92 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3739, allocations: 4 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.3741, allocations: 23.73 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.3741, allocations: 4 kB / 1.062 GB, free: 14.88 MB / 0.8262 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.0001751/0.3743, allocations: 185.8 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.3743, allocations: 31.56 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003244/0.3747, allocations: 180 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3747, allocations: 4 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3747, allocations: 0 / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3747, allocations: 3.984 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.375, allocations: 301.3 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.375, allocations: 4.125 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-05/0.3751, allocations: 19.94 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3751, allocations: 3.938 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3751, allocations: 0 / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.3751, allocations: 11.92 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.3751, allocations: 4 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.3754, allocations: 183.3 kB / 1.063 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3755, allocations: 140.5 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.3756, allocations: 0 / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.3758, allocations: 19.91 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.3758, allocations: 8 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.3758, allocations: 4 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004285/0.3762, allocations: 375 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3763, allocations: 0 / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005504/0.3768, allocations: 104 kB / 1.063 GB, free: 13.21 MB / 0.8262 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.004728/0.3815, allocations: 2.807 MB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.382, allocations: 191.8 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.382, allocations: 4 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.312e-05/0.3821, allocations: 43.91 kB / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.3826, allocations: 57.47 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.3837, allocations: 0.6759 MB / 1.067 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.3841, allocations: 0.8067 MB / 1.068 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.314e-05/0.3841, allocations: 27.42 kB / 1.068 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.3842, allocations: 0 / 1.068 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of Templates: time 0.01074/0.3949, allocations: 6.726 MB / 1.074 GB, free: 1.828 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile make -j1 -f Buildings_latest_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_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.o OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.cpp:28: ./OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.o] Error 1