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.001114/0.001114, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.403/1.403, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.843/2.843, allocations: 462.7 MB / 0.7371 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005201/0.0005202, allocations: 13.38 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.4756, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002832/0.4784, allocations: 1.301 MB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002204/0.4807, allocations: 0.9035 MB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.4809, allocations: 8 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.4813, allocations: 55.72 kB / 1.062 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007627/0.4821, allocations: 139.5 kB / 1.062 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.907e-05/0.4822, allocations: 7.984 kB / 1.062 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006311/0.4828, allocations: 358.3 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.483, allocations: 40.75 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.4834, allocations: 131.3 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.4838, allocations: 131.3 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.87e-05/0.4839, allocations: 12 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005658/0.4895, allocations: 0.6602 MB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.4897, allocations: 43.77 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003718/0.4901, allocations: 156.9 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.4918, allocations: 0.7025 MB / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.4918, allocations: 0 / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.985e-06/0.4918, allocations: 0 / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.4919, allocations: 0 / 1.064 GB, free: 308 kB / 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.002174/0.494, allocations: 0.5955 MB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.971e-05/0.4941, allocations: 15.91 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.4943, allocations: 36.55 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008594/0.4952, allocations: 370.2 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.4953, allocations: 12.36 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.4953, allocations: 8.375 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.4956, allocations: 105.3 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4956, allocations: 0 / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.4956, allocations: 0 / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.4957, allocations: 4 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.4958, allocations: 67.86 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.4966, allocations: 352.1 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.4968, allocations: 102.4 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.4969, allocations: 67.39 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.497, allocations: 3.984 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.497, allocations: 38.5 kB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.497, allocations: 0 / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0005765/0.4976, allocations: 189.4 kB / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/0.4977, allocations: 136.6 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.4988, allocations: 0.4976 MB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.4988, allocations: 25.7 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.499, allocations: 160.3 kB / 1.067 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.4991, allocations: 19.75 kB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/0.4992, allocations: 25.7 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.4994, allocations: 338.8 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.4997, allocations: 123.9 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/0.5001, allocations: 182.7 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005874/0.5007, allocations: 267.2 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5007, allocations: 3.938 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008294/0.5015, allocations: 321.2 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.5016, allocations: 11.94 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.5016, allocations: 7.984 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.5016, allocations: 0 / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.5019, allocations: 15.98 kB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/0.5019, allocations: 4 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.5023, allocations: 27.67 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.5023, allocations: 8 kB / 1.068 GB, free: 11.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.0002928/0.5026, allocations: 181.8 kB / 1.068 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.5028, allocations: 35.5 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.5033, allocations: 179.8 kB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.5033, allocations: 4 kB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5033, allocations: 0 / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.5034, allocations: 7.984 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.5038, allocations: 293.6 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.5039, allocations: 4.125 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.504, allocations: 16 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.504, allocations: 3.938 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.5041, allocations: 3.984 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.5041, allocations: 7.984 kB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.5041, allocations: 3.938 kB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.5045, allocations: 183.3 kB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.5048, allocations: 136.5 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.468e-05/0.5048, allocations: 7.984 kB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.5051, allocations: 11.98 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.5051, allocations: 4 kB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.5052, allocations: 4 kB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007427/0.5059, allocations: 379 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.81e-07/0.5059, allocations: 0 / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008663/0.5068, allocations: 108 kB / 1.069 GB, free: 10.23 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.00858/0.5154, allocations: 2.807 MB / 1.072 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007564/0.5162, allocations: 195.8 kB / 1.072 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.5162, allocations: 0 / 1.072 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.5164, allocations: 51.91 kB / 1.072 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009387/0.5174, allocations: 57.59 kB / 1.072 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.5192, allocations: 0.687 MB / 1.073 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.5197, allocations: 0.8107 MB / 1.074 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.5199, allocations: 27.42 kB / 1.074 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of SimCode: time 1.373e-06/0.5199, allocations: 0 / 1.074 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of Templates: time 0.01642/0.5363, allocations: 6.694 MB / 1.08 GB, free: 14.84 MB / 0.8419 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