Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008991/0.0008991, allocations: 99.12 kB / 15.71 MB, free: 440 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.000972/0.0009726, allocations: 174 kB / 16.58 MB, free: 6.418 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.51/1.51, allocations: 223.2 MB / 240.6 MB, free: 5.352 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.525/2.525, allocations: 390.4 MB / 0.6662 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.000338, allocations: 12 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8655/0.8659, allocations: 142.3 MB / 0.9544 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001318/0.8673, allocations: 0.9614 MB / 0.9553 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.8683, allocations: 0.6778 MB / 0.956 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.8683, allocations: 0 / 0.956 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.8683, allocations: 1.094 kB / 0.956 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.8685, allocations: 10.59 kB / 0.956 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.204e-05/0.8686, allocations: 8.031 kB / 0.956 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.8687, allocations: 15.98 kB / 0.956 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.347e-05/0.8687, allocations: 1.062 kB / 0.956 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.246e-05/0.8688, allocations: 6.578 kB / 0.9561 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.8689, allocations: 4.562 kB / 0.9561 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.8689, allocations: 0 / 0.9561 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.917e-05/0.869, allocations: 5.969 kB / 0.9561 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.869, allocations: 6.266 kB / 0.9561 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.8691, allocations: 26.86 kB / 0.9561 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.098e-05/0.8691, allocations: 11.31 kB / 0.9561 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8692, allocations: 0 / 0.9561 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8692, allocations: 7.938 kB / 0.9561 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.8692, allocations: 1.156 kB / 0.9561 GB, free: 6.715 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002333/0.8694, allocations: 309.6 kB / 0.9564 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.8695, allocations: 9.219 kB / 0.9564 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.8695, allocations: 80.36 kB / 0.9565 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.8696, allocations: 239.3 kB / 0.9567 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.8697, allocations: 151.4 kB / 0.9569 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.8697, allocations: 159.8 kB / 0.957 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.031e-05/0.8698, allocations: 105.9 kB / 0.9571 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.8698, allocations: 75.28 kB / 0.9572 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.8698, allocations: 154.5 kB / 0.9573 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.8698, allocations: 151.5 kB / 0.9575 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/0.8699, allocations: 167.3 kB / 0.9576 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.8701, allocations: 443.1 kB / 0.9581 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.777e-05/0.8701, allocations: 166.5 kB / 0.9582 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.8701, allocations: 81.33 kB / 0.9583 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.8702, allocations: 79.28 kB / 0.9584 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.8702, allocations: 111 kB / 0.9585 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.8702, allocations: 0 / 0.9585 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.925e-05/0.8703, allocations: 30.78 kB / 0.9585 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.8703, allocations: 131.7 kB / 0.9586 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.8704, allocations: 93.52 kB / 0.9587 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.852e-06/0.8704, allocations: 25.7 kB / 0.9588 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.97e-05/0.8704, allocations: 89.38 kB / 0.9588 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.8704, allocations: 0 / 0.9588 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.8705, allocations: 0 / 0.9588 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.799e-05/0.8705, allocations: 316.1 kB / 0.9591 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-06/0.8705, allocations: 0 / 0.9591 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.511e-05/0.8705, allocations: 5.203 kB / 0.9591 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.024e-05/0.8706, allocations: 76.34 kB / 0.9592 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.8706, allocations: 83.22 kB / 0.9593 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.129e-05/0.8706, allocations: 33.36 kB / 0.9593 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.8707, allocations: 86.47 kB / 0.9594 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.8707, allocations: 75.28 kB / 0.9595 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/0.8707, allocations: 155.8 kB / 0.9596 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.225e-05/0.8707, allocations: 76.69 kB / 0.9597 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-05/0.8708, allocations: 155.9 kB / 0.9599 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.8709, allocations: 84.7 kB / 0.9599 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.8709, allocations: 75.28 kB / 0.96 GB, free: 2.539 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/0.871, allocations: 269.1 kB / 0.9603 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.871, allocations: 105.9 kB / 0.9604 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.8711, allocations: 109.2 kB / 0.9605 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.124e-05/0.8711, allocations: 189.5 kB / 0.9606 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.087e-05/0.8712, allocations: 180.5 kB / 0.9608 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.68e-05/0.8712, allocations: 181.5 kB / 0.961 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.8713, allocations: 411.4 kB / 0.9614 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.8714, allocations: 102 kB / 0.9615 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.802e-05/0.8714, allocations: 109.9 kB / 0.9616 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.802e-05/0.8714, allocations: 181.4 kB / 0.9618 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.8714, allocations: 181.6 kB / 0.9619 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-05/0.8715, allocations: 180.2 kB / 0.9621 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.679e-05/0.8715, allocations: 181.3 kB / 0.9623 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.8717, allocations: 311.2 kB / 0.9626 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.242e-05/0.8717, allocations: 183.1 kB / 0.9628 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.8718, allocations: 190.2 kB / 0.9629 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.8719, allocations: 101.9 kB / 0.963 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/0.872, allocations: 181.2 kB / 0.9632 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.872, allocations: 105.9 kB / 0.9633 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.989e-05/0.8721, allocations: 89.52 kB / 0.9634 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.3e-07/0.8721, allocations: 1.031 kB / 0.9634 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002666/0.8724, allocations: 2.219 kB / 0.9634 GB, free: 14.88 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002597/0.8726, allocations: 188 kB / 0.9636 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.793e-05/0.8727, allocations: 5.312 kB / 0.9636 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8727, allocations: 0 / 0.9636 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.8727, allocations: 96 / 0.9636 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.8731, allocations: 0.5253 MB / 0.9641 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.8734, allocations: 192.3 kB / 0.9643 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.8736, allocations: 0.6706 MB / 0.9649 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.8737, allocations: 8.5 kB / 0.9649 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.8737, allocations: 4 kB / 0.9649 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.001992/0.8757, allocations: 449.5 kB / 0.9654 GB, free: 13.04 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.o] Error 1