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.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.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.001064/0.001064, allocations: 92.16 kB / 16.02 MB, free: 80 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.001419/0.001419, allocations: 175 kB / 16.92 MB, free: 6.652 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.463/1.463, allocations: 223.3 MB / 241 MB, free: 5.332 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.587/2.587, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003564, allocations: 11.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7425/0.7429, allocations: 142.4 MB / 0.9557 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001611/0.7445, allocations: 1.306 MB / 0.957 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.7458, allocations: 0.8868 MB / 0.9578 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.7459, allocations: 1.75 kB / 0.9578 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.7461, allocations: 55.95 kB / 0.9579 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.7466, allocations: 137.1 kB / 0.958 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.218e-05/0.7466, allocations: 14.14 kB / 0.958 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.7469, allocations: 351.2 kB / 0.9584 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.668e-05/0.747, allocations: 45.61 kB / 0.9584 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.7472, allocations: 126.4 kB / 0.9585 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.7474, allocations: 135.2 kB / 0.9587 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.7475, allocations: 15.22 kB / 0.9587 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.7508, allocations: 0.6583 MB / 0.9593 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.746e-05/0.7509, allocations: 47.92 kB / 0.9594 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.7511, allocations: 159.2 kB / 0.9595 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009424/0.752, allocations: 0.6954 MB / 0.9602 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.752, allocations: 0 / 0.9602 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.694e-06/0.752, allocations: 1.031 kB / 0.9602 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.7521, allocations: 0 / 0.9602 GB, free: 4.977 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.001307/0.7534, allocations: 0.6029 MB / 0.9608 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.7534, allocations: 13.12 kB / 0.9608 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.823e-05/0.7535, allocations: 31.5 kB / 0.9608 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.7539, allocations: 371.3 kB / 0.9612 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.754, allocations: 7.938 kB / 0.9612 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.754, allocations: 3.656 kB / 0.9612 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.7542, allocations: 102.8 kB / 0.9613 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.7542, allocations: 0 / 0.9613 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.7542, allocations: 17.12 kB / 0.9613 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.7542, allocations: 1.406 kB / 0.9613 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.698e-05/0.7543, allocations: 60.38 kB / 0.9614 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.7546, allocations: 355.9 kB / 0.9617 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.719e-05/0.7547, allocations: 107.4 kB / 0.9618 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.7548, allocations: 63.84 kB / 0.9619 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.7548, allocations: 9.266 kB / 0.9619 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.7549, allocations: 47.73 kB / 0.9619 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.7549, allocations: 0 / 0.9619 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003317/0.7552, allocations: 181.5 kB / 0.9621 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.7552, allocations: 135.2 kB / 0.9622 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005504/0.7558, allocations: 0.5064 MB / 0.9627 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.7558, allocations: 32.23 kB / 0.9628 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.7559, allocations: 155.2 kB / 0.9629 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.756, allocations: 10.28 kB / 0.9629 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.756, allocations: 26.89 kB / 0.9629 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.7561, allocations: 343.8 kB / 0.9633 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.7562, allocations: 118 kB / 0.9634 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.7564, allocations: 186 kB / 0.9636 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.7568, allocations: 267.3 kB / 0.9638 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7568, allocations: 0 / 0.9638 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003933/0.7572, allocations: 321.5 kB / 0.9641 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.7572, allocations: 9 kB / 0.9641 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.7572, allocations: 1.25 kB / 0.9641 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.7572, allocations: 1.344 kB / 0.9641 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.7574, allocations: 29.45 kB / 0.9642 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.7574, allocations: 1.188 kB / 0.9642 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.7576, allocations: 24.77 kB / 0.9642 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.7576, allocations: 7.797 kB / 0.9642 GB, free: 1.684 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.0001639/0.7577, allocations: 180.5 kB / 0.9644 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.7578, allocations: 33.47 kB / 0.9644 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.7582, allocations: 184.6 kB / 0.9646 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7582, allocations: 6.562 kB / 0.9646 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7582, allocations: 0.9062 kB / 0.9646 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7582, allocations: 1 kB / 0.9646 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.7584, allocations: 292.6 kB / 0.9649 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7584, allocations: 1.031 kB / 0.9649 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.614e-05/0.7585, allocations: 24.36 kB / 0.9649 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.7585, allocations: 5.094 kB / 0.9649 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.7586, allocations: 2.406 kB / 0.9649 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7586, allocations: 5.094 kB / 0.9649 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.7586, allocations: 5.109 kB / 0.9649 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.7588, allocations: 185.3 kB / 0.9651 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.7589, allocations: 139.3 kB / 0.9652 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.759, allocations: 5.906 kB / 0.9652 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.7591, allocations: 9.203 kB / 0.9652 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.7591, allocations: 11.7 kB / 0.9652 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.7592, allocations: 3.344 kB / 0.9652 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004096/0.7596, allocations: 381.1 kB / 0.9656 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7596, allocations: 1.156 kB / 0.9656 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00086/0.7604, allocations: 100 kB / 0.9657 GB, free: 0.5547 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.005344/0.7658, allocations: 2.802 MB / 0.9684 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005001/0.7663, allocations: 197.1 kB / 0.9686 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7663, allocations: 0 / 0.9686 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.086e-05/0.7664, allocations: 49.78 kB / 0.9687 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.767, allocations: 53.34 kB / 0.9687 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.7681, allocations: 0.7039 MB / 0.9694 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.7685, allocations: 0.8128 MB / 0.9702 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.436e-05/0.7686, allocations: 19.22 kB / 0.9702 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.7686, allocations: 0 / 0.9702 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of Templates: time 0.01108/0.7797, allocations: 6.686 MB / 0.9767 GB, free: 9.398 MB / 0.7325 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