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.0008693/0.0008692, allocations: 97.78 kB / 16.02 MB, free: 76 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.001317/0.001316, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.362/1.362, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7427/0.7427, allocations: 132.3 MB / 424.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003248, allocations: 8 kB / 0.5046 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5021/0.5024, allocations: 81.57 MB / 0.5843 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006318/0.5088, allocations: 5.716 MB / 0.5899 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1925/0.7013, allocations: 149.2 MB / 0.7356 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.7033, allocations: 31.81 kB / 0.7356 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009691/0.7043, allocations: 250.1 kB / 0.7359 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.7067, allocations: 0.5457 MB / 0.7364 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002852/0.7095, allocations: 1.151 MB / 0.7375 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002537/0.7121, allocations: 2.149 MB / 0.7396 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.7134, allocations: 1.033 MB / 0.7406 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008336/0.7143, allocations: 0.5481 MB / 0.7412 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007065/0.715, allocations: 0.6176 MB / 0.7418 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.7151, allocations: 44 kB / 0.7418 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.7165, allocations: 0.7723 MB / 0.7426 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003145/0.7168, allocations: 318.5 kB / 0.7429 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006353/0.7175, allocations: 0.7352 MB / 0.7436 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.7196, allocations: 1.945 MB / 0.7455 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7196, allocations: 0 / 0.7455 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7196, allocations: 0 / 0.7455 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.265e-05/0.7197, allocations: 0 / 0.7455 GB, free: 10.75 MB / 0.5762 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.003119/0.7228, allocations: 1.8 MB / 0.7473 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.7228, allocations: 12.03 kB / 0.7473 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.7246, allocations: 382.2 kB / 0.7476 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.7263, allocations: 1.192 MB / 0.7488 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.014e-05/0.7264, allocations: 102.6 kB / 0.7489 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.7266, allocations: 131.9 kB / 0.749 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.7292, allocations: 1.528 MB / 0.7505 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.7293, allocations: 0 / 0.7505 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.7294, allocations: 64 kB / 0.7506 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.7294, allocations: 32 kB / 0.7506 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00327/0.7327, allocations: 2.063 MB / 0.7526 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007083/0.7398, allocations: 4.497 MB / 0.757 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/0.7426, allocations: 1.446 MB / 0.7584 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.7437, allocations: 0.5476 MB / 0.759 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.7438, allocations: 53.11 kB / 0.759 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001458/0.7453, allocations: 0.803 MB / 0.7598 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=136): time 5.5e-06/0.7453, allocations: 0 / 0.7598 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=136): time 0.00575/0.7511, allocations: 2.131 MB / 0.7619 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/0.7513, allocations: 363.2 kB / 0.7622 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.7528, allocations: 1.071 MB / 0.7633 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.753, allocations: 53.7 kB / 0.7633 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005317/0.7535, allocations: 0.6144 MB / 0.7639 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003761/0.7539, allocations: 453.4 kB / 0.7644 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.7541, allocations: 109.7 kB / 0.7645 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.7542, allocations: 357.9 kB / 0.7648 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009974/0.7552, allocations: 490.3 kB / 0.7653 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.7564, allocations: 0.6613 MB / 0.7659 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/0.7585, allocations: 1.135 MB / 0.767 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.7586, allocations: 0 / 0.767 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003647/0.7622, allocations: 1.543 MB / 0.7685 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.7623, allocations: 4 kB / 0.7685 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.7623, allocations: 4 kB / 0.7685 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.7633, allocations: 165.7 kB / 0.7687 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.7645, allocations: 295.6 kB / 0.769 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003765/0.7683, allocations: 3.075 MB / 0.772 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.7697, allocations: 174.8 kB / 0.7721 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.7699, allocations: 71.94 kB / 0.7722 GB, free: 14.51 MB / 0.6075 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 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000757/0.7706, allocations: 391.6 kB / 0.7726 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.7709, allocations: 150.2 kB / 0.7727 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00451/0.7754, allocations: 1.987 MB / 0.7747 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.7754, allocations: 16 kB / 0.7747 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7754, allocations: 0 / 0.7747 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.7754, allocations: 11.95 kB / 0.7747 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.7772, allocations: 1.471 MB / 0.7761 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.7773, allocations: 4 kB / 0.7761 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.7783, allocations: 279.6 kB / 0.7764 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.7793, allocations: 169.5 kB / 0.7766 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.703e-05/0.7794, allocations: 43.97 kB / 0.7766 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003602/0.783, allocations: 3.119 MB / 0.7797 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7831, allocations: 3.938 kB / 0.7797 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003692/0.7868, allocations: 1.642 MB / 0.7813 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006975/0.7875, allocations: 450.5 kB / 0.7817 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.7877, allocations: 32 kB / 0.7817 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.7887, allocations: 135.8 kB / 0.7819 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.789, allocations: 125.8 kB / 0.782 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.7891, allocations: 59.97 kB / 0.782 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001031/0.7901, allocations: 0.7455 MB / 0.7828 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7901, allocations: 0 / 0.7828 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001182/0.7913, allocations: 471 kB / 0.7832 GB, free: 2.852 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/0.7927, allocations: 0.6286 MB / 0.7838 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00308/0.7958, allocations: 1.53 MB / 0.7853 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.7958, allocations: 8 kB / 0.7853 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.7975, allocations: 0.9498 MB / 0.7862 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.7998, allocations: 0.4984 MB / 0.7867 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007876/0.8077, allocations: 3.92 MB / 0.7906 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009874/0.8087, allocations: 1.278 MB / 0.7918 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006028/0.8093, allocations: 207.3 kB / 0.792 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of SimCode: time 8.31e-07/0.8093, allocations: 0 / 0.792 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of Templates: time 0.3844/1.194, allocations: 36.72 MB / 0.8279 GB, free: 213.6 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++ -std=c++14 NOTFOUND -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/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/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