Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001174/0.001175, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001029/0.001029, allocations: 187 kB / 17.34 MB, free: 5.742 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8306/0.8306, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 69.27 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1387, allocations: 82.03 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.521/0.6598, allocations: 175.9 MB / 0.848 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01692/0.6768, allocations: 12.69 MB / 0.8604 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.678, allocations: 35.81 kB / 0.8605 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.6796, allocations: 440.7 kB / 0.8609 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.6825, allocations: 0.9278 MB / 0.8618 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004582/0.6871, allocations: 1.83 MB / 0.8636 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002964/0.6901, allocations: 2.279 MB / 0.8658 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00243/0.6926, allocations: 1.594 MB / 0.8674 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00386/0.6964, allocations: 1.375 MB / 0.8687 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.6978, allocations: 0.8091 MB / 0.8695 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004025/0.6982, allocations: 156 kB / 0.8696 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.7012, allocations: 1.419 MB / 0.871 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006111/0.7018, allocations: 458.6 kB / 0.8715 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.703, allocations: 0.8046 MB / 0.8723 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00449/0.7075, allocations: 2.745 MB / 0.8749 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7076, allocations: 0 / 0.8749 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7076, allocations: 0 / 0.8749 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.369e-05/0.7077, allocations: 0 / 0.8749 GB, free: 2.309 MB / 0.6387 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.004115/0.7118, allocations: 1.907 MB / 0.8768 GB, free: 352 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.7118, allocations: 8.031 kB / 0.8768 GB, free: 344 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002925/0.7148, allocations: 397.8 kB / 0.8772 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.7166, allocations: 0.9917 MB / 0.8782 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.071e-05/0.7167, allocations: 102.6 kB / 0.8783 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.717, allocations: 124 kB / 0.8784 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002932/0.7199, allocations: 1.459 MB / 0.8798 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/0.72, allocations: 0 / 0.8798 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.7201, allocations: 56 kB / 0.8798 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.7202, allocations: 32 kB / 0.8799 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002776/0.7229, allocations: 1.536 MB / 0.8814 GB, free: 11.52 MB / 0.6544 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.007556/0.7305, allocations: 4.891 MB / 0.8862 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.7331, allocations: 1.417 MB / 0.8875 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008251/0.7339, allocations: 464.2 kB / 0.888 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007443/0.7347, allocations: 421.4 kB / 0.8884 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/0.7359, allocations: 0.6178 MB / 0.889 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=98): time 3.046e-06/0.7359, allocations: 4 kB / 0.889 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of matching and sorting (n=98): time 0.004116/0.74, allocations: 1.528 MB / 0.8905 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.7402, allocations: 192.9 kB / 0.8907 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.7414, allocations: 0.8504 MB / 0.8915 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.7416, allocations: 45.7 kB / 0.8915 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/0.7421, allocations: 0.5739 MB / 0.8921 GB, free: 8 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003315/0.7424, allocations: 331.4 kB / 0.8924 GB, free: 15.68 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003283/0.7427, allocations: 194.5 kB / 0.8926 GB, free: 15.48 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7429, allocations: 345.9 kB / 0.8929 GB, free: 15.13 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007784/0.7437, allocations: 365.8 kB / 0.8933 GB, free: 14.78 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009752/0.7446, allocations: 0.5402 MB / 0.8938 GB, free: 14.19 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.7463, allocations: 0.9018 MB / 0.8947 GB, free: 13.24 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.7463, allocations: 0 / 0.8947 GB, free: 13.24 MB / 0.67 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002708/0.749, allocations: 1.153 MB / 0.8958 GB, free: 12.08 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.7491, allocations: 7.938 kB / 0.8958 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.7491, allocations: 4 kB / 0.8958 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/0.7497, allocations: 89.17 kB / 0.8959 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.7508, allocations: 243.6 kB / 0.8961 GB, free: 11.74 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.753, allocations: 1.642 MB / 0.8977 GB, free: 9.949 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.7541, allocations: 119 kB / 0.8979 GB, free: 9.832 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.7542, allocations: 47.97 kB / 0.8979 GB, free: 9.785 MB / 0.67 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.000701/0.7549, allocations: 334.3 kB / 0.8982 GB, free: 9.449 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.7552, allocations: 114.6 kB / 0.8983 GB, free: 9.336 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/0.7584, allocations: 1.33 MB / 0.8996 GB, free: 7.996 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.7584, allocations: 15.98 kB / 0.8996 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7584, allocations: 7.938 kB / 0.8997 GB, free: 7.973 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.7584, allocations: 3.984 kB / 0.8997 GB, free: 7.969 MB / 0.67 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.004742/0.7632, allocations: 2.684 MB / 0.9023 GB, free: 5.203 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.7632, allocations: 0 / 0.9023 GB, free: 5.203 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.7642, allocations: 211.7 kB / 0.9025 GB, free: 4.996 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/0.7647, allocations: 72.78 kB / 0.9026 GB, free: 4.922 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.408e-05/0.7648, allocations: 31.98 kB / 0.9026 GB, free: 4.891 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/0.7668, allocations: 1.681 MB / 0.9042 GB, free: 3.051 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7668, allocations: 0 / 0.9042 GB, free: 3.051 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/0.7696, allocations: 1.221 MB / 0.9054 GB, free: 1.812 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006028/0.7703, allocations: 347.2 kB / 0.9057 GB, free: 1.453 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.7705, allocations: 20 kB / 0.9058 GB, free: 1.434 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009306/0.7714, allocations: 63.92 kB / 0.9058 GB, free: 1.371 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.7716, allocations: 76.89 kB / 0.9059 GB, free: 1.293 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.7717, allocations: 51.97 kB / 0.906 GB, free: 1.242 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009092/0.7726, allocations: 0.5825 MB / 0.9065 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.703e-06/0.7727, allocations: 3.938 kB / 0.9065 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001282/0.7739, allocations: 466.8 kB / 0.907 GB, free: 192 kB / 0.67 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.001753/0.7757, allocations: 0.7056 MB / 0.9077 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00248/0.7782, allocations: 1.074 MB / 0.9087 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.7782, allocations: 4 kB / 0.9087 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.7795, allocations: 0.6329 MB / 0.9093 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/0.7821, allocations: 0.5285 MB / 0.9098 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005464/0.7876, allocations: 2.363 MB / 0.9122 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009198/0.7885, allocations: 1.182 MB / 0.9133 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/0.7891, allocations: 151.4 kB / 0.9135 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of SimCode: time 8.41e-07/0.7891, allocations: 0 / 0.9135 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of Templates: time 0.03835/0.8275, allocations: 27.1 MB / 0.9399 GB, free: 14.67 MB / 0.7169 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile clang++ -std=c++17 -fopenmp=libomp -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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherDataFunctions.cpp:8:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.o] Error 1