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.002099/0.002099, allocations: 108.9 kB / 16.41 MB, free: 6.465 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.002115/0.002116, allocations: 187 kB / 17.34 MB, free: 5.719 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.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.09 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.335/2.335, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 56.14 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.124, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002877/1.127, allocations: 1.587 MB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001403/1.128, allocations: 0.915 MB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/1.128, allocations: 2.25 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002903/1.129, allocations: 59.55 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005013/1.129, allocations: 158.4 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.951e-05/1.129, allocations: 8.656 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005054/1.13, allocations: 360.2 kB / 1.092 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.378e-05/1.13, allocations: 47.25 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/1.13, allocations: 149.3 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/1.13, allocations: 144.3 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/1.13, allocations: 15.19 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003224/1.134, allocations: 0.5632 MB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/1.134, allocations: 52.42 kB / 1.093 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000217/1.134, allocations: 134.3 kB / 1.093 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01933/1.153, allocations: 13.23 MB / 1.106 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/1.153, allocations: 1.156 kB / 1.106 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.635e-06/1.153, allocations: 0 / 1.106 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.418e-06/1.153, allocations: 0 / 1.106 GB, free: 14.76 MB / 0.8731 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.002047/1.155, allocations: 0.649 MB / 1.106 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/1.156, allocations: 10.16 kB / 1.106 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.371e-05/1.156, allocations: 29.75 kB / 1.106 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006076/1.156, allocations: 371.7 kB / 1.107 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/1.156, allocations: 10.91 kB / 1.107 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/1.156, allocations: 4.344 kB / 1.107 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/1.157, allocations: 99.92 kB / 1.107 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.157, allocations: 1.484 kB / 1.107 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/1.157, allocations: 5.156 kB / 1.107 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.157, allocations: 0 / 1.107 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/1.157, allocations: 67.55 kB / 1.107 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/1.157, allocations: 345.3 kB / 1.107 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/1.157, allocations: 105.8 kB / 1.107 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/1.158, allocations: 63.06 kB / 1.107 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/1.158, allocations: 1.812 kB / 1.107 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/1.158, allocations: 44.67 kB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/1.158, allocations: 0.5312 kB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4): time 0.0004755/1.158, allocations: 186.7 kB / 1.108 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/1.158, allocations: 130 kB / 1.108 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008383/1.159, allocations: 0.5062 MB / 1.108 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/1.159, allocations: 27.89 kB / 1.108 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/1.159, allocations: 157.3 kB / 1.108 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/1.159, allocations: 15.16 kB / 1.108 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-05/1.159, allocations: 52 kB / 1.108 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.159, allocations: 345.7 kB / 1.109 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/1.16, allocations: 97.31 kB / 1.109 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/1.16, allocations: 158.1 kB / 1.109 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/1.16, allocations: 240.8 kB / 1.109 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.16, allocations: 0.7031 kB / 1.109 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004729/1.161, allocations: 298.9 kB / 1.109 GB, free: 12 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.161, allocations: 9.188 kB / 1.109 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/1.161, allocations: 5.828 kB / 1.109 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.161, allocations: 1.094 kB / 1.109 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/1.161, allocations: 17 kB / 1.109 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/1.161, allocations: 5.141 kB / 1.109 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/1.161, allocations: 21.59 kB / 1.11 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/1.161, allocations: 4.797 kB / 1.11 GB, free: 11.98 MB / 0.8731 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.0001859/1.161, allocations: 187.2 kB / 1.11 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/1.161, allocations: 33.53 kB / 1.11 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/1.162, allocations: 178.9 kB / 1.11 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.162, allocations: 6.469 kB / 1.11 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.162, allocations: 1.156 kB / 1.11 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.162, allocations: 6.234 kB / 1.11 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/1.162, allocations: 289.1 kB / 1.11 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.162, allocations: 4.125 kB / 1.11 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/1.162, allocations: 15.58 kB / 1.11 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/1.162, allocations: 5.031 kB / 1.11 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/1.162, allocations: 6.25 kB / 1.11 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.162, allocations: 1.953 kB / 1.11 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/1.162, allocations: 1.125 kB / 1.11 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/1.163, allocations: 193.1 kB / 1.11 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/1.163, allocations: 136.9 kB / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/1.163, allocations: 3.391 kB / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/1.163, allocations: 13.58 kB / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/1.163, allocations: 5.5 kB / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/1.163, allocations: 3.703 kB / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004661/1.163, allocations: 376.8 kB / 1.111 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.7e-07/1.163, allocations: 0 / 1.111 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001422/1.165, allocations: 108.2 kB / 1.111 GB, free: 11.05 MB / 0.8731 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.006327/1.171, allocations: 2.804 MB / 1.114 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005383/1.172, allocations: 184.3 kB / 1.114 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.172, allocations: 0 / 1.114 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/1.172, allocations: 47.11 kB / 1.114 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/1.172, allocations: 53.56 kB / 1.114 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/1.174, allocations: 0.6019 MB / 1.115 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/1.174, allocations: 0.8137 MB / 1.115 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/1.174, allocations: 19.97 kB / 1.115 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of SimCode: time 6.32e-07/1.174, allocations: 0 / 1.115 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of Templates: time 0.01306/1.187, allocations: 6.618 MB / 1.122 GB, free: 6.562 MB / 0.8731 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