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.001532/0.001532, allocations: 100.1 kB / 15.88 MB, free: 12 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.00183/0.00183, allocations: 198.8 kB / 16.79 MB, free: 6.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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.788/2.788, allocations: 461.8 MB / 0.7348 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.62 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3384, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003221/0.3416, allocations: 1.64 MB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.3432, allocations: 0.915 MB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.3434, allocations: 4 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.3437, allocations: 59.72 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000549/0.3443, allocations: 139.5 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.243e-05/0.3444, allocations: 8 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.3448, allocations: 350.3 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.897e-05/0.3449, allocations: 48.72 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.3451, allocations: 123.3 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.3454, allocations: 139.3 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.15e-05/0.3454, allocations: 12 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003339/0.3488, allocations: 0.6563 MB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.392e-05/0.3489, allocations: 47.77 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.3491, allocations: 127.2 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.3502, allocations: 0.7065 MB / 1.058 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3502, allocations: 0 / 1.058 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3502, allocations: 0 / 1.058 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.3502, allocations: 3.938 kB / 1.058 GB, free: 3.344 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.001506/0.3517, allocations: 0.6537 MB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3518, allocations: 11.97 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.659e-05/0.3519, allocations: 32.56 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.3524, allocations: 370.3 kB / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.3524, allocations: 4.375 kB / 1.059 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3525, allocations: 4.375 kB / 1.059 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3526, allocations: 109.3 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3526, allocations: 0 / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3527, allocations: 0 / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3527, allocations: 0 / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3528, allocations: 67.88 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.3532, allocations: 352 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.3533, allocations: 110.4 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.357e-05/0.3534, allocations: 67.39 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.3535, allocations: 0 / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.3535, allocations: 50.5 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3535, allocations: 3.938 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003602/0.3539, allocations: 181.1 kB / 1.06 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.3539, allocations: 128.5 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/0.3545, allocations: 0.5053 MB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3546, allocations: 26.2 kB / 1.06 GB, free: 432 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.3547, allocations: 160.4 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.3547, allocations: 23.73 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.3548, allocations: 49.61 kB / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.355, allocations: 342.8 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.3551, allocations: 115.9 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.3553, allocations: 196.3 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.3557, allocations: 263.2 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3557, allocations: 0 / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004565/0.3562, allocations: 325.4 kB / 1.062 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3562, allocations: 9.812 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.3562, allocations: 4 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3562, allocations: 0 / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3564, allocations: 19.97 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.3564, allocations: 8 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.3566, allocations: 31.72 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.3566, allocations: 7.938 kB / 1.062 GB, free: 14.84 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.0001741/0.3568, allocations: 173.8 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.3569, allocations: 35.56 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.3572, allocations: 179.8 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3572, allocations: 4 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3572, allocations: 0 / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3572, allocations: 0 / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.3575, allocations: 293.3 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3575, allocations: 0 / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/0.3576, allocations: 15.98 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.3576, allocations: 7.938 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3577, allocations: 4 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.3577, allocations: 4 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3577, allocations: 4.125 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.3579, allocations: 191.2 kB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.3581, allocations: 140.5 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.3581, allocations: 0 / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.3583, allocations: 15.98 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.3583, allocations: 7.984 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.3583, allocations: 0 / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004208/0.3587, allocations: 383 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3588, allocations: 3.938 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005231/0.3593, allocations: 99.94 kB / 1.063 GB, free: 13.2 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.004738/0.364, allocations: 2.811 MB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003946/0.3644, allocations: 195.8 kB / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3645, allocations: 0 / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.809e-05/0.3645, allocations: 43.91 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.365, allocations: 57.72 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.366, allocations: 0.6751 MB / 1.067 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.3664, allocations: 0.8107 MB / 1.068 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.479e-05/0.3665, allocations: 23.44 kB / 1.068 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.3665, allocations: 0 / 1.068 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of Templates: time 0.01062/0.3771, allocations: 6.717 MB / 1.074 GB, free: 1.812 MB / 0.8262 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