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.001556/0.001556, allocations: 101.1 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.001592/0.001592, allocations: 190.3 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.518/2.518, allocations: 437.1 MB / 0.7111 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.34 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3151, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.00311/0.3183, allocations: 1.584 MB / 1.02 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.3198, allocations: 0.9204 MB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.3199, allocations: 8 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.3202, allocations: 59.66 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.3207, allocations: 139.3 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.491e-05/0.3208, allocations: 7.984 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000418/0.3212, allocations: 362.3 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.3213, allocations: 48.72 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.3215, allocations: 143.4 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.3217, allocations: 143.3 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.038e-05/0.3218, allocations: 16 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007138/0.3225, allocations: 0.5242 MB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.3226, allocations: 51.7 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.3228, allocations: 139.3 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.3243, allocations: 0.8385 MB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3244, allocations: 4 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3244, allocations: 0 / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.3244, allocations: 4 kB / 1.023 GB, free: 5.633 MB / 0.795 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.001435/0.3258, allocations: 0.642 MB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3259, allocations: 8.922 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.087e-05/0.326, allocations: 32.56 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.3265, allocations: 374.3 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3265, allocations: 8.375 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3265, allocations: 4.375 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3267, allocations: 105.3 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.3267, allocations: 0 / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3267, allocations: 4 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3268, allocations: 0 / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.3269, allocations: 67.88 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.3273, allocations: 344 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.3274, allocations: 110.4 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.78e-05/0.3275, allocations: 59.47 kB / 1.025 GB, free: 3.684 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.3276, allocations: 0 / 1.025 GB, free: 3.684 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.3276, allocations: 54.42 kB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3276, allocations: 3.938 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003689/0.328, allocations: 189.2 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.3281, allocations: 128.5 kB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006295/0.3287, allocations: 0.5092 MB / 1.025 GB, free: 2.754 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3287, allocations: 25.7 kB / 1.025 GB, free: 2.723 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.3289, allocations: 156.4 kB / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.3289, allocations: 15.75 kB / 1.026 GB, free: 2.551 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.368e-05/0.329, allocations: 54 kB / 1.026 GB, free: 2.492 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3292, allocations: 342.8 kB / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.3293, allocations: 99.91 kB / 1.026 GB, free: 2.051 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.3295, allocations: 158.8 kB / 1.026 GB, free: 1.871 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.3298, allocations: 235.2 kB / 1.026 GB, free: 1.629 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3299, allocations: 4 kB / 1.026 GB, free: 1.625 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004291/0.3303, allocations: 289.1 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3303, allocations: 11.94 kB / 1.027 GB, free: 1.324 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3303, allocations: 3.984 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3304, allocations: 0 / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.3305, allocations: 19.98 kB / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3305, allocations: 4 kB / 1.027 GB, free: 1.297 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.3307, allocations: 27.72 kB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3307, allocations: 4 kB / 1.027 GB, free: 1.266 MB / 0.795 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.0001847/0.3309, allocations: 189.7 kB / 1.027 GB, free: 1.07 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.331, allocations: 35.5 kB / 1.027 GB, free: 1.035 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.3313, allocations: 175.8 kB / 1.027 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3313, allocations: 4 kB / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3313, allocations: 0 / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3313, allocations: 128 / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.3316, allocations: 297.4 kB / 1.027 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3316, allocations: 4 kB / 1.027 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.973e-05/0.3317, allocations: 11.98 kB / 1.027 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3318, allocations: 7.938 kB / 1.027 GB, free: 500 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3318, allocations: 0 / 1.027 GB, free: 500 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3318, allocations: 4 kB / 1.027 GB, free: 496 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3318, allocations: 0 / 1.027 GB, free: 496 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.332, allocations: 187.2 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.3322, allocations: 144.5 kB / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.3322, allocations: 0 / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.3324, allocations: 15.98 kB / 1.028 GB, free: 100 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.3324, allocations: 7.984 kB / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.3324, allocations: 0 / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004555/0.3329, allocations: 383.1 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3329, allocations: 0 / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004809/0.3334, allocations: 103.9 kB / 1.028 GB, free: 15.61 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.00503/0.3384, allocations: 2.811 MB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004261/0.3389, allocations: 175.8 kB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3389, allocations: 0 / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.339, allocations: 47.91 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.3394, allocations: 61.72 kB / 1.031 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.3405, allocations: 0.5937 MB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.341, allocations: 0.8104 MB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.341, allocations: 23.42 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.341, allocations: 0 / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of Templates: time 0.01034/0.3514, allocations: 6.617 MB / 1.039 GB, free: 4.422 MB / 0.8106 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:173:283: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:173:283: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o] Error 1