Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 215.9 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.309/3.309, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 68.38 kB / 1.178 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4489, allocations: 180.2 MB / 1.354 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003056/0.452, allocations: 1.621 MB / 1.356 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.4536, allocations: 0.9585 MB / 1.357 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.995e-05/0.4537, allocations: 0 / 1.357 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.454, allocations: 71.59 kB / 1.357 GB, free: 5.305 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004944/0.4544, allocations: 139.3 kB / 1.357 GB, free: 5.168 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.147e-05/0.4545, allocations: 19.97 kB / 1.357 GB, free: 5.148 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000503/0.455, allocations: 358.2 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.703e-05/0.4551, allocations: 16.94 kB / 1.357 GB, free: 4.781 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.4554, allocations: 159.4 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.4556, allocations: 143.3 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.4556, allocations: 16 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000772/0.4564, allocations: 0.5475 MB / 1.358 GB, free: 3.906 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/0.4565, allocations: 43.78 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.4566, allocations: 143.2 kB / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.458, allocations: 0.8497 MB / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.458, allocations: 0 / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.823e-06/0.458, allocations: 0 / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.458, allocations: 0 / 1.359 GB, free: 2.871 MB / 1.045 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.001459/0.4594, allocations: 0.5898 MB / 1.36 GB, free: 2.25 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4595, allocations: 8.031 kB / 1.36 GB, free: 2.242 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.336e-05/0.4596, allocations: 32.75 kB / 1.36 GB, free: 2.211 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/0.4601, allocations: 324.8 kB / 1.36 GB, free: 1.871 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.4601, allocations: 8.375 kB / 1.36 GB, free: 1.863 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.4601, allocations: 4.375 kB / 1.36 GB, free: 1.859 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.4603, allocations: 105.3 kB / 1.36 GB, free: 1.738 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.4603, allocations: 0 / 1.36 GB, free: 1.738 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.4603, allocations: 4 kB / 1.36 GB, free: 1.734 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4603, allocations: 4 kB / 1.36 GB, free: 1.73 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.4605, allocations: 67.86 kB / 1.36 GB, free: 1.664 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.4609, allocations: 315.2 kB / 1.36 GB, free: 1.305 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.461, allocations: 106.4 kB / 1.361 GB, free: 1.164 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.4611, allocations: 59.45 kB / 1.361 GB, free: 1.094 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.4611, allocations: 4 kB / 1.361 GB, free: 1.09 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.4612, allocations: 42.44 kB / 1.361 GB, free: 1.039 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.4612, allocations: 0 / 1.361 GB, free: 1.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0003649/0.4615, allocations: 185.3 kB / 1.361 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/0.4616, allocations: 132.5 kB / 1.361 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006391/0.4623, allocations: 0.5053 MB / 1.361 GB, free: 180 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.4623, allocations: 25.7 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.4624, allocations: 164.5 kB / 1.362 GB, free: 15.97 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.4625, allocations: 8.406 kB / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/0.4626, allocations: 53.69 kB / 1.362 GB, free: 15.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.4627, allocations: 342.8 kB / 1.362 GB, free: 15.56 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.4629, allocations: 99.92 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.4631, allocations: 170.6 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.4634, allocations: 243.2 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4634, allocations: 0 / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004194/0.4638, allocations: 313.4 kB / 1.363 GB, free: 14.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4638, allocations: 7.938 kB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4638, allocations: 0 / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.4639, allocations: 4 kB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.464, allocations: 15.98 kB / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.464, allocations: 0 / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.4642, allocations: 19.88 kB / 1.363 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.4642, allocations: 8 kB / 1.363 GB, free: 14.66 MB / 1.061 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.0001826/0.4644, allocations: 190.3 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.4644, allocations: 35.75 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.4647, allocations: 179.6 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4647, allocations: 0 / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.4647, allocations: 7.984 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4648, allocations: 128 / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.465, allocations: 268.4 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.465, allocations: 0 / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.425e-05/0.4651, allocations: 12 kB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.4651, allocations: 7.938 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.4651, allocations: 3.984 kB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4651, allocations: 0 / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.4651, allocations: 4 kB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.4654, allocations: 187.4 kB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.4656, allocations: 67.62 kB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.4656, allocations: 8 kB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.4657, allocations: 7.984 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.4658, allocations: 7.984 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.4658, allocations: 4 kB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004564/0.4662, allocations: 383 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4662, allocations: 4 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000492/0.4667, allocations: 95.94 kB / 1.364 GB, free: 13.13 MB / 1.061 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.004603/0.4713, allocations: 2.82 MB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004/0.4717, allocations: 167.8 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4717, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.4718, allocations: 51.89 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.4722, allocations: 57.77 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.4733, allocations: 0.6054 MB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.4738, allocations: 0.8104 MB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.4739, allocations: 23.44 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/0.4739, allocations: 0 / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of Templates: time 0.01032/0.4842, allocations: 6.684 MB / 1.375 GB, free: 1.852 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] make -j1 -f Buildings_latest_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_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp:28: ./OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:174:283: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:174:283: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.8524998909852] Failed to read output from testmodel.py, exit status != 0: 0.49294079301762395 0.508125357 0.0471035 Calling exit ...