Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001712/0.001712, allocations: 103.6 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.001789/0.001789, allocations: 189.7 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.32/1.32, 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 9.1.3-maint.9.1.x/package.mo): time 2.164/2.164, allocations: 390.3 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 65.19 kB / 0.8132 GB, free: 32.97 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2726, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002713/0.2753, allocations: 1.591 MB / 0.9518 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.2766, allocations: 0.915 MB / 0.9527 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.395e-05/0.2767, allocations: 4 kB / 0.9527 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.277, allocations: 63.64 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.2774, allocations: 151.3 kB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.414e-05/0.2774, allocations: 11.94 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.2778, allocations: 362.3 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.716e-05/0.2779, allocations: 48.73 kB / 0.9533 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.2781, allocations: 131.4 kB / 0.9534 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.2783, allocations: 139.4 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.2783, allocations: 12 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.2812, allocations: 0.5668 MB / 0.9541 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.838e-05/0.2813, allocations: 51.7 kB / 0.9542 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.2814, allocations: 143.1 kB / 0.9543 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01411/0.2956, allocations: 13.22 MB / 0.9672 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2956, allocations: 0 / 0.9672 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2956, allocations: 4 kB / 0.9672 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2956, allocations: 4 kB / 0.9672 GB, free: 7.422 MB / 0.7481 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.001346/0.297, allocations: 0.6458 MB / 0.9679 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.297, allocations: 12.03 kB / 0.9679 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.2971, allocations: 32.56 kB / 0.9679 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.2975, allocations: 370.3 kB / 0.9683 GB, free: 6.281 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2975, allocations: 4.375 kB / 0.9683 GB, free: 6.277 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.2976, allocations: 8.375 kB / 0.9683 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.2977, allocations: 97.33 kB / 0.9684 GB, free: 6.156 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.2977, allocations: 0 / 0.9684 GB, free: 6.156 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.2977, allocations: 8 kB / 0.9684 GB, free: 6.148 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2978, allocations: 0 / 0.9684 GB, free: 6.148 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.668e-05/0.2979, allocations: 71.86 kB / 0.9685 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.2982, allocations: 336.1 kB / 0.9688 GB, free: 5.691 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.2983, allocations: 110.4 kB / 0.9689 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.346e-05/0.2984, allocations: 63.39 kB / 0.9689 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.2984, allocations: 0 / 0.9689 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.2984, allocations: 42.5 kB / 0.969 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.2985, allocations: 4 kB / 0.969 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4): time 0.0003462/0.2988, allocations: 189.1 kB / 0.9692 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.2989, allocations: 128.5 kB / 0.9693 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/0.2994, allocations: 0.5092 MB / 0.9698 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.2994, allocations: 29.64 kB / 0.9698 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.2996, allocations: 156.9 kB / 0.97 GB, free: 4.363 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.2996, allocations: 23.75 kB / 0.97 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.2997, allocations: 49.69 kB / 0.97 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2998, allocations: 338.8 kB / 0.9704 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.2999, allocations: 99.86 kB / 0.9704 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.3001, allocations: 160.3 kB / 0.9706 GB, free: 3.668 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.3004, allocations: 235.2 kB / 0.9708 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3004, allocations: 0 / 0.9708 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003888/0.3008, allocations: 293.3 kB / 0.9711 GB, free: 3.133 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3008, allocations: 11.94 kB / 0.9711 GB, free: 3.121 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3008, allocations: 3.984 kB / 0.9711 GB, free: 3.117 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3008, allocations: 4 kB / 0.9711 GB, free: 3.113 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.301, allocations: 19.98 kB / 0.9711 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.301, allocations: 7.938 kB / 0.9712 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.3012, allocations: 19.83 kB / 0.9712 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.3012, allocations: 11.98 kB / 0.9712 GB, free: 3.055 MB / 0.7481 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.0001481/0.3013, allocations: 181.7 kB / 0.9714 GB, free: 2.867 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.3014, allocations: 35.47 kB / 0.9714 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.3017, allocations: 175.7 kB / 0.9716 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3017, allocations: 8.125 kB / 0.9716 GB, free: 2.645 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3017, allocations: 0 / 0.9716 GB, free: 2.645 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3017, allocations: 0 / 0.9716 GB, free: 2.645 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.302, allocations: 293.4 kB / 0.9718 GB, free: 2.309 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.302, allocations: 4 kB / 0.9718 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.575e-05/0.3021, allocations: 15.98 kB / 0.9719 GB, free: 2.289 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3021, allocations: 7.938 kB / 0.9719 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3021, allocations: 0 / 0.9719 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3021, allocations: 7.938 kB / 0.9719 GB, free: 2.273 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3021, allocations: 3.938 kB / 0.9719 GB, free: 2.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.3023, allocations: 183.3 kB / 0.9721 GB, free: 2.062 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.3024, allocations: 140.6 kB / 0.9722 GB, free: 1.906 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.3025, allocations: 3.906 kB / 0.9722 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.3026, allocations: 11.98 kB / 0.9722 GB, free: 1.891 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.3027, allocations: 12 kB / 0.9722 GB, free: 1.879 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3027, allocations: 0 / 0.9722 GB, free: 1.879 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003738/0.3031, allocations: 383 kB / 0.9726 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3031, allocations: 0 / 0.9726 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004869/0.3036, allocations: 108 kB / 0.9727 GB, free: 1.398 MB / 0.7481 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.004509/0.3081, allocations: 2.803 MB / 0.9754 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.3085, allocations: 175.8 kB / 0.9756 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.3085, allocations: 0 / 0.9756 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 6.598e-05/0.3086, allocations: 47.91 kB / 0.9756 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.309, allocations: 64.47 kB / 0.9757 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009436/0.3099, allocations: 0.6015 MB / 0.9763 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3103, allocations: 0.8102 MB / 0.9771 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.961e-05/0.3104, allocations: 27.42 kB / 0.9771 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of SimCode: time 2.2e-07/0.3104, allocations: 0 / 0.9771 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of Templates: time 0.008484/0.3189, allocations: 6.59 MB / 0.9835 GB, free: 6.215 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile make -j1 -f Buildings_9_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_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp:28: ./OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o] Error 1