Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.CorrectedNFactors,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.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_9_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.00165/0.00165, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001963/0.001963, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.318/1.318, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.2 MB / 0.665 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 65.95 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2693, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.00295/0.2723, allocations: 1.65 MB / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.2738, allocations: 0.9074 MB / 0.9523 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.2739, allocations: 0 / 0.9523 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.2742, allocations: 59.72 kB / 0.9523 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005181/0.2748, allocations: 135.5 kB / 0.9524 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.018e-05/0.2749, allocations: 4 kB / 0.9524 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003946/0.2753, allocations: 370.3 kB / 0.9528 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.311e-05/0.2754, allocations: 44.73 kB / 0.9528 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.2756, allocations: 147.4 kB / 0.953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.2759, allocations: 143.3 kB / 0.9531 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.2759, allocations: 16 kB / 0.9531 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/0.2789, allocations: 0.5668 MB / 0.9537 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-05/0.279, allocations: 55.7 kB / 0.9537 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.2792, allocations: 139.2 kB / 0.9539 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.2802, allocations: 0.7065 MB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2802, allocations: 4 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2802, allocations: 4 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.2803, allocations: 0 / 0.9546 GB, free: 4.254 MB / 0.7325 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.001543/0.2818, allocations: 0.642 MB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2819, allocations: 16.02 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.595e-05/0.2819, allocations: 28.56 kB / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.2824, allocations: 374.3 kB / 0.9556 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.2825, allocations: 8.359 kB / 0.9556 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.2825, allocations: 4.375 kB / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.2827, allocations: 101.4 kB / 0.9557 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2827, allocations: 4 kB / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2827, allocations: 3.938 kB / 0.9557 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2827, allocations: 0 / 0.9557 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.2828, allocations: 67.86 kB / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.2832, allocations: 356 kB / 0.9561 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.2834, allocations: 110.3 kB / 0.9562 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.638e-05/0.2835, allocations: 63.45 kB / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.2835, allocations: 3.984 kB / 0.9563 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.2835, allocations: 42.44 kB / 0.9563 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2835, allocations: 7.938 kB / 0.9563 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003863/0.2839, allocations: 181.1 kB / 0.9565 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.284, allocations: 136.4 kB / 0.9566 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/0.2846, allocations: 0.4975 MB / 0.9571 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.2846, allocations: 30.2 kB / 0.9572 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.2847, allocations: 160.4 kB / 0.9573 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.2848, allocations: 15.75 kB / 0.9573 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.052e-05/0.2848, allocations: 45.69 kB / 0.9574 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.285, allocations: 346.8 kB / 0.9577 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.2851, allocations: 111.9 kB / 0.9578 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.2853, allocations: 192.5 kB / 0.958 GB, free: 452 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.2857, allocations: 267.2 kB / 0.9582 GB, free: 172 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2857, allocations: 0 / 0.9582 GB, free: 172 kB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004718/0.2861, allocations: 325.1 kB / 0.9585 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2862, allocations: 7.938 kB / 0.9586 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2862, allocations: 0 / 0.9586 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2862, allocations: 4 kB / 0.9586 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.2864, allocations: 23.91 kB / 0.9586 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.2864, allocations: 0 / 0.9586 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.2866, allocations: 31.77 kB / 0.9586 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.2866, allocations: 8 kB / 0.9586 GB, free: 15.77 MB / 0.7481 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.0001729/0.2868, allocations: 177.3 kB / 0.9588 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.2868, allocations: 39.47 kB / 0.9588 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.2872, allocations: 184 kB / 0.959 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2872, allocations: 0 / 0.959 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2872, allocations: 4 kB / 0.959 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.2872, allocations: 3.984 kB / 0.959 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.2875, allocations: 297.3 kB / 0.9593 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2875, allocations: 0 / 0.9593 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.2876, allocations: 15.94 kB / 0.9593 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.2876, allocations: 7.938 kB / 0.9593 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.2876, allocations: 4 kB / 0.9593 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2877, allocations: 3.984 kB / 0.9593 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.2877, allocations: 4.094 kB / 0.9593 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.2879, allocations: 183.3 kB / 0.9595 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.288, allocations: 136.6 kB / 0.9596 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.2881, allocations: 7.906 kB / 0.9596 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.2883, allocations: 19.91 kB / 0.9597 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.2883, allocations: 4 kB / 0.9597 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.2883, allocations: 4 kB / 0.9597 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004082/0.2887, allocations: 379 kB / 0.96 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2887, allocations: 3.938 kB / 0.96 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005021/0.2892, allocations: 100 kB / 0.9601 GB, free: 14.12 MB / 0.7481 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.004721/0.294, allocations: 2.811 MB / 0.9629 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.2943, allocations: 199.8 kB / 0.9631 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.2944, allocations: 0 / 0.9631 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.755e-05/0.2944, allocations: 43.91 kB / 0.9631 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.2948, allocations: 59.22 kB / 0.9632 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.2958, allocations: 0.6679 MB / 0.9638 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.2961, allocations: 0.818 MB / 0.9646 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.981e-05/0.2962, allocations: 23.42 kB / 0.9646 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of SimCode: time 1.493e-06/0.2962, allocations: 4 kB / 0.9646 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of Templates: time 0.009739/0.306, allocations: 6.741 MB / 0.9712 GB, free: 2.688 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile make -j1 -f Buildings_9_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_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp:28: ./OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o] Error 1