Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.CorrectedNFactors,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.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,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.CorrectedNFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.00139/0.00139, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 461.9 MB / 0.7354 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 64.11 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289/1.291, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.00257/1.294, allocations: 1.579 MB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001375/1.295, allocations: 0.9268 MB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.836e-05/1.295, allocations: 0 / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002505/1.295, allocations: 55.66 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004477/1.296, allocations: 159.3 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.358e-05/1.296, allocations: 3.984 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003872/1.296, allocations: 362.2 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.23e-05/1.296, allocations: 48.75 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/1.297, allocations: 143.4 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/1.297, allocations: 135.3 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/1.297, allocations: 16 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003046/1.3, allocations: 0.5668 MB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/1.3, allocations: 55.7 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/1.3, allocations: 135.2 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01433/1.315, allocations: 13.23 MB / 1.225 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.315, allocations: 0 / 1.225 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.354e-06/1.315, allocations: 0 / 1.225 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.315, allocations: 0 / 1.225 GB, free: 12.17 MB / 0.9512 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.001425/1.316, allocations: 0.6537 MB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.316, allocations: 8.031 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.512e-05/1.316, allocations: 32.56 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/1.317, allocations: 370.3 kB / 1.226 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/1.317, allocations: 8.375 kB / 1.226 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/1.317, allocations: 8.375 kB / 1.226 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/1.317, allocations: 105.3 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/1.317, allocations: 0 / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/1.317, allocations: 4 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.317, allocations: 0 / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/1.317, allocations: 71.86 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/1.317, allocations: 336.1 kB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/1.318, allocations: 110.4 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/1.318, allocations: 63.45 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/1.318, allocations: 3.984 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/1.318, allocations: 42.44 kB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/1.318, allocations: 0 / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0003531/1.318, allocations: 189.5 kB / 1.227 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/1.318, allocations: 128.5 kB / 1.227 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/1.319, allocations: 0.5092 MB / 1.228 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/1.319, allocations: 29.64 kB / 1.228 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/1.319, allocations: 156.3 kB / 1.228 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/1.319, allocations: 15.89 kB / 1.228 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/1.319, allocations: 49.61 kB / 1.228 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.319, allocations: 346.8 kB / 1.228 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/1.319, allocations: 99.88 kB / 1.229 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/1.319, allocations: 156.3 kB / 1.229 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/1.32, allocations: 235.2 kB / 1.229 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.32, allocations: 0 / 1.229 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003702/1.32, allocations: 297 kB / 1.229 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/1.32, allocations: 11.94 kB / 1.229 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/1.32, allocations: 0 / 1.229 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/1.32, allocations: 3.984 kB / 1.229 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/1.32, allocations: 19.98 kB / 1.229 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/1.32, allocations: 4 kB / 1.229 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/1.32, allocations: 19.83 kB / 1.229 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/1.321, allocations: 4 kB / 1.229 GB, free: 7.805 MB / 0.9512 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.0001682/1.321, allocations: 189.6 kB / 1.229 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/1.321, allocations: 35.56 kB / 1.23 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/1.321, allocations: 179.6 kB / 1.23 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/1.321, allocations: 4 kB / 1.23 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.321, allocations: 4 kB / 1.23 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/1.321, allocations: 0 / 1.23 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/1.321, allocations: 289.5 kB / 1.23 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.321, allocations: 4 kB / 1.23 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.309e-05/1.321, allocations: 20.11 kB / 1.23 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.321, allocations: 7.938 kB / 1.23 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/1.322, allocations: 0 / 1.23 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.322, allocations: 7.938 kB / 1.23 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.322, allocations: 3.984 kB / 1.23 GB, free: 7 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/1.322, allocations: 195.1 kB / 1.23 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/1.322, allocations: 132.9 kB / 1.23 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/1.322, allocations: 0 / 1.23 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/1.322, allocations: 11.98 kB / 1.23 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/1.322, allocations: 15.97 kB / 1.23 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/1.322, allocations: 0 / 1.23 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003882/1.323, allocations: 379 kB / 1.231 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.323, allocations: 0 / 1.231 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004749/1.323, allocations: 103.9 kB / 1.231 GB, free: 6.141 MB / 0.9512 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.004305/1.327, allocations: 2.807 MB / 1.234 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003205/1.328, allocations: 171.8 kB / 1.234 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.328, allocations: 4 kB / 1.234 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/1.328, allocations: 51.91 kB / 1.234 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/1.328, allocations: 57.41 kB / 1.234 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/1.329, allocations: 0.6093 MB / 1.234 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/1.33, allocations: 0.8104 MB / 1.235 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/1.33, allocations: 23.44 kB / 1.235 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of SimCode: time 7.51e-07/1.33, allocations: 0 / 1.235 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of Templates: time 0.01081/1.34, allocations: 6.62 MB / 1.242 GB, free: 10.93 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile make -j1 -f Buildings_latest_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_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp:28: ./OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o] Error 1