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.01045/0.01045, allocations: 100.8 kB / 15.87 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 191.4 kB / 16.79 MB, free: 5.805 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.485/1.485, allocations: 222.9 MB / 240.5 MB, free: 4.582 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.2 MB / 0.6649 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 59.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8855/0.8871, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002839/0.89, allocations: 1.636 MB / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.8913, allocations: 0.9101 MB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.8914, allocations: 1.188 kB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.8918, allocations: 56.73 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.8922, allocations: 136.7 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.94e-05/0.8923, allocations: 5.094 kB / 0.9522 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00039/0.8927, allocations: 363.8 kB / 0.9526 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.8928, allocations: 54.03 kB / 0.9526 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.893, allocations: 122.7 kB / 0.9528 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.8932, allocations: 135.3 kB / 0.9529 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.8932, allocations: 10.81 kB / 0.9529 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.8966, allocations: 0.6672 MB / 0.9535 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.8967, allocations: 34.72 kB / 0.9536 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.8969, allocations: 134.2 kB / 0.9537 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.8982, allocations: 0.7074 MB / 0.9544 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8982, allocations: 4 kB / 0.9544 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.093e-06/0.8982, allocations: 0 / 0.9544 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.8983, allocations: 0 / 0.9544 GB, free: 5.848 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.001791/0.9001, allocations: 0.6441 MB / 0.955 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.9001, allocations: 14 kB / 0.955 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.382e-05/0.9002, allocations: 30.78 kB / 0.9551 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.9006, allocations: 373.9 kB / 0.9554 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.9007, allocations: 9.406 kB / 0.9554 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.9007, allocations: 4.875 kB / 0.9554 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.9008, allocations: 105.8 kB / 0.9555 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.9009, allocations: 0 / 0.9555 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.9009, allocations: 9.156 kB / 0.9556 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.9009, allocations: 1.219 kB / 0.9556 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.901, allocations: 64.06 kB / 0.9556 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.9014, allocations: 348.4 kB / 0.956 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.9015, allocations: 111.7 kB / 0.9561 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.9016, allocations: 64.03 kB / 0.9561 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.9016, allocations: 5.141 kB / 0.9561 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.9016, allocations: 35.72 kB / 0.9562 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.9016, allocations: 4 kB / 0.9562 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003456/0.902, allocations: 185.5 kB / 0.9563 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.902, allocations: 130.3 kB / 0.9565 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/0.9026, allocations: 0.4998 MB / 0.957 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.9027, allocations: 31.08 kB / 0.957 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.9028, allocations: 160 kB / 0.9571 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.9028, allocations: 18.56 kB / 0.9572 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.733e-05/0.9029, allocations: 46.06 kB / 0.9572 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.903, allocations: 348.1 kB / 0.9575 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.9032, allocations: 114.1 kB / 0.9576 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.9034, allocations: 186.1 kB / 0.9578 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.9037, allocations: 270.3 kB / 0.9581 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9037, allocations: 0 / 0.9581 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004665/0.9042, allocations: 325.2 kB / 0.9584 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.9042, allocations: 10.03 kB / 0.9584 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.9042, allocations: 9.219 kB / 0.9584 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.9043, allocations: 1.094 kB / 0.9584 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.9044, allocations: 16.61 kB / 0.9584 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.9044, allocations: 9.047 kB / 0.9584 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.9046, allocations: 25.3 kB / 0.9584 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.9047, allocations: 12.11 kB / 0.9585 GB, free: 2.52 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.0001549/0.9048, allocations: 179.8 kB / 0.9586 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.9049, allocations: 37.67 kB / 0.9587 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.9052, allocations: 180.8 kB / 0.9588 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.9052, allocations: 6.922 kB / 0.9588 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.9053, allocations: 0.7812 kB / 0.9588 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.9053, allocations: 6.078 kB / 0.9589 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.9055, allocations: 287.8 kB / 0.9591 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9055, allocations: 1.031 kB / 0.9591 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.958e-05/0.9056, allocations: 16.7 kB / 0.9591 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.9056, allocations: 4.812 kB / 0.9591 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.9056, allocations: 2.125 kB / 0.9592 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.9057, allocations: 1.031 kB / 0.9592 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.9057, allocations: 4.906 kB / 0.9592 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.9059, allocations: 190 kB / 0.9593 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.906, allocations: 138.1 kB / 0.9595 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.9061, allocations: 2.219 kB / 0.9595 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.9062, allocations: 13.92 kB / 0.9595 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.9063, allocations: 11.48 kB / 0.9595 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.9063, allocations: 3.062 kB / 0.9595 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004408/0.9067, allocations: 378 kB / 0.9599 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9067, allocations: 3.938 kB / 0.9599 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001185/0.9079, allocations: 99.5 kB / 0.96 GB, free: 1.398 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.005843/0.9138, allocations: 2.802 MB / 0.9627 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005264/0.9143, allocations: 196.1 kB / 0.9629 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9143, allocations: 0.7188 kB / 0.9629 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.129e-05/0.9144, allocations: 46.09 kB / 0.9629 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.9149, allocations: 57.94 kB / 0.963 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.9162, allocations: 0.6824 MB / 0.9636 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.9167, allocations: 0.8116 MB / 0.9644 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.9168, allocations: 19.44 kB / 0.9645 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.9168, allocations: 1.188 kB / 0.9645 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of Templates: time 0.01417/0.931, allocations: 6.723 MB / 0.971 GB, free: 11.63 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