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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001833/0.001833, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002544/0.002544, allocations: 196.3 kB / 16.79 MB, free: 6.832 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.489/1.489, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.2 MB / 0.6649 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001599, allocations: 67.89 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9464/0.948, allocations: 140.3 MB / 0.9496 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003548/0.9516, allocations: 1.645 MB / 0.9512 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.9533, allocations: 0.9062 MB / 0.9521 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.9535, allocations: 5.188 kB / 0.9521 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.9538, allocations: 53.66 kB / 0.9521 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006176/0.9545, allocations: 139.6 kB / 0.9522 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.713e-05/0.9546, allocations: 5.375 kB / 0.9523 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.955, allocations: 364.2 kB / 0.9526 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.9552, allocations: 41.97 kB / 0.9526 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.9555, allocations: 126.8 kB / 0.9528 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.9558, allocations: 134.9 kB / 0.9529 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.9559, allocations: 15.97 kB / 0.9529 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003649/0.9595, allocations: 0.67 MB / 0.9536 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.9596, allocations: 43.08 kB / 0.9536 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.9599, allocations: 122 kB / 0.9537 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.9614, allocations: 0.7072 MB / 0.9544 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.9614, allocations: 0 / 0.9544 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.394e-06/0.9614, allocations: 1.062 kB / 0.9544 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.9615, allocations: 0 / 0.9544 GB, free: 6.102 MB / 0.7169 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.002904/0.9644, allocations: 0.6564 MB / 0.955 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.9644, allocations: 8.5 kB / 0.9551 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.9646, allocations: 31.84 kB / 0.9551 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/0.9653, allocations: 371.5 kB / 0.9554 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.9653, allocations: 11.06 kB / 0.9555 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.9654, allocations: 4.688 kB / 0.9555 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.9656, allocations: 106.9 kB / 0.9556 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.9656, allocations: 0 / 0.9556 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.9656, allocations: 0 / 0.9556 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.9656, allocations: 1.594 kB / 0.9556 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.9657, allocations: 73.2 kB / 0.9556 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005147/0.9663, allocations: 342.9 kB / 0.956 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.9664, allocations: 115.4 kB / 0.9561 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.9665, allocations: 60.02 kB / 0.9561 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.9665, allocations: 1.375 kB / 0.9561 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.9666, allocations: 45.25 kB / 0.9562 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.9666, allocations: 0 / 0.9562 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004383/0.967, allocations: 181.5 kB / 0.9563 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.9671, allocations: 130.4 kB / 0.9565 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008371/0.9679, allocations: 0.5068 MB / 0.957 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.9679, allocations: 30.73 kB / 0.957 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.9681, allocations: 164.4 kB / 0.9571 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.9681, allocations: 18.14 kB / 0.9572 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.9682, allocations: 46.58 kB / 0.9572 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.9684, allocations: 343.3 kB / 0.9575 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.9686, allocations: 117.8 kB / 0.9576 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.9688, allocations: 184.7 kB / 0.9578 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.9693, allocations: 266.4 kB / 0.9581 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.9693, allocations: 1.125 kB / 0.9581 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005305/0.9698, allocations: 320.5 kB / 0.9584 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.9698, allocations: 9.531 kB / 0.9584 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.9699, allocations: 5.125 kB / 0.9584 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.9699, allocations: 5.125 kB / 0.9584 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.97, allocations: 20.89 kB / 0.9584 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.9701, allocations: 6.141 kB / 0.9584 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.9703, allocations: 28.88 kB / 0.9585 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.9703, allocations: 3.469 kB / 0.9585 GB, free: 2.773 MB / 0.7169 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.0001922/0.9705, allocations: 184 kB / 0.9586 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.9706, allocations: 34.44 kB / 0.9587 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.9709, allocations: 184.7 kB / 0.9588 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.971, allocations: 1.719 kB / 0.9588 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.971, allocations: 1.531 kB / 0.9588 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.971, allocations: 0.75 kB / 0.9588 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.9713, allocations: 288.7 kB / 0.9591 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.9713, allocations: 1.156 kB / 0.9591 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-05/0.9714, allocations: 20.11 kB / 0.9591 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.9714, allocations: 5.438 kB / 0.9591 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.9714, allocations: 5.562 kB / 0.9592 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.9714, allocations: 5.406 kB / 0.9592 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9714, allocations: 1.469 kB / 0.9592 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.9717, allocations: 185 kB / 0.9593 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.9719, allocations: 146.5 kB / 0.9595 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.9719, allocations: 2.75 kB / 0.9595 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.9721, allocations: 9.172 kB / 0.9595 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.9721, allocations: 15.67 kB / 0.9595 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.9721, allocations: 2.5 kB / 0.9595 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004952/0.9726, allocations: 378 kB / 0.9599 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9726, allocations: 0 / 0.9599 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00153/0.9742, allocations: 100.6 kB / 0.96 GB, free: 1.648 MB / 0.7169 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.006131/0.9803, allocations: 2.805 MB / 0.9627 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005167/0.9809, allocations: 192.3 kB / 0.9629 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.9809, allocations: 0 / 0.9629 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.861e-05/0.981, allocations: 54.92 kB / 0.9629 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.9815, allocations: 53.39 kB / 0.963 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.9829, allocations: 0.6832 MB / 0.9637 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.9834, allocations: 0.8121 MB / 0.9644 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.248e-05/0.9835, allocations: 19.31 kB / 0.9645 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.9836, allocations: 0 / 0.9645 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of Templates: time 0.01297/0.9965, allocations: 6.72 MB / 0.971 GB, free: 11.82 MB / 0.7325 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++14 -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