Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.UndisturbedSoilTemperature,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.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,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.UndisturbedSoilTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, 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.001462/0.001462, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.511/1.511, allocations: 223.3 MB / 241 MB, free: 5.316 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.424/2.424, allocations: 390.9 MB / 0.667 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.000372, allocations: 12.22 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6992/0.6996, allocations: 142.4 MB / 0.9557 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.001777/0.7014, allocations: 1.301 MB / 0.957 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.7029, allocations: 0.8943 MB / 0.9578 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.703, allocations: 2.156 kB / 0.9578 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.7033, allocations: 52.62 kB / 0.9579 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005346/0.7039, allocations: 131.7 kB / 0.958 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.262e-05/0.7039, allocations: 14.05 kB / 0.958 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.7043, allocations: 360.2 kB / 0.9584 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.7044, allocations: 45.5 kB / 0.9584 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.7047, allocations: 130.4 kB / 0.9585 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.705, allocations: 123.8 kB / 0.9587 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.705, allocations: 10.94 kB / 0.9587 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.7085, allocations: 0.6665 MB / 0.9593 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.636e-05/0.7086, allocations: 47.44 kB / 0.9594 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.7088, allocations: 159.5 kB / 0.9595 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.7099, allocations: 0.6985 MB / 0.9602 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7099, allocations: 0.9688 kB / 0.9602 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.484e-06/0.7099, allocations: 0 / 0.9602 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.7099, allocations: 0 / 0.9602 GB, free: 4.629 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.001832/0.7118, allocations: 0.607 MB / 0.9608 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.7118, allocations: 9.375 kB / 0.9608 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.712, allocations: 31.03 kB / 0.9608 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.7125, allocations: 372.1 kB / 0.9612 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.7126, allocations: 3.031 kB / 0.9612 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.7126, allocations: 5.062 kB / 0.9612 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.7127, allocations: 105.9 kB / 0.9613 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.7128, allocations: 7.984 kB / 0.9613 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.7128, allocations: 5.109 kB / 0.9613 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.7128, allocations: 1.219 kB / 0.9613 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.7129, allocations: 64.59 kB / 0.9614 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.7134, allocations: 351.7 kB / 0.9617 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.7135, allocations: 111.6 kB / 0.9618 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.797e-05/0.7136, allocations: 63.34 kB / 0.9619 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.7136, allocations: 4.969 kB / 0.9619 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.7136, allocations: 49.02 kB / 0.9619 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.7136, allocations: 0 / 0.9619 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003754/0.714, allocations: 181.4 kB / 0.9621 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.7141, allocations: 129.7 kB / 0.9622 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006458/0.7147, allocations: 0.5077 MB / 0.9627 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.7147, allocations: 27.55 kB / 0.9627 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/0.7148, allocations: 160.3 kB / 0.9629 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.7149, allocations: 10.19 kB / 0.9629 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.7149, allocations: 26.36 kB / 0.9629 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.256e-05/0.715, allocations: 348.2 kB / 0.9633 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.7152, allocations: 112.8 kB / 0.9634 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.7154, allocations: 190.1 kB / 0.9635 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.7158, allocations: 262.5 kB / 0.9638 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7158, allocations: 1.031 kB / 0.9638 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005279/0.7163, allocations: 328.8 kB / 0.9641 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.7164, allocations: 10.91 kB / 0.9641 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.7164, allocations: 5.562 kB / 0.9641 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.7164, allocations: 1.156 kB / 0.9641 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.7166, allocations: 17.67 kB / 0.9641 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.7166, allocations: 1.312 kB / 0.9641 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.7168, allocations: 24.83 kB / 0.9642 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.7169, allocations: 7.609 kB / 0.9642 GB, free: 1.344 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.0001581/0.717, allocations: 184.1 kB / 0.9644 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.7171, allocations: 33.44 kB / 0.9644 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.7174, allocations: 189.4 kB / 0.9646 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.7174, allocations: 2.219 kB / 0.9646 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.7174, allocations: 5.031 kB / 0.9646 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7174, allocations: 1.125 kB / 0.9646 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.7177, allocations: 292.4 kB / 0.9649 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.7177, allocations: 0.9375 kB / 0.9649 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.572e-05/0.7178, allocations: 16.08 kB / 0.9649 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.7178, allocations: 5.125 kB / 0.9649 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.7178, allocations: 2.344 kB / 0.9649 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.7178, allocations: 1.188 kB / 0.9649 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7179, allocations: 5.281 kB / 0.9649 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.7181, allocations: 189.4 kB / 0.9651 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.7182, allocations: 138.8 kB / 0.9652 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.7183, allocations: 1.938 kB / 0.9652 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.7184, allocations: 13.36 kB / 0.9652 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.7185, allocations: 16.03 kB / 0.9652 GB, free: 452 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.7185, allocations: 2.5 kB / 0.9652 GB, free: 452 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004039/0.7189, allocations: 378.8 kB / 0.9656 GB, free: 228 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7189, allocations: 0 / 0.9656 GB, free: 228 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00087/0.7198, allocations: 100.5 kB / 0.9657 GB, free: 220 kB / 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.005782/0.7256, allocations: 2.813 MB / 0.9684 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004469/0.726, allocations: 192.4 kB / 0.9686 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.726, allocations: 0 / 0.9686 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.7261, allocations: 46.12 kB / 0.9687 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.7267, allocations: 57.48 kB / 0.9687 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.7279, allocations: 0.7007 MB / 0.9694 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.7283, allocations: 0.8125 MB / 0.9702 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.683e-05/0.7284, allocations: 23.44 kB / 0.9702 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.7284, allocations: 4 kB / 0.9702 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.01543/0.7438, allocations: 6.687 MB / 0.9767 GB, free: 9.289 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.UndisturbedSoilTemperatureCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureCalcHelperMain.cpp:28: ./OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperatureCalcHelperMain.o] Error 1