Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000831/0.000831, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8862/0.8862, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.644/1.644, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.342e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002222/0.002255, allocations: 1.582 MB / 0.9532 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.003373, allocations: 0.865 MB / 0.9541 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.541e-05/0.003458, allocations: 4 kB / 0.9541 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.003694, allocations: 59.61 kB / 0.9541 GB, free: 496 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.004141, allocations: 147.2 kB / 0.9543 GB, free: 348 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.242e-05/0.004173, allocations: 15.86 kB / 0.9543 GB, free: 332 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.00452, allocations: 378.1 kB / 0.9547 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 5.735e-05/0.004577, allocations: 12.94 kB / 0.9547 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.004858, allocations: 195.5 kB / 0.9549 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.005008, allocations: 123.7 kB / 0.955 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.005034, allocations: 27.88 kB / 0.955 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.005463, allocations: 484.8 kB / 0.9555 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.689e-05/0.00553, allocations: 47.77 kB / 0.9555 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.041e-05/0.005611, allocations: 87.72 kB / 0.9556 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009001/0.006511, allocations: 0.9046 MB / 0.9565 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.006515, allocations: 7.938 kB / 0.9565 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.733e-06/0.006517, allocations: 0 / 0.9565 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.006524, allocations: 0 / 0.9565 GB, free: 14.06 MB / 0.9167 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.001151/0.007674, allocations: 0.586 MB / 0.9571 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.007719, allocations: 8.031 kB / 0.9571 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/0.007786, allocations: 36.73 kB / 0.9571 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.008164, allocations: 320 kB / 0.9574 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.008178, allocations: 4.375 kB / 0.9574 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.008197, allocations: 16.36 kB / 0.9574 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.008346, allocations: 89.64 kB / 0.9575 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.008355, allocations: 192 / 0.9575 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.008367, allocations: 4.375 kB / 0.9575 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.008374, allocations: 3.938 kB / 0.9575 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-05/0.00845, allocations: 71.86 kB / 0.9576 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.008703, allocations: 259.8 kB / 0.9578 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.918e-05/0.008803, allocations: 110.3 kB / 0.9579 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.945e-05/0.008862, allocations: 55.47 kB / 0.958 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.00888, allocations: 4 kB / 0.958 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.008906, allocations: 46.55 kB / 0.958 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.008908, allocations: 3.938 kB / 0.958 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0002935/0.009202, allocations: 185.2 kB / 0.9582 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.00928, allocations: 132.5 kB / 0.9583 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.009704, allocations: 0.5053 MB / 0.9588 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.009719, allocations: 29.64 kB / 0.9589 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.573e-05/0.009814, allocations: 160.4 kB / 0.959 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.009839, allocations: 12.41 kB / 0.959 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.009895, allocations: 45.69 kB / 0.9591 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.01, allocations: 346.8 kB / 0.9594 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.0101, allocations: 99.92 kB / 0.9595 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.01027, allocations: 271.6 kB / 0.9598 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.0105, allocations: 243.2 kB / 0.96 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.0105, allocations: 0 / 0.96 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002755/0.01078, allocations: 297.2 kB / 0.9603 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.0108, allocations: 8 kB / 0.9603 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.01081, allocations: 0 / 0.9603 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.01082, allocations: 4 kB / 0.9603 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.01093, allocations: 19.92 kB / 0.9603 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.01094, allocations: 7.938 kB / 0.9603 GB, free: 9.824 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.358e-05/0.01103, allocations: 19.88 kB / 0.9603 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.01104, allocations: 11.98 kB / 0.9603 GB, free: 9.793 MB / 0.9167 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.0001273/0.01117, allocations: 177.7 kB / 0.9605 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.01121, allocations: 31.8 kB / 0.9605 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.01146, allocations: 187.6 kB / 0.9607 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.01146, allocations: 240 / 0.9607 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.01147, allocations: 7.938 kB / 0.9607 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01147, allocations: 4.125 kB / 0.9607 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.01164, allocations: 221.1 kB / 0.9609 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.01164, allocations: 3.938 kB / 0.9609 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.0117, allocations: 19.98 kB / 0.961 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.0117, allocations: 0 / 0.961 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.01171, allocations: 4 kB / 0.961 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01172, allocations: 0 / 0.961 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01172, allocations: 0 / 0.961 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.01189, allocations: 195.3 kB / 0.9612 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.01198, allocations: 59.72 kB / 0.9612 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.01201, allocations: 11.95 kB / 0.9612 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/0.01207, allocations: 7.984 kB / 0.9612 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.01209, allocations: 7.938 kB / 0.9612 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.0121, allocations: 11.98 kB / 0.9613 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002881/0.01239, allocations: 375.1 kB / 0.9616 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01239, allocations: 0 / 0.9616 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003233/0.01272, allocations: 103.9 kB / 0.9617 GB, free: 8.324 MB / 0.9167 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.002935/0.01565, allocations: 2.819 MB / 0.9645 GB, free: 5.492 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002569/0.01591, allocations: 167.8 kB / 0.9646 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01591, allocations: 0 / 0.9646 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.47e-05/0.01595, allocations: 47.91 kB / 0.9647 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.01623, allocations: 57.88 kB / 0.9647 GB, free: 5.227 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007394/0.01697, allocations: 0.5969 MB / 0.9653 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.0171, allocations: 203.4 kB / 0.9655 GB, free: 4.363 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.01715, allocations: 24.48 kB / 0.9655 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of SimCode: time 3.81e-07/0.01715, allocations: 0 / 0.9655 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of Templates: time 0.006705/0.02386, allocations: 6.808 MB / 0.9722 GB, free: 13.54 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o OMCppBuildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp In file included from OMCppBuildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.cpp:28: ./OMCppBuildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:174:283: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsFunctions.cpp:174:283: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactorsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.573674536310136] Failed to read output from testmodel.py, exit status != 0: 0.030892341397702694 0.038949423000000004 0.030798902000000003 Calling exit ...