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.0007873/0.0007874, allocations: 98.88 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.001071/0.001071, allocations: 187.4 kB / 16.92 MB, free: 6.77 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.293/1.293, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7476/0.7476, allocations: 132.3 MB / 424.4 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003062, allocations: 11.98 kB / 0.5046 GB, free: 3.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4042, allocations: 81.58 MB / 0.5843 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1802/0.5845, allocations: 171.2 MB / 0.7515 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01576/0.6003, allocations: 12.49 MB / 0.7637 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.6015, allocations: 31.81 kB / 0.7637 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.6027, allocations: 365.7 kB / 0.7641 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.6052, allocations: 0.8233 MB / 0.7649 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004269/0.6095, allocations: 1.633 MB / 0.7665 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003015/0.6125, allocations: 2.626 MB / 0.769 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.6144, allocations: 1.358 MB / 0.7703 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003991/0.6184, allocations: 1.114 MB / 0.7714 GB, free: 216 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008683/0.6193, allocations: 0.6684 MB / 0.7721 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.752e-05/0.6194, allocations: 40 kB / 0.7721 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.6221, allocations: 1.411 MB / 0.7735 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003773/0.6225, allocations: 326.6 kB / 0.7738 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008721/0.6234, allocations: 0.658 MB / 0.7745 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.6263, allocations: 1.882 MB / 0.7763 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6263, allocations: 4 kB / 0.7763 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.595e-06/0.6263, allocations: 0 / 0.7763 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.6264, allocations: 0 / 0.7763 GB, free: 11.21 MB / 0.6075 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.002911/0.6293, allocations: 1.588 MB / 0.7779 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.6293, allocations: 12.03 kB / 0.7779 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002444/0.6318, allocations: 409.7 kB / 0.7783 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.6332, allocations: 0.9565 MB / 0.7792 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.287e-05/0.6333, allocations: 98.62 kB / 0.7793 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.6335, allocations: 128 kB / 0.7794 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.6359, allocations: 1.468 MB / 0.7808 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.6359, allocations: 0 / 0.7808 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.6361, allocations: 56 kB / 0.7809 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.6361, allocations: 32 kB / 0.7809 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.6386, allocations: 1.547 MB / 0.7824 GB, free: 4.734 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 preOpt removeSimpleEquations (simulation): time 0.006496/0.6451, allocations: 4.934 MB / 0.7873 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/0.6475, allocations: 1.434 MB / 0.7887 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/0.6482, allocations: 456.3 kB / 0.7891 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007483/0.649, allocations: 441.4 kB / 0.7895 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.6501, allocations: 0.6217 MB / 0.7901 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=98): time 2.394e-06/0.6501, allocations: 0 / 0.7901 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98): time 0.003962/0.6541, allocations: 1.549 MB / 0.7916 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.6542, allocations: 196.9 kB / 0.7918 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.6554, allocations: 0.8503 MB / 0.7926 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.825e-05/0.6555, allocations: 45.7 kB / 0.7927 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004507/0.6559, allocations: 0.5622 MB / 0.7932 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.6562, allocations: 331.2 kB / 0.7936 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.6564, allocations: 81.67 kB / 0.7936 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6565, allocations: 349.9 kB / 0.794 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006968/0.6572, allocations: 369.8 kB / 0.7943 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000824/0.658, allocations: 0.5363 MB / 0.7948 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.6596, allocations: 0.9097 MB / 0.7957 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6596, allocations: 0 / 0.7957 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002417/0.662, allocations: 1.161 MB / 0.7969 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.662, allocations: 10.44 kB / 0.7969 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.6621, allocations: 4 kB / 0.7969 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006039/0.6627, allocations: 89.17 kB / 0.797 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009896/0.6637, allocations: 243.7 kB / 0.7972 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.6656, allocations: 1.532 MB / 0.7987 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.6667, allocations: 147 kB / 0.7988 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/0.6668, allocations: 47.97 kB / 0.7989 GB, free: 3.094 MB / 0.6231 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.0006567/0.6674, allocations: 331 kB / 0.7992 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.6676, allocations: 118.6 kB / 0.7993 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/0.6705, allocations: 1.338 MB / 0.8006 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.6705, allocations: 12 kB / 0.8006 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.6705, allocations: 0 / 0.8006 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.6705, allocations: 11.91 kB / 0.8006 GB, free: 1.266 MB / 0.6231 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.00424/0.6748, allocations: 2.701 MB / 0.8033 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.6748, allocations: 0 / 0.8033 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008986/0.6757, allocations: 223.7 kB / 0.8035 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005157/0.6762, allocations: 84.77 kB / 0.8036 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.8e-05/0.6763, allocations: 27.97 kB / 0.8036 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.678, allocations: 1.571 MB / 0.8051 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.678, allocations: 3.938 kB / 0.8051 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.6804, allocations: 1.219 MB / 0.8063 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005274/0.681, allocations: 359.2 kB / 0.8067 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.6811, allocations: 20 kB / 0.8067 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008789/0.682, allocations: 102.2 kB / 0.8068 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.6821, allocations: 76.83 kB / 0.8069 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.124e-05/0.6822, allocations: 51.97 kB / 0.8069 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007982/0.6831, allocations: 0.5864 MB / 0.8075 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6831, allocations: 0 / 0.8075 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001199/0.6843, allocations: 458.9 kB / 0.8079 GB, free: 9.535 MB / 0.6387 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.001524/0.6858, allocations: 0.7072 MB / 0.8086 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002103/0.6879, allocations: 1.07 MB / 0.8096 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6879, allocations: 0 / 0.8096 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.689, allocations: 0.6407 MB / 0.8103 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.6912, allocations: 484.1 kB / 0.8107 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005645/0.6969, allocations: 3.033 MB / 0.8137 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009797/0.6979, allocations: 1.178 MB / 0.8148 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/0.6984, allocations: 147.4 kB / 0.815 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of SimCode: time 1.402e-06/0.6984, allocations: 0 / 0.815 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of Templates: time 0.3478/1.046, allocations: 26.63 MB / 0.841 GB, free: 206 MB / 0.6387 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