Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.CorrectedConvection,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.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,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.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 92.7 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.001546/0.001546, allocations: 178.1 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.451/1.451, allocations: 223.3 MB / 241 MB, free: 5.273 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.486/2.486, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8091/0.8095, allocations: 142.4 MB / 0.9557 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001747/0.8113, allocations: 1.306 MB / 0.957 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.8128, allocations: 0.8914 MB / 0.9578 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.06e-05/0.8129, allocations: 1.125 kB / 0.9578 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.8132, allocations: 53.33 kB / 0.9579 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004686/0.8137, allocations: 136 kB / 0.958 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.465e-05/0.8137, allocations: 6.062 kB / 0.958 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.8141, allocations: 364.4 kB / 0.9584 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.8143, allocations: 44.67 kB / 0.9584 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.8145, allocations: 123.6 kB / 0.9585 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.8147, allocations: 134.7 kB / 0.9587 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.8148, allocations: 11.12 kB / 0.9587 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.8181, allocations: 0.658 MB / 0.9593 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.8182, allocations: 47.3 kB / 0.9594 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.8184, allocations: 153.5 kB / 0.9595 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009916/0.8194, allocations: 0.7098 MB / 0.9602 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.8194, allocations: 0 / 0.9602 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.826e-06/0.8194, allocations: 0 / 0.9602 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.8195, allocations: 0 / 0.9602 GB, free: 4.551 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.001454/0.8209, allocations: 0.5955 MB / 0.9608 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.821, allocations: 16.97 kB / 0.9608 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.958e-05/0.8211, allocations: 31.44 kB / 0.9608 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.8216, allocations: 371.7 kB / 0.9612 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.8216, allocations: 3.688 kB / 0.9612 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.8216, allocations: 8.344 kB / 0.9612 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.8218, allocations: 105.7 kB / 0.9613 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.8218, allocations: 1.094 kB / 0.9613 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.8218, allocations: 4 kB / 0.9613 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.8218, allocations: 1.188 kB / 0.9613 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.822, allocations: 72.27 kB / 0.9614 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.8223, allocations: 348 kB / 0.9617 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.8224, allocations: 107.5 kB / 0.9618 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.8225, allocations: 72.73 kB / 0.9619 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.8226, allocations: 1.156 kB / 0.9619 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.8226, allocations: 43.53 kB / 0.9619 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.8226, allocations: 1.156 kB / 0.9619 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003588/0.823, allocations: 177.2 kB / 0.9621 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.823, allocations: 137.7 kB / 0.9622 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006236/0.8236, allocations: 0.5027 MB / 0.9627 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.8237, allocations: 31.14 kB / 0.9627 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.8238, allocations: 156.6 kB / 0.9629 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.8238, allocations: 14.7 kB / 0.9629 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.8239, allocations: 30.11 kB / 0.9629 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.824, allocations: 339.8 kB / 0.9633 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.8242, allocations: 118.1 kB / 0.9634 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.8244, allocations: 182.8 kB / 0.9635 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.8247, allocations: 266.8 kB / 0.9638 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8248, allocations: 0 / 0.9638 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004393/0.8252, allocations: 331.7 kB / 0.9641 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.8252, allocations: 9.281 kB / 0.9641 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.8252, allocations: 3.109 kB / 0.9641 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.8253, allocations: 3.984 kB / 0.9641 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.8254, allocations: 16.36 kB / 0.9641 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.8254, allocations: 5.078 kB / 0.9641 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.8256, allocations: 27.48 kB / 0.9642 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.8257, allocations: 5.562 kB / 0.9642 GB, free: 1.27 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.0001603/0.8258, allocations: 184.4 kB / 0.9644 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.8259, allocations: 36.72 kB / 0.9644 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.8262, allocations: 173.6 kB / 0.9646 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.8262, allocations: 6.531 kB / 0.9646 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.8262, allocations: 5.5 kB / 0.9646 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.8262, allocations: 0 / 0.9646 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.8265, allocations: 300.7 kB / 0.9649 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.8265, allocations: 1 kB / 0.9649 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.279e-05/0.8266, allocations: 19.45 kB / 0.9649 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.8266, allocations: 6.469 kB / 0.9649 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.8266, allocations: 5.469 kB / 0.9649 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8266, allocations: 1.062 kB / 0.9649 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.8267, allocations: 1.469 kB / 0.9649 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.8269, allocations: 189.6 kB / 0.9651 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.827, allocations: 138.3 kB / 0.9652 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.8271, allocations: 2.656 kB / 0.9652 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.8272, allocations: 9.359 kB / 0.9652 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.8272, allocations: 11.11 kB / 0.9652 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.8273, allocations: 6.875 kB / 0.9652 GB, free: 376 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004296/0.8277, allocations: 378.3 kB / 0.9656 GB, free: 152 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8277, allocations: 0 / 0.9656 GB, free: 152 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000872/0.8286, allocations: 100 kB / 0.9657 GB, free: 144 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.006045/0.8346, allocations: 2.805 MB / 0.9684 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005415/0.8352, allocations: 188 kB / 0.9686 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8352, allocations: 5.031 kB / 0.9686 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.956e-05/0.8353, allocations: 46.05 kB / 0.9687 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/0.836, allocations: 59.58 kB / 0.9687 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.8372, allocations: 0.6963 MB / 0.9694 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.8377, allocations: 0.8189 MB / 0.9702 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.8378, allocations: 19.88 kB / 0.9702 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of SimCode: time 8.51e-07/0.8378, allocations: 0 / 0.9702 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.01295/0.8507, allocations: 6.702 MB / 0.9768 GB, free: 9.262 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.CorrectedConvectionCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.cpp:28: ./OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionFunctions.cpp:238:281: fatal error: bracket nesting level exceeded maximum of 256 ./OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionFunctions.cpp:238:281: note: use -fbracket-depth=N to increase maximum nesting level 1 error generated. make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvectionCalcHelperMain.o] Error 1