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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009719/0.0009722, allocations: 97.78 kB / 16.02 MB, free: 76 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.001022/0.001022, allocations: 182 kB / 16.92 MB, free: 6.914 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.641/1.641, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.878/2.878, allocations: 437.8 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004029, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.009, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.00279/1.012, allocations: 1.303 MB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002067/1.014, allocations: 0.8803 MB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/1.014, allocations: 4 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004476/1.015, allocations: 59.7 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007953/1.015, allocations: 139.5 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.932e-05/1.015, allocations: 8 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005666/1.016, allocations: 350.3 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/1.016, allocations: 56.69 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003635/1.017, allocations: 123.3 kB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003364/1.017, allocations: 139.3 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/1.017, allocations: 12 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003624/1.021, allocations: 0.6602 MB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/1.021, allocations: 43.78 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002509/1.021, allocations: 152.9 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/1.022, allocations: 0.7003 MB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.022, allocations: 4 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.845e-06/1.022, allocations: 0 / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.7e-05/1.023, allocations: 0 / 1.028 GB, free: 11.21 MB / 0.7794 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.002144/1.025, allocations: 0.6032 MB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/1.025, allocations: 12.03 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/1.025, allocations: 32.56 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007693/1.026, allocations: 378.2 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/1.026, allocations: 4.375 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/1.026, allocations: 8.375 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/1.026, allocations: 101.3 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/1.026, allocations: 0 / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/1.026, allocations: 3.938 kB / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/1.026, allocations: 8 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/1.026, allocations: 71.86 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006042/1.027, allocations: 344.2 kB / 1.03 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/1.027, allocations: 110.4 kB / 1.03 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.833e-05/1.027, allocations: 63.39 kB / 1.03 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/1.027, allocations: 4 kB / 1.03 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/1.027, allocations: 38.5 kB / 1.03 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/1.027, allocations: 4 kB / 1.03 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004644/1.028, allocations: 181.1 kB / 1.03 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/1.028, allocations: 128.5 kB / 1.03 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007547/1.028, allocations: 0.5092 MB / 1.031 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/1.029, allocations: 25.7 kB / 1.031 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/1.029, allocations: 164.8 kB / 1.031 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/1.029, allocations: 15.89 kB / 1.031 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/1.029, allocations: 25.72 kB / 1.031 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.029, allocations: 342.8 kB / 1.031 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/1.029, allocations: 119.9 kB / 1.031 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/1.029, allocations: 184.4 kB / 1.032 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/1.03, allocations: 267.2 kB / 1.032 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/1.03, allocations: 0 / 1.032 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005552/1.03, allocations: 325.1 kB / 1.032 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/1.03, allocations: 15.88 kB / 1.032 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.03, allocations: 240 / 1.032 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.031, allocations: 0 / 1.032 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/1.031, allocations: 15.98 kB / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/1.031, allocations: 7.938 kB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/1.031, allocations: 27.81 kB / 1.032 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/1.031, allocations: 7.984 kB / 1.032 GB, free: 6.785 MB / 0.7794 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.0002176/1.031, allocations: 186.2 kB / 1.032 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/1.031, allocations: 35.47 kB / 1.032 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/1.032, allocations: 175.8 kB / 1.033 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/1.032, allocations: 4 kB / 1.033 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.032, allocations: 4.125 kB / 1.033 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.032, allocations: 4 kB / 1.033 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/1.032, allocations: 285.4 kB / 1.033 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.032, allocations: 4 kB / 1.033 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.129e-05/1.032, allocations: 15.98 kB / 1.033 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.032, allocations: 3.938 kB / 1.033 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/1.032, allocations: 4 kB / 1.033 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.032, allocations: 4 kB / 1.033 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/1.032, allocations: 3.938 kB / 1.033 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/1.032, allocations: 195.2 kB / 1.033 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/1.033, allocations: 140.5 kB / 1.033 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/1.033, allocations: 4 kB / 1.033 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/1.033, allocations: 11.98 kB / 1.033 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/1.033, allocations: 7.984 kB / 1.033 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/1.033, allocations: 12 kB / 1.033 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004401/1.033, allocations: 379 kB / 1.034 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.304e-06/1.033, allocations: 0 / 1.034 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005673/1.034, allocations: 103.9 kB / 1.034 GB, free: 5.121 MB / 0.7794 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.004806/1.039, allocations: 2.803 MB / 1.036 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003734/1.039, allocations: 191.8 kB / 1.037 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.039, allocations: 0 / 1.037 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.465e-05/1.039, allocations: 51.89 kB / 1.037 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/1.04, allocations: 53.73 kB / 1.037 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/1.041, allocations: 0.6947 MB / 1.037 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/1.041, allocations: 0.8146 MB / 1.038 GB, free: 452 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/1.041, allocations: 19.44 kB / 1.038 GB, free: 432 kB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/1.041, allocations: 0 / 1.038 GB, free: 432 kB / 0.7794 GB Notification: Performance of Templates: time 0.01129/1.052, allocations: 6.703 MB / 1.045 GB, free: 9.742 MB / 0.795 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++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_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