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.0009016/0.0009018, allocations: 103 kB / 15.71 MB, free: 460 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.0009274/0.0009277, allocations: 169.6 kB / 16.58 MB, free: 6.402 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.4/1.4, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7668/0.7668, allocations: 132.3 MB / 424 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 12 kB / 0.504 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.5023, allocations: 81.57 MB / 0.5837 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2119/0.7143, allocations: 159.7 MB / 0.7397 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.7308, allocations: 11.72 MB / 0.7511 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.7322, allocations: 31.81 kB / 0.7511 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.7333, allocations: 301.8 kB / 0.7514 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.7361, allocations: 0.7762 MB / 0.7522 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00432/0.7405, allocations: 1.345 MB / 0.7535 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003372/0.7439, allocations: 2.306 MB / 0.7557 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002012/0.7459, allocations: 1.149 MB / 0.7569 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.7485, allocations: 0.9998 MB / 0.7578 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.7496, allocations: 0.6399 MB / 0.7585 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.7497, allocations: 43.94 kB / 0.7585 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.7521, allocations: 0.8735 MB / 0.7594 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.7525, allocations: 314.8 kB / 0.7597 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.7529, allocations: 292.9 kB / 0.7599 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.7552, allocations: 1.82 MB / 0.7617 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7552, allocations: 0 / 0.7617 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7552, allocations: 0 / 0.7617 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.7553, allocations: 0 / 0.7617 GB, free: 9.785 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.002844/0.7581, allocations: 1.607 MB / 0.7633 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.7582, allocations: 8.031 kB / 0.7633 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.7606, allocations: 405.7 kB / 0.7637 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.7622, allocations: 0.9184 MB / 0.7646 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.264e-05/0.7623, allocations: 98.62 kB / 0.7647 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.7625, allocations: 124 kB / 0.7648 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.765, allocations: 1.46 MB / 0.7662 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.7651, allocations: 0 / 0.7662 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.7652, allocations: 56 kB / 0.7663 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.7652, allocations: 39.94 kB / 0.7663 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.7678, allocations: 1.528 MB / 0.7678 GB, free: 3.367 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.007038/0.7748, allocations: 4.938 MB / 0.7726 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.7772, allocations: 1.428 MB / 0.774 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007769/0.778, allocations: 452.3 kB / 0.7745 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007475/0.7787, allocations: 445.3 kB / 0.7749 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/0.7798, allocations: 0.6139 MB / 0.7755 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 3.136e-06/0.7799, allocations: 0 / 0.7755 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.00385/0.7837, allocations: 1.539 MB / 0.777 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.7839, allocations: 196.9 kB / 0.7772 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.7855, allocations: 0.8387 MB / 0.778 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.7856, allocations: 45.7 kB / 0.778 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009018/0.7865, allocations: 0.5661 MB / 0.7786 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004283/0.787, allocations: 327.2 kB / 0.7789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.787, allocations: 20 kB / 0.7789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002524/0.7873, allocations: 345.9 kB / 0.7792 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.7884, allocations: 369.8 kB / 0.7796 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.7898, allocations: 0.5286 MB / 0.7801 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.7911, allocations: 434.8 kB / 0.7805 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.7911, allocations: 0 / 0.7805 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003892/0.795, allocations: 1.157 MB / 0.7817 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.795, allocations: 7.938 kB / 0.7817 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.795, allocations: 7.938 kB / 0.7817 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007283/0.7958, allocations: 89.17 kB / 0.7818 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.7974, allocations: 247.7 kB / 0.782 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/0.8002, allocations: 1.54 MB / 0.7835 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.8018, allocations: 147 kB / 0.7836 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.802, allocations: 43.97 kB / 0.7837 GB, free: 2.359 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.001004/0.803, allocations: 327.1 kB / 0.784 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/0.8033, allocations: 118.5 kB / 0.7841 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/0.8077, allocations: 1.349 MB / 0.7854 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.8077, allocations: 8 kB / 0.7854 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.8077, allocations: 0 / 0.7854 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.8078, allocations: 7.984 kB / 0.7854 GB, free: 0.5391 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.006611/0.8144, allocations: 2.689 MB / 0.7881 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.8144, allocations: 4 kB / 0.7881 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.8157, allocations: 215.7 kB / 0.7883 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005054/0.8162, allocations: 84.77 kB / 0.7884 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.299e-05/0.8163, allocations: 27.98 kB / 0.7884 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.8183, allocations: 1.556 MB / 0.7899 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.8183, allocations: 7.969 kB / 0.7899 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/0.8209, allocations: 1.226 MB / 0.7911 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/0.8215, allocations: 355.1 kB / 0.7914 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.8216, allocations: 20.06 kB / 0.7915 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008072/0.8224, allocations: 96.58 kB / 0.7916 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.8226, allocations: 80.77 kB / 0.7916 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.587e-05/0.8227, allocations: 59.86 kB / 0.7917 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008956/0.8236, allocations: 0.5824 MB / 0.7923 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8236, allocations: 0 / 0.7923 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001306/0.8249, allocations: 458.9 kB / 0.7927 GB, free: 8.82 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 (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.001546/0.8265, allocations: 0.6752 MB / 0.7934 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.8286, allocations: 1.074 MB / 0.7944 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.8287, allocations: 7.75 kB / 0.7944 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.8297, allocations: 0.6329 MB / 0.795 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.8318, allocations: 482.7 kB / 0.7955 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/0.8372, allocations: 2.982 MB / 0.7984 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008635/0.8381, allocations: 1.175 MB / 0.7995 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.8385, allocations: 143.4 kB / 0.7997 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of SimCode: time 8.72e-07/0.8385, allocations: 0 / 0.7997 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of Templates: time 0.3837/1.222, allocations: 26.65 MB / 0.8257 GB, free: 214.9 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++ 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.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