Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005057/0.005057, allocations: 99.77 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 191.6 kB / 16.79 MB, free: 5.809 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.306/1.306, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.721/0.721, allocations: 132.2 MB / 422.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 59 kB / 0.5017 GB, free: 9.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1835, allocations: 80.21 MB / 0.58 GB, free: 9.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5218/0.7054, allocations: 173.5 MB / 0.7495 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01629/0.7217, allocations: 12.68 MB / 0.7619 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.7234, allocations: 27.81 kB / 0.7619 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.7247, allocations: 361.8 kB / 0.7622 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00294/0.7277, allocations: 0.8272 MB / 0.763 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004473/0.7322, allocations: 1.63 MB / 0.7646 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003247/0.7355, allocations: 2.63 MB / 0.7672 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/0.7376, allocations: 1.439 MB / 0.7686 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004619/0.7423, allocations: 1.213 MB / 0.7698 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.7434, allocations: 0.8011 MB / 0.7706 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.7436, allocations: 84 kB / 0.7707 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003029/0.7466, allocations: 1.458 MB / 0.7721 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003802/0.747, allocations: 390.6 kB / 0.7724 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008441/0.7479, allocations: 0.7303 MB / 0.7732 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.7505, allocations: 1.937 MB / 0.7751 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7505, allocations: 0 / 0.7751 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7505, allocations: 4 kB / 0.7751 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.7506, allocations: 0 / 0.7751 GB, free: 11.71 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003202/0.7538, allocations: 1.898 MB / 0.7769 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.7538, allocations: 8.031 kB / 0.7769 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002602/0.7564, allocations: 397.7 kB / 0.7773 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.7578, allocations: 0.9565 MB / 0.7782 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.228e-05/0.7579, allocations: 106.6 kB / 0.7783 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.7581, allocations: 124 kB / 0.7784 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.7605, allocations: 1.456 MB / 0.7799 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.7606, allocations: 4 kB / 0.7799 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.7607, allocations: 56 kB / 0.7799 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.7607, allocations: 32 kB / 0.78 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.7632, allocations: 1.528 MB / 0.7815 GB, free: 4.969 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006639/0.7699, allocations: 4.908 MB / 0.7862 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.7722, allocations: 1.431 MB / 0.7876 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007611/0.773, allocations: 452.8 kB / 0.7881 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007444/0.7738, allocations: 429.2 kB / 0.7885 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/0.7749, allocations: 0.6178 MB / 0.7891 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 3.276e-06/0.7749, allocations: 0 / 0.7891 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.003887/0.7788, allocations: 1.532 MB / 0.7906 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.7789, allocations: 192.9 kB / 0.7908 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.78, allocations: 0.8504 MB / 0.7916 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-05/0.7801, allocations: 49.7 kB / 0.7916 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000451/0.7806, allocations: 0.5622 MB / 0.7922 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.7809, allocations: 343.1 kB / 0.7925 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/0.7812, allocations: 198.5 kB / 0.7927 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7813, allocations: 349.9 kB / 0.793 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007084/0.782, allocations: 361.8 kB / 0.7934 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008486/0.7829, allocations: 0.5286 MB / 0.7939 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.7844, allocations: 0.9097 MB / 0.7948 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7844, allocations: 0 / 0.7948 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002494/0.7869, allocations: 1.145 MB / 0.7959 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.787, allocations: 12.09 kB / 0.7959 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.787, allocations: 4 kB / 0.7959 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/0.7876, allocations: 84.72 kB / 0.796 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.7886, allocations: 243.7 kB / 0.7962 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.7907, allocations: 1.534 MB / 0.7977 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.7918, allocations: 137.6 kB / 0.7979 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.981e-05/0.7919, allocations: 51.97 kB / 0.7979 GB, free: 3.316 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006788/0.7926, allocations: 335 kB / 0.7982 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.7928, allocations: 122.5 kB / 0.7984 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00289/0.7957, allocations: 1.325 MB / 0.7996 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.7957, allocations: 12 kB / 0.7997 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.7958, allocations: 0 / 0.7997 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.7958, allocations: 3.984 kB / 0.7997 GB, free: 1.508 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004498/0.8003, allocations: 2.694 MB / 0.8023 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.8003, allocations: 0 / 0.8023 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009378/0.8012, allocations: 215.7 kB / 0.8025 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004967/0.8017, allocations: 84.77 kB / 0.8026 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.125e-05/0.8018, allocations: 27.98 kB / 0.8026 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.8037, allocations: 1.563 MB / 0.8041 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.8037, allocations: 0 / 0.8041 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.8063, allocations: 1.23 MB / 0.8053 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005432/0.8069, allocations: 335.3 kB / 0.8057 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.807, allocations: 23.91 kB / 0.8057 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009097/0.8079, allocations: 86.73 kB / 0.8058 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.8081, allocations: 72.89 kB / 0.8058 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.8082, allocations: 47.97 kB / 0.8059 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009198/0.8092, allocations: 0.5863 MB / 0.8064 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.8092, allocations: 0 / 0.8064 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001454/0.8106, allocations: 458.8 kB / 0.8069 GB, free: 9.836 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001841/0.8125, allocations: 0.7086 MB / 0.8076 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002158/0.8147, allocations: 1.07 MB / 0.8086 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.8147, allocations: 8 kB / 0.8086 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.8158, allocations: 0.6251 MB / 0.8092 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.8178, allocations: 478.5 kB / 0.8097 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/0.8229, allocations: 2.976 MB / 0.8126 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/0.8236, allocations: 1.175 MB / 0.8138 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/0.8241, allocations: 147.3 kB / 0.8139 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/0.8241, allocations: 0 / 0.8139 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of Templates: time 0.03429/0.8584, allocations: 26.81 MB / 0.8401 GB, free: 8.152 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.o] Error 1