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.001118/0.001118, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001174/0.001174, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.333/1.333, 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.186/2.186, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 59.89 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8803/0.8818, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002832/0.8847, allocations: 1.584 MB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.8861, allocations: 0.9129 MB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.685e-05/0.8862, allocations: 6.156 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.8865, allocations: 59.14 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005035/0.8871, allocations: 159.1 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.718e-05/0.8871, allocations: 7.922 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.8875, allocations: 361.4 kB / 1.092 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.8876, allocations: 47.19 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.8879, allocations: 145.2 kB / 1.092 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.8881, allocations: 144.2 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.8882, allocations: 19.72 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003314/0.8915, allocations: 0.5588 MB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.8916, allocations: 47.44 kB / 1.093 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.8919, allocations: 142.7 kB / 1.093 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01922/0.9111, allocations: 13.23 MB / 1.106 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.9111, allocations: 0 / 1.106 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9112, allocations: 7.875 kB / 1.106 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.9112, 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.001837/0.913, allocations: 0.6491 MB / 1.106 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.9131, allocations: 8.969 kB / 1.106 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.479e-05/0.9132, allocations: 31.66 kB / 1.106 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005643/0.9137, allocations: 370.5 kB / 1.107 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.9138, allocations: 11.11 kB / 1.107 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.9138, allocations: 4.844 kB / 1.107 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.914, allocations: 96.58 kB / 1.107 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.914, allocations: 3.938 kB / 1.107 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.914, allocations: 5.562 kB / 1.107 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.914, allocations: 1.031 kB / 1.107 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.9142, allocations: 67.67 kB / 1.107 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.9147, allocations: 344.1 kB / 1.107 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.9148, allocations: 107.2 kB / 1.107 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.948e-05/0.9149, allocations: 62.11 kB / 1.107 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.9149, allocations: 5.078 kB / 1.107 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.915, allocations: 45.17 kB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.915, allocations: 0.5 kB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4): time 0.0004889/0.9155, allocations: 183 kB / 1.108 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.9156, allocations: 134.1 kB / 1.108 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008278/0.9164, allocations: 0.5065 MB / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.9164, allocations: 27.64 kB / 1.108 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.9166, allocations: 153 kB / 1.108 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.9166, allocations: 14.88 kB / 1.108 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.834e-05/0.9167, allocations: 52.38 kB / 1.108 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.9168, allocations: 345.8 kB / 1.109 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.917, allocations: 97.38 kB / 1.109 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.9172, allocations: 153.9 kB / 1.109 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.9175, allocations: 244.3 kB / 1.109 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9175, allocations: 5.469 kB / 1.109 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004466/0.918, allocations: 295.1 kB / 1.109 GB, free: 12 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.918, allocations: 11.16 kB / 1.109 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.918, allocations: 1.031 kB / 1.109 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.9181, allocations: 2.875 kB / 1.109 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.9182, allocations: 19.7 kB / 1.109 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.9183, allocations: 5.781 kB / 1.109 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.9185, allocations: 20.98 kB / 1.11 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.9185, allocations: 5.156 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.0001917/0.9187, allocations: 183.3 kB / 1.11 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.9188, allocations: 34.05 kB / 1.11 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.9192, allocations: 181 kB / 1.11 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.9192, allocations: 6.938 kB / 1.11 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.9192, allocations: 0.9062 kB / 1.11 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.9192, allocations: 3.219 kB / 1.11 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.9195, allocations: 292.2 kB / 1.11 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9196, allocations: 5.344 kB / 1.11 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.485e-05/0.9197, allocations: 18.38 kB / 1.11 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.9197, allocations: 5.969 kB / 1.11 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.9197, allocations: 1.344 kB / 1.11 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.9197, allocations: 2.062 kB / 1.11 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.9197, allocations: 5.438 kB / 1.11 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.92, allocations: 188.6 kB / 1.11 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.9201, allocations: 137.7 kB / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.9202, allocations: 3.469 kB / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.9203, allocations: 13.83 kB / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.9204, allocations: 4.906 kB / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.9204, allocations: 3.938 kB / 1.111 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004797/0.9209, allocations: 378.2 kB / 1.111 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9209, allocations: 4 kB / 1.111 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001141/0.922, allocations: 103.8 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.005795/0.9278, allocations: 2.807 MB / 1.114 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005409/0.9284, allocations: 179.7 kB / 1.114 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.9284, allocations: 0.9375 kB / 1.114 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.984e-05/0.9285, allocations: 43.17 kB / 1.114 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.9291, allocations: 56.14 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.001143/0.9302, allocations: 0.6044 MB / 1.115 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.9307, allocations: 0.8109 MB / 1.115 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.857e-05/0.9308, allocations: 20.95 kB / 1.115 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of SimCode: time 6.02e-07/0.9308, allocations: 0.5 kB / 1.115 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of Templates: time 0.01219/0.943, allocations: 6.621 MB / 1.122 GB, free: 6.586 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