Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001606/0.001606, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001577/0.001577, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.465/1.465, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437.1 MB / 0.711 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 64.39 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3396, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002963/0.3426, allocations: 1.587 MB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.3441, allocations: 0.9282 MB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.3442, allocations: 0 / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.3445, allocations: 63.66 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004323/0.3449, allocations: 147.3 kB / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.306e-05/0.345, allocations: 7.984 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004384/0.3454, allocations: 362.3 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.382e-05/0.3455, allocations: 44.73 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.3457, allocations: 147.4 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.3459, allocations: 135.3 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.346, allocations: 16 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.349, allocations: 0.5628 MB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.217e-05/0.3491, allocations: 59.75 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.3493, allocations: 131.2 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01683/0.3661, allocations: 13.23 MB / 1.035 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3661, allocations: 0 / 1.035 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3661, allocations: 0 / 1.035 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.3662, allocations: 0 / 1.035 GB, free: 9.168 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.001522/0.3677, allocations: 0.6537 MB / 1.036 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3677, allocations: 8.922 kB / 1.036 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.402e-05/0.3678, allocations: 32.56 kB / 1.036 GB, free: 8.426 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.3683, allocations: 374.3 kB / 1.036 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3684, allocations: 8.375 kB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.3684, allocations: 8.359 kB / 1.036 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.3686, allocations: 101.4 kB / 1.036 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3686, allocations: 7.938 kB / 1.036 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3686, allocations: 0 / 1.036 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3686, allocations: 0 / 1.036 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.3687, allocations: 71.86 kB / 1.036 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.3691, allocations: 332.1 kB / 1.036 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.3693, allocations: 114.3 kB / 1.037 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.134e-05/0.3694, allocations: 63.45 kB / 1.037 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.3694, allocations: 0 / 1.037 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.3694, allocations: 46.5 kB / 1.037 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.3694, allocations: 0 / 1.037 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000371/0.3698, allocations: 185.1 kB / 1.037 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.3699, allocations: 128.5 kB / 1.037 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006302/0.3705, allocations: 0.5091 MB / 1.037 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.3706, allocations: 30.2 kB / 1.038 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.3707, allocations: 160.4 kB / 1.038 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.3708, allocations: 15.73 kB / 1.038 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.3708, allocations: 49.61 kB / 1.038 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.371, allocations: 346.8 kB / 1.038 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3712, allocations: 95.92 kB / 1.038 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.3714, allocations: 158.8 kB / 1.038 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.3717, allocations: 239.2 kB / 1.039 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3717, allocations: 0 / 1.039 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004194/0.3722, allocations: 285.2 kB / 1.039 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3722, allocations: 7.938 kB / 1.039 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3722, allocations: 0 / 1.039 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3722, allocations: 7.984 kB / 1.039 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.3724, allocations: 19.92 kB / 1.039 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3724, allocations: 3.938 kB / 1.039 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.3726, allocations: 35.67 kB / 1.039 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.3726, allocations: 8 kB / 1.039 GB, free: 4.785 MB / 0.8106 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.0001792/0.3728, allocations: 174.4 kB / 1.039 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.3728, allocations: 35.56 kB / 1.039 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.3732, allocations: 179.8 kB / 1.039 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3732, allocations: 0 / 1.039 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3732, allocations: 4 kB / 1.039 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3732, allocations: 0 / 1.039 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.3735, allocations: 293.4 kB / 1.04 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3735, allocations: 240 / 1.04 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.068e-05/0.3736, allocations: 15.98 kB / 1.04 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/0.3736, allocations: 11.88 kB / 1.04 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3736, allocations: 0 / 1.04 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3736, allocations: 4 kB / 1.04 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.3737, allocations: 8.109 kB / 1.04 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.3739, allocations: 183.3 kB / 1.04 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.3741, allocations: 144.5 kB / 1.04 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.3741, allocations: 0 / 1.04 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.3743, allocations: 15.98 kB / 1.04 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.3743, allocations: 11.92 kB / 1.04 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.3743, allocations: 4 kB / 1.04 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004594/0.3748, allocations: 379 kB / 1.04 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3748, allocations: 0 / 1.04 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004814/0.3753, allocations: 100 kB / 1.04 GB, free: 3.145 MB / 0.8106 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.005115/0.3804, allocations: 2.814 MB / 1.043 GB, free: 328 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000408/0.3808, allocations: 167.8 kB / 1.043 GB, free: 160 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3808, allocations: 0 / 1.043 GB, free: 160 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.267e-05/0.3809, allocations: 47.91 kB / 1.043 GB, free: 112 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.3814, allocations: 67.61 kB / 1.043 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3825, allocations: 0.6015 MB / 1.044 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.3829, allocations: 0.8143 MB / 1.045 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.085e-05/0.383, allocations: 19.44 kB / 1.045 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.383, allocations: 7.938 kB / 1.045 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of Templates: time 0.01019/0.3932, allocations: 6.599 MB / 1.051 GB, free: 7.957 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile make -j1 -f Buildings_10_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_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp:28: ./OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o] Error 1