Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008642/0.0008644, allocations: 98.66 kB / 15.71 MB, free: 452 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.0009613/0.0009613, allocations: 177.8 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.561/1.561, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.066/1.066, allocations: 135.3 MB / 427 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 9.219 kB / 0.5076 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2006, allocations: 82.31 MB / 0.588 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5886/0.7893, allocations: 159.7 MB / 0.744 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01699/0.8063, allocations: 11.72 MB / 0.7554 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.808, allocations: 27.66 kB / 0.7554 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.8093, allocations: 315 kB / 0.7557 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003057/0.8123, allocations: 0.7722 MB / 0.7565 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004583/0.8169, allocations: 1.334 MB / 0.7578 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003371/0.8203, allocations: 2.302 MB / 0.76 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.8223, allocations: 1.147 MB / 0.7612 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002828/0.8251, allocations: 1.009 MB / 0.7621 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.8262, allocations: 0.6453 MB / 0.7628 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.8263, allocations: 40 kB / 0.7628 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.8287, allocations: 0.8774 MB / 0.7637 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003765/0.8291, allocations: 314.8 kB / 0.764 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004529/0.8296, allocations: 284.9 kB / 0.7642 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002524/0.8321, allocations: 1.82 MB / 0.766 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.8321, allocations: 0 / 0.766 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.516e-06/0.8321, allocations: 0 / 0.766 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.999e-05/0.8322, allocations: 7.938 kB / 0.766 GB, free: 6.902 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.002874/0.8351, allocations: 1.606 MB / 0.7676 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.8351, allocations: 8.031 kB / 0.7676 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/0.8376, allocations: 405.7 kB / 0.768 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.8391, allocations: 0.9223 MB / 0.7689 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.28e-05/0.8392, allocations: 98.58 kB / 0.769 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.8394, allocations: 128 kB / 0.7691 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.8419, allocations: 1.453 MB / 0.7705 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.8419, allocations: 4 kB / 0.7705 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.842, allocations: 60 kB / 0.7706 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.8421, allocations: 32 kB / 0.7706 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.8446, allocations: 1.524 MB / 0.7721 GB, free: 0.4922 MB / 0.5762 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.006817/0.8514, allocations: 4.946 MB / 0.7769 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/0.8537, allocations: 1.42 MB / 0.7783 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000735/0.8544, allocations: 452 kB / 0.7787 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007092/0.8551, allocations: 437.4 kB / 0.7792 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.8562, allocations: 0.6216 MB / 0.7798 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=98): time 2.945e-06/0.8562, allocations: 0 / 0.7798 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98): time 0.003696/0.8599, allocations: 1.543 MB / 0.7813 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.8601, allocations: 192.9 kB / 0.7815 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.8613, allocations: 0.8465 MB / 0.7823 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.8614, allocations: 45.7 kB / 0.7823 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004847/0.8619, allocations: 0.5661 MB / 0.7829 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/0.8622, allocations: 327.2 kB / 0.7832 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.8622, allocations: 20 kB / 0.7832 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.8624, allocations: 345.9 kB / 0.7835 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006753/0.8631, allocations: 365.8 kB / 0.7839 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009124/0.864, allocations: 0.5247 MB / 0.7844 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007866/0.8648, allocations: 438.8 kB / 0.7848 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.8648, allocations: 0 / 0.7848 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002357/0.8672, allocations: 1.153 MB / 0.786 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.8672, allocations: 11.95 kB / 0.786 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.8672, allocations: 0 / 0.786 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005587/0.8678, allocations: 97.08 kB / 0.7861 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009755/0.8688, allocations: 235.7 kB / 0.7863 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.8707, allocations: 1.536 MB / 0.7878 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.8717, allocations: 150 kB / 0.7879 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.989e-05/0.8718, allocations: 48.92 kB / 0.788 GB, free: 15.5 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 ($whenCondition2,$whenCondition1,$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 (119): * Single equations (assignments): 118 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007243/0.8725, allocations: 330.4 kB / 0.7883 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.8727, allocations: 122.5 kB / 0.7884 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/0.8756, allocations: 1.35 MB / 0.7897 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.8756, allocations: 8 kB / 0.7897 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.8756, allocations: 4 kB / 0.7897 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.8756, allocations: 7.969 kB / 0.7897 GB, free: 13.67 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.004494/0.8801, allocations: 2.695 MB / 0.7924 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.8802, allocations: 3.984 kB / 0.7924 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009133/0.8811, allocations: 215.8 kB / 0.7926 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004692/0.8816, allocations: 84.72 kB / 0.7927 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.451e-05/0.8817, allocations: 35.97 kB / 0.7927 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.8835, allocations: 1.556 MB / 0.7942 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8835, allocations: 0 / 0.7942 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.886, allocations: 1.226 MB / 0.7954 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006971/0.8867, allocations: 351.1 kB / 0.7957 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/0.887, allocations: 27.98 kB / 0.7958 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000963/0.8879, allocations: 95.92 kB / 0.7959 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.8881, allocations: 72.89 kB / 0.7959 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.8882, allocations: 47.97 kB / 0.796 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009809/0.8892, allocations: 0.5786 MB / 0.7965 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8892, allocations: 0 / 0.7965 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001423/0.8907, allocations: 466.8 kB / 0.797 GB, free: 5.957 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001733/0.8924, allocations: 0.6919 MB / 0.7977 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002239/0.8946, allocations: 1.078 MB / 0.7987 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.8947, allocations: 6.5 kB / 0.7987 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.8958, allocations: 0.629 MB / 0.7993 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.898, allocations: 473.9 kB / 0.7998 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007672/0.9057, allocations: 2.978 MB / 0.8027 GB, free: 272 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/0.9072, allocations: 1.17 MB / 0.8038 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008849/0.9081, allocations: 151.4 kB / 0.804 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of SimCode: time 1.483e-06/0.9081, allocations: 0 / 0.804 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of Templates: time 0.06131/0.9695, allocations: 26.65 MB / 0.83 GB, free: 4.387 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.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-master/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-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.o] Error 1