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.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.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.001176/0.001176, allocations: 98.88 kB / 16.02 MB, free: 76 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.001997/0.001998, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.756/1.756, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.847/2.847, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 5.688 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.318, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001733/0.3198, allocations: 1.298 MB / 1.061 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.3213, allocations: 0.8996 MB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.012e-05/0.3214, allocations: 0 / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.3217, allocations: 59.72 kB / 1.062 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004936/0.3222, allocations: 135.5 kB / 1.062 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.141e-05/0.3222, allocations: 11.97 kB / 1.062 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.3226, allocations: 350.3 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.426e-05/0.3227, allocations: 48.73 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.323, allocations: 127.3 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.3232, allocations: 135.3 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.3233, allocations: 12 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003391/0.3267, allocations: 0.6641 MB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.266e-05/0.3268, allocations: 51.69 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.327, allocations: 141 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009351/0.3279, allocations: 0.7064 MB / 1.064 GB, free: 344 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3279, allocations: 4 kB / 1.064 GB, free: 340 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3279, allocations: 0 / 1.064 GB, free: 340 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.607e-06/0.3279, allocations: 0 / 1.064 GB, free: 340 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.001351/0.3293, allocations: 0.5916 MB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3293, allocations: 23.89 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.502e-05/0.3294, allocations: 32.56 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.33, allocations: 374.2 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.33, allocations: 4.359 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.33, allocations: 12.31 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3302, allocations: 101.4 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3302, allocations: 3.938 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3302, allocations: 0 / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3302, allocations: 4 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3303, allocations: 71.86 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.3308, allocations: 348.1 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.3309, allocations: 102.4 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.331, allocations: 71.39 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.331, allocations: 0 / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.331, allocations: 34.5 kB / 1.066 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.331, allocations: 4 kB / 1.066 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003527/0.3314, allocations: 189 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.3315, allocations: 136.5 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005792/0.332, allocations: 0.4898 MB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3321, allocations: 33.7 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.3322, allocations: 160.3 kB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.3322, allocations: 16.23 kB / 1.067 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.3323, allocations: 33.7 kB / 1.067 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3324, allocations: 342.8 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.3326, allocations: 119.8 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.3328, allocations: 182.8 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.3331, allocations: 259.2 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3331, allocations: 7.938 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004446/0.3336, allocations: 325.2 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3336, allocations: 11.92 kB / 1.068 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3336, allocations: 240 / 1.068 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3337, allocations: 4 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.3338, allocations: 15.98 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.3338, allocations: 3.938 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.334, allocations: 27.73 kB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.3341, allocations: 7.984 kB / 1.068 GB, free: 11.91 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.0001755/0.3342, allocations: 181.8 kB / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.3343, allocations: 39.56 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.3346, allocations: 171.8 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3346, allocations: 0 / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3347, allocations: 8.125 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3347, allocations: 3.984 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.3349, allocations: 293.3 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.335, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.619e-05/0.335, allocations: 12 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.3351, allocations: 3.938 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3351, allocations: 8 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.894e-06/0.3351, allocations: 7.922 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3351, allocations: 7.938 kB / 1.069 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.3353, allocations: 183.3 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.3355, allocations: 144.5 kB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.3355, allocations: 0 / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3357, allocations: 15.98 kB / 1.069 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.3357, allocations: 4 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3357, allocations: 11.94 kB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004138/0.3362, allocations: 379 kB / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3362, allocations: 0 / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005024/0.3367, allocations: 104 kB / 1.069 GB, free: 10.25 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.004757/0.3414, allocations: 2.803 MB / 1.072 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000503/0.342, allocations: 191.8 kB / 1.072 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/0.342, allocations: 4 kB / 1.072 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.431e-05/0.3421, allocations: 43.91 kB / 1.072 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.3427, allocations: 66.86 kB / 1.072 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.3438, allocations: 0.6831 MB / 1.073 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.3442, allocations: 0.8146 MB / 1.074 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.3443, allocations: 23.42 kB / 1.074 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of SimCode: time 7.72e-07/0.3443, allocations: 0 / 1.074 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of Templates: time 0.01058/0.3549, allocations: 6.691 MB / 1.08 GB, free: 14.88 MB / 0.8419 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++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.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