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.001326/0.001326, allocations: 111.9 kB / 16.41 MB, free: 6.469 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.001368/0.001368, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.14 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.467/2.467, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 67.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.093, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003094/1.096, allocations: 1.59 MB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001599/1.098, allocations: 0.9151 MB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/1.098, allocations: 4 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002981/1.099, allocations: 63.64 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0005527/1.099, allocations: 159.2 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.304e-05/1.099, allocations: 4 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004564/1.1, allocations: 370.2 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/1.1, allocations: 48.73 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/1.1, allocations: 143.4 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/1.1, allocations: 135.3 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/1.1, allocations: 20 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003207/1.104, allocations: 0.5668 MB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/1.104, allocations: 51.72 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/1.104, allocations: 139.2 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01329/1.117, allocations: 13.23 MB / 1.184 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/1.117, allocations: 4 kB / 1.184 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.505e-06/1.117, allocations: 0 / 1.184 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.497e-05/1.117, allocations: 0 / 1.184 GB, free: 2.348 MB / 0.9044 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.001763/1.119, allocations: 0.642 MB / 1.185 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.119, allocations: 12.92 kB / 1.185 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.901e-05/1.119, allocations: 32.55 kB / 1.185 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006117/1.12, allocations: 378.3 kB / 1.185 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/1.12, allocations: 4.375 kB / 1.185 GB, free: 1.199 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/1.12, allocations: 8.375 kB / 1.185 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/1.12, allocations: 101.3 kB / 1.185 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.12, allocations: 0 / 1.185 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/1.12, allocations: 0 / 1.185 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.12, allocations: 0 / 1.185 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/1.12, allocations: 75.88 kB / 1.185 GB, free: 1 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/1.121, allocations: 340.1 kB / 1.186 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/1.121, allocations: 110.5 kB / 1.186 GB, free: 472 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.178e-05/1.121, allocations: 59.41 kB / 1.186 GB, free: 400 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/1.121, allocations: 3.938 kB / 1.186 GB, free: 396 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/1.121, allocations: 38.48 kB / 1.186 GB, free: 348 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/1.121, allocations: 4 kB / 1.186 GB, free: 344 kB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0003771/1.121, allocations: 189.2 kB / 1.186 GB, free: 148 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/1.121, allocations: 128.5 kB / 1.186 GB, free: 15.99 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000631/1.122, allocations: 0.5091 MB / 1.187 GB, free: 15.47 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/1.122, allocations: 29.7 kB / 1.187 GB, free: 15.43 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/1.122, allocations: 156.3 kB / 1.187 GB, free: 15.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/1.122, allocations: 7.906 kB / 1.187 GB, free: 15.27 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/1.122, allocations: 54 kB / 1.187 GB, free: 15.21 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.122, allocations: 346.8 kB / 1.187 GB, free: 14.86 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/1.123, allocations: 99.91 kB / 1.187 GB, free: 14.76 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/1.123, allocations: 157 kB / 1.188 GB, free: 14.59 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/1.123, allocations: 239.2 kB / 1.188 GB, free: 14.34 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.123, allocations: 4 kB / 1.188 GB, free: 14.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004242/1.124, allocations: 293 kB / 1.188 GB, free: 14.04 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/1.124, allocations: 7.938 kB / 1.188 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.124, allocations: 4 kB / 1.188 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.124, allocations: 240 / 1.188 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/1.124, allocations: 19.98 kB / 1.188 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.124, allocations: 4 kB / 1.188 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/1.124, allocations: 19.83 kB / 1.188 GB, free: 13.99 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/1.124, allocations: 7.984 kB / 1.188 GB, free: 13.98 MB / 0.92 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.0001699/1.124, allocations: 181.7 kB / 1.188 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/1.124, allocations: 43.53 kB / 1.188 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/1.125, allocations: 179.6 kB / 1.189 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/1.125, allocations: 4 kB / 1.189 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.125, allocations: 0 / 1.189 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.125, allocations: 0 / 1.189 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/1.125, allocations: 293.5 kB / 1.189 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.125, allocations: 4.125 kB / 1.189 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.294e-05/1.125, allocations: 15.98 kB / 1.189 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/1.125, allocations: 7.938 kB / 1.189 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/1.125, allocations: 7.938 kB / 1.189 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.125, allocations: 0 / 1.189 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.125, allocations: 4 kB / 1.189 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/1.125, allocations: 191.1 kB / 1.189 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/1.126, allocations: 136.6 kB / 1.189 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/1.126, allocations: 0 / 1.189 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/1.126, allocations: 11.98 kB / 1.189 GB, free: 12.81 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/1.126, allocations: 11.98 kB / 1.189 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/1.126, allocations: 0 / 1.189 GB, free: 12.8 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004408/1.126, allocations: 379 kB / 1.19 GB, free: 12.43 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/1.126, allocations: 0 / 1.19 GB, free: 12.43 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005152/1.127, allocations: 107.9 kB / 1.19 GB, free: 12.33 MB / 0.92 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.004316/1.131, allocations: 2.8 MB / 1.192 GB, free: 9.516 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003984/1.132, allocations: 175.8 kB / 1.193 GB, free: 9.344 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.132, allocations: 0 / 1.193 GB, free: 9.344 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.817e-05/1.132, allocations: 51.91 kB / 1.193 GB, free: 9.293 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/1.132, allocations: 54.22 kB / 1.193 GB, free: 9.242 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/1.133, allocations: 0.6091 MB / 1.193 GB, free: 8.586 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/1.134, allocations: 0.8065 MB / 1.194 GB, free: 7.754 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/1.134, allocations: 27.42 kB / 1.194 GB, free: 7.727 MB / 0.92 GB Notification: Performance of SimCode: time 4.91e-07/1.134, allocations: 0 / 1.194 GB, free: 7.727 MB / 0.92 GB Notification: Performance of Templates: time 0.01012/1.144, allocations: 6.613 MB / 1.201 GB, free: 1.129 MB / 0.92 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