Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.CorrectedConvection,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.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,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.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001262, allocations: 98.72 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.001986/0.001986, allocations: 184.9 kB / 16.92 MB, free: 6.895 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.505/1.505, allocations: 223.3 MB / 241 MB, free: 5.336 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.846/2.846, allocations: 437.8 MB / 0.7128 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004128, allocations: 12 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9104/0.9108, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.00236/0.9132, allocations: 1.299 MB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001724/0.915, allocations: 0.8881 MB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.9151, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.9155, allocations: 59.72 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005219/0.9161, allocations: 143.5 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.889e-05/0.9161, allocations: 0 / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004686/0.9166, allocations: 354.3 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.9167, allocations: 52.72 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.917, allocations: 123.3 kB / 1.027 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.9172, allocations: 131.3 kB / 1.027 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.9172, allocations: 12 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.9206, allocations: 0.668 MB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.9207, allocations: 39.78 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.921, allocations: 160.9 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.922, allocations: 0.6964 MB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.922, allocations: 0 / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.845e-06/0.922, allocations: 0 / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.922, allocations: 0 / 1.028 GB, free: 11.22 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.001563/0.9236, allocations: 0.611 MB / 1.029 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.9237, allocations: 8.031 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.938e-05/0.9238, allocations: 32.56 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.9243, allocations: 378.2 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.9244, allocations: 384 / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.9244, allocations: 4.375 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.9246, allocations: 113.3 kB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.9246, allocations: 0 / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.9247, allocations: 0 / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.9247, allocations: 0 / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.9248, allocations: 67.88 kB / 1.029 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.9253, allocations: 352.1 kB / 1.03 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.9254, allocations: 114.4 kB / 1.03 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.9255, allocations: 67.39 kB / 1.03 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.9256, allocations: 0 / 1.03 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.9256, allocations: 42.5 kB / 1.03 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.9256, allocations: 0 / 1.03 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003746/0.926, allocations: 181.1 kB / 1.03 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/0.9261, allocations: 132.5 kB / 1.03 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006477/0.9267, allocations: 0.5052 MB / 1.031 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.9268, allocations: 34.14 kB / 1.031 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.9269, allocations: 164.3 kB / 1.031 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.927, allocations: 7.891 kB / 1.031 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.927, allocations: 25.72 kB / 1.031 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.9272, allocations: 346.8 kB / 1.031 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.9274, allocations: 115.8 kB / 1.031 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.9276, allocations: 192.3 kB / 1.032 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.928, allocations: 259.1 kB / 1.032 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.928, allocations: 4 kB / 1.032 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004728/0.9285, allocations: 329.1 kB / 1.032 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.9285, allocations: 7.938 kB / 1.032 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.9285, allocations: 0 / 1.032 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.9286, allocations: 4 kB / 1.032 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.9287, allocations: 15.98 kB / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.567e-06/0.9287, allocations: 3.938 kB / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.9289, allocations: 31.81 kB / 1.032 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.9289, allocations: 4 kB / 1.032 GB, free: 6.793 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.0001948/0.9291, allocations: 182.2 kB / 1.032 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.9292, allocations: 39.47 kB / 1.032 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/0.9296, allocations: 184 kB / 1.033 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.9296, allocations: 0 / 1.033 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.9296, allocations: 4 kB / 1.033 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9296, allocations: 0 / 1.033 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.9299, allocations: 293.4 kB / 1.033 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.9299, allocations: 0 / 1.033 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.93, allocations: 15.98 kB / 1.033 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.93, allocations: 3.938 kB / 1.033 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.9301, allocations: 4 kB / 1.033 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.9301, allocations: 0 / 1.033 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.9301, allocations: 7.938 kB / 1.033 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.9304, allocations: 187.4 kB / 1.033 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.9305, allocations: 140.5 kB / 1.033 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.9306, allocations: 4 kB / 1.033 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.9307, allocations: 11.98 kB / 1.033 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.9308, allocations: 7.984 kB / 1.033 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.9308, allocations: 4 kB / 1.033 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004676/0.9312, allocations: 387 kB / 1.034 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9312, allocations: 0 / 1.034 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005906/0.9318, allocations: 100 kB / 1.034 GB, free: 5.137 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.00529/0.9371, allocations: 2.811 MB / 1.036 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005558/0.9377, allocations: 191.8 kB / 1.037 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.9377, allocations: 0 / 1.037 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.762e-05/0.9378, allocations: 51.83 kB / 1.037 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.9385, allocations: 53.73 kB / 1.037 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.94, allocations: 0.6947 MB / 1.037 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.9406, allocations: 0.8107 MB / 1.038 GB, free: 464 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.792e-05/0.9407, allocations: 19.44 kB / 1.038 GB, free: 444 kB / 0.7794 GB Notification: Performance of SimCode: time 9.52e-07/0.9407, allocations: 4 kB / 1.038 GB, free: 440 kB / 0.7794 GB Notification: Performance of Templates: time 0.01277/0.9535, allocations: 6.7 MB / 1.045 GB, free: 9.754 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.CorrectedConvectionCalcHelperMain.o OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.cpp:28: ./OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.o] Error 1