Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 102.6 kB / 15.71 MB, free: 448 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.00187/0.00187, allocations: 175.9 kB / 16.58 MB, free: 6.879 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 / 240.6 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7602/0.7602, allocations: 132.4 MB / 424.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 11.98 kB / 0.504 GB, free: 4.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4967, allocations: 81.56 MB / 0.5837 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007227/0.504, allocations: 5.378 MB / 0.5889 GB, free: 124 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1803/0.6843, allocations: 139.2 MB / 0.7249 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.6859, allocations: 31.81 kB / 0.7249 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007808/0.6867, allocations: 234.1 kB / 0.7251 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002/0.6887, allocations: 0.5272 MB / 0.7257 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.6913, allocations: 0.9905 MB / 0.7266 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002357/0.6937, allocations: 1.989 MB / 0.7286 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.6947, allocations: 0.7386 MB / 0.7293 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008588/0.6956, allocations: 0.5444 MB / 0.7298 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006571/0.6962, allocations: 0.5829 MB / 0.7304 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.6964, allocations: 44 kB / 0.7304 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.6978, allocations: 0.7294 MB / 0.7311 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002865/0.6981, allocations: 310.6 kB / 0.7314 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.6984, allocations: 308.8 kB / 0.7317 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.7003, allocations: 1.952 MB / 0.7336 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.7003, allocations: 3.984 kB / 0.7336 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7003, allocations: 0 / 0.7336 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.7003, allocations: 0 / 0.7336 GB, free: 6.598 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.002906/0.7032, allocations: 1.812 MB / 0.7354 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.7033, allocations: 12.03 kB / 0.7354 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.705, allocations: 385.2 kB / 0.7358 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.7066, allocations: 1.146 MB / 0.7369 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.673e-05/0.7067, allocations: 102.7 kB / 0.737 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.7068, allocations: 128 kB / 0.7371 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/0.7093, allocations: 1.52 MB / 0.7386 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.7093, allocations: 0 / 0.7386 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.7095, allocations: 67.95 kB / 0.7387 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.7095, allocations: 32 kB / 0.7387 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/0.7126, allocations: 2.047 MB / 0.7407 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00655/0.7192, allocations: 4.49 MB / 0.7451 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/0.7217, allocations: 1.435 MB / 0.7465 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009393/0.7226, allocations: 0.5399 MB / 0.747 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.7228, allocations: 61.16 kB / 0.7471 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001377/0.7241, allocations: 0.803 MB / 0.7479 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 2.785e-06/0.7242, allocations: 0 / 0.7479 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.005173/0.7293, allocations: 2.124 MB / 0.7499 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001807/0.7295, allocations: 355.3 kB / 0.7503 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.731, allocations: 1.063 MB / 0.7513 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.7311, allocations: 53.7 kB / 0.7514 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005302/0.7317, allocations: 0.6067 MB / 0.752 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.7321, allocations: 453.4 kB / 0.7524 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.182e-05/0.7321, allocations: 32 kB / 0.7524 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.7323, allocations: 353.9 kB / 0.7528 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009074/0.7332, allocations: 482.3 kB / 0.7532 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.7343, allocations: 0.6534 MB / 0.7539 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.7353, allocations: 0.5491 MB / 0.7544 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.7353, allocations: 0 / 0.7544 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00325/0.7386, allocations: 1.532 MB / 0.7559 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.7386, allocations: 8 kB / 0.7559 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.7386, allocations: 0 / 0.7559 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009396/0.7396, allocations: 169.6 kB / 0.7561 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.7407, allocations: 299.6 kB / 0.7564 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003506/0.7442, allocations: 3.066 MB / 0.7593 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.7455, allocations: 170.8 kB / 0.7595 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.7456, allocations: 67.95 kB / 0.7596 GB, free: 11.21 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile,$whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 159 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007972/0.7464, allocations: 389.3 kB / 0.7599 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.7467, allocations: 150.2 kB / 0.7601 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004382/0.751, allocations: 2.007 MB / 0.762 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.7511, allocations: 16 kB / 0.7621 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.7511, allocations: 0 / 0.7621 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.7511, allocations: 11.97 kB / 0.7621 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.753, allocations: 1.463 MB / 0.7635 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.753, allocations: 0 / 0.7635 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.7541, allocations: 291.6 kB / 0.7638 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008695/0.7549, allocations: 165.5 kB / 0.7639 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.649e-05/0.755, allocations: 43.97 kB / 0.764 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003446/0.7585, allocations: 3.104 MB / 0.767 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7585, allocations: 4.125 kB / 0.767 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00344/0.762, allocations: 1.642 MB / 0.7686 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007485/0.7627, allocations: 454.6 kB / 0.7691 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.7629, allocations: 28 kB / 0.7691 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000916/0.7638, allocations: 137.8 kB / 0.7692 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/0.7641, allocations: 114 kB / 0.7693 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.7642, allocations: 67.97 kB / 0.7694 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001025/0.7652, allocations: 0.7299 MB / 0.7701 GB, free: 32 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7652, allocations: 0 / 0.7701 GB, free: 32 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001366/0.7666, allocations: 486.9 kB / 0.7706 GB, free: 15.55 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001433/0.768, allocations: 0.6222 MB / 0.7712 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002959/0.771, allocations: 1.518 MB / 0.7727 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.771, allocations: 0 / 0.7727 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.7726, allocations: 0.9498 MB / 0.7736 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.7745, allocations: 0.4917 MB / 0.7741 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006812/0.7813, allocations: 3.767 MB / 0.7777 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008589/0.7822, allocations: 1.29 MB / 0.779 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005655/0.7828, allocations: 203.3 kB / 0.7792 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of SimCode: time 1.232e-06/0.7828, allocations: 3.938 kB / 0.7792 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of Templates: time 0.06452/0.8473, allocations: 36.8 MB / 0.8151 GB, free: 2.117 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3CalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3CalcHelperMain.o] Error 1