Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00122/0.00122, allocations: 92.47 kB / 16.33 MB, free: 6.41 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.001275/0.001275, allocations: 183.1 kB / 17.22 MB, free: 6.285 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.586/1.586, allocations: 223.3 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7186/0.7186, allocations: 114.3 MB / 406.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004251, allocations: 12 kB / 494.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.19, allocations: 77.26 MB / 0.5583 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6311/0.8211, allocations: 159.9 MB / 0.7145 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01877/0.8399, allocations: 11.8 MB / 0.726 GB, free: 14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.8416, allocations: 31.81 kB / 0.726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.8428, allocations: 309.7 kB / 0.7263 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.8458, allocations: 0.8145 MB / 0.7271 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004523/0.8504, allocations: 1.356 MB / 0.7285 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003667/0.854, allocations: 2.427 MB / 0.7308 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/0.8562, allocations: 1.184 MB / 0.732 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/0.8588, allocations: 1.039 MB / 0.733 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.8598, allocations: 0.6881 MB / 0.7337 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.86, allocations: 44 kB / 0.7337 GB, free: 6.094 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.8625, allocations: 0.8774 MB / 0.7346 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/0.8629, allocations: 338.7 kB / 0.7349 GB, free: 4.883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004676/0.8634, allocations: 308.9 kB / 0.7352 GB, free: 4.574 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.866, allocations: 1.917 MB / 0.7371 GB, free: 2.652 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.866, allocations: 4 kB / 0.7371 GB, free: 2.648 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.474e-06/0.866, allocations: 0 / 0.7371 GB, free: 2.648 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.983e-05/0.866, allocations: 0 / 0.7371 GB, free: 2.648 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003271/0.8693, allocations: 1.702 MB / 0.7387 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.8694, allocations: 12.03 kB / 0.7387 GB, free: 0.875 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/0.8718, allocations: 409.5 kB / 0.7391 GB, free: 484 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.8735, allocations: 0.9534 MB / 0.7401 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.8736, allocations: 106.7 kB / 0.7402 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.8738, allocations: 132 kB / 0.7403 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/0.8765, allocations: 1.513 MB / 0.7418 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.8766, allocations: 3.938 kB / 0.7418 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.8767, allocations: 67.89 kB / 0.7418 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/0.8768, allocations: 36 kB / 0.7419 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00285/0.8796, allocations: 1.58 MB / 0.7434 GB, free: 11.96 MB / 0.5606 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.008161/0.8878, allocations: 5.088 MB / 0.7484 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.8904, allocations: 1.522 MB / 0.7499 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008307/0.8913, allocations: 483.6 kB / 0.7503 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007614/0.892, allocations: 437.3 kB / 0.7507 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/0.8933, allocations: 0.6995 MB / 0.7514 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 3.256e-06/0.8933, allocations: 0 / 0.7514 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=107): time 0.004154/0.8975, allocations: 1.664 MB / 0.753 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.8976, allocations: 196.9 kB / 0.7532 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.8989, allocations: 0.8842 MB / 0.7541 GB, free: 496 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.899, allocations: 49.7 kB / 0.7541 GB, free: 440 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005492/0.8996, allocations: 0.5936 MB / 0.7547 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003211/0.8999, allocations: 362.8 kB / 0.7551 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.9, allocations: 20 kB / 0.7551 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.9001, allocations: 345.9 kB / 0.7554 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007729/0.9009, allocations: 398.4 kB / 0.7558 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009419/0.9019, allocations: 0.5707 MB / 0.7564 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008628/0.9027, allocations: 462.8 kB / 0.7568 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9027, allocations: 0 / 0.7568 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002584/0.9053, allocations: 1.231 MB / 0.758 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.9054, allocations: 6.281 kB / 0.758 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.9054, allocations: 15.89 kB / 0.758 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005421/0.9059, allocations: 84.77 kB / 0.7581 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.907, allocations: 267.6 kB / 0.7584 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.9091, allocations: 1.532 MB / 0.7599 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.9102, allocations: 169.5 kB / 0.76 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.394e-05/0.9103, allocations: 51.91 kB / 0.7601 GB, free: 10.15 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.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 (131): * Single equations (assignments): 130 * 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.0007052/0.911, allocations: 343.7 kB / 0.7604 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.9112, allocations: 122.6 kB / 0.7605 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003104/0.9143, allocations: 1.453 MB / 0.7619 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.9143, allocations: 12 kB / 0.7619 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.9144, allocations: 0 / 0.7619 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-05/0.9144, allocations: 11.97 kB / 0.762 GB, free: 8.199 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 postOpt removeSimpleEquations (simulation): time 0.004711/0.9191, allocations: 2.866 MB / 0.7647 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.9191, allocations: 7.953 kB / 0.7648 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009424/0.9201, allocations: 215.7 kB / 0.765 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004617/0.9205, allocations: 84.77 kB / 0.765 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.628e-05/0.9206, allocations: 35.97 kB / 0.7651 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.9225, allocations: 1.556 MB / 0.7666 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.9226, allocations: 0 / 0.7666 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/0.9252, allocations: 1.324 MB / 0.7679 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006192/0.9258, allocations: 367.1 kB / 0.7682 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.926, allocations: 28 kB / 0.7683 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008842/0.9269, allocations: 123.7 kB / 0.7684 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.9271, allocations: 84.81 kB / 0.7685 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.9272, allocations: 51.97 kB / 0.7685 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000936/0.9281, allocations: 0.6111 MB / 0.7691 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9281, allocations: 0 / 0.7691 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001416/0.9295, allocations: 478.9 kB / 0.7696 GB, free: 124 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001622/0.9312, allocations: 0.7023 MB / 0.7703 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002342/0.9335, allocations: 1.156 MB / 0.7714 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.9335, allocations: 4 kB / 0.7714 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.9347, allocations: 0.6719 MB / 0.772 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/0.937, allocations: 482.4 kB / 0.7725 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006163/0.9432, allocations: 3.134 MB / 0.7756 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009406/0.9441, allocations: 1.201 MB / 0.7767 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005774/0.9447, allocations: 163.3 kB / 0.7769 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of SimCode: time 1.432e-06/0.9447, allocations: 0 / 0.7769 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of Templates: time 0.04543/0.9902, allocations: 28.01 MB / 0.8042 GB, free: 12.86 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile make -j1 -f IBPSA_latest_IBPSA.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/IBPSA 4.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/IBPSA 4.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.o] Error 1