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.001689/0.001689, allocations: 113.4 kB / 16.38 MB, free: 6.48 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.001594/0.001594, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.14 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.8363/0.8363, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.5 kB / 0.5961 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1783, allocations: 82.04 MB / 0.6762 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6011/0.7795, allocations: 175.9 MB / 0.848 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0199/0.7995, allocations: 12.7 MB / 0.8604 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.8011, allocations: 31.81 kB / 0.8604 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.8029, allocations: 444.7 kB / 0.8608 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.8064, allocations: 0.9329 MB / 0.8617 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005181/0.8116, allocations: 1.818 MB / 0.8635 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003375/0.8149, allocations: 2.29 MB / 0.8658 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002726/0.8177, allocations: 1.586 MB / 0.8673 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004172/0.8219, allocations: 1.358 MB / 0.8686 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.8233, allocations: 0.8119 MB / 0.8694 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004755/0.8238, allocations: 160 kB / 0.8696 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003274/0.8271, allocations: 1.415 MB / 0.871 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006853/0.8278, allocations: 466.6 kB / 0.8714 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.8293, allocations: 0.7968 MB / 0.8722 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004973/0.8342, allocations: 2.745 MB / 0.8749 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8343, allocations: 0 / 0.8749 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8343, allocations: 8 kB / 0.8749 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.22e-05/0.8344, allocations: 0 / 0.8749 GB, free: 2.379 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.004401/0.8388, allocations: 1.899 MB / 0.8767 GB, free: 432 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.8389, allocations: 8.031 kB / 0.8767 GB, free: 424 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/0.8417, allocations: 401.6 kB / 0.8771 GB, free: 20 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.8438, allocations: 1.003 MB / 0.8781 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.991e-05/0.8439, allocations: 94.62 kB / 0.8782 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/0.8443, allocations: 124 kB / 0.8783 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/0.8474, allocations: 1.46 MB / 0.8797 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.8475, allocations: 0 / 0.8797 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.8477, allocations: 59.98 kB / 0.8798 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.8477, allocations: 32 kB / 0.8798 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.8506, allocations: 1.528 MB / 0.8813 GB, free: 11.59 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.007722/0.8583, allocations: 4.887 MB / 0.8861 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.8609, allocations: 1.418 MB / 0.8875 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000835/0.8618, allocations: 456.3 kB / 0.8879 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007394/0.8625, allocations: 421.4 kB / 0.8883 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001174/0.8637, allocations: 0.6255 MB / 0.8889 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=98): time 3.317e-06/0.8637, allocations: 0 / 0.8889 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of matching and sorting (n=98): time 0.004127/0.8679, allocations: 1.528 MB / 0.8904 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.868, allocations: 200.9 kB / 0.8906 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.8694, allocations: 0.8504 MB / 0.8914 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.8696, allocations: 45.7 kB / 0.8915 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004968/0.8701, allocations: 0.5661 MB / 0.892 GB, free: 84 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.8704, allocations: 331.4 kB / 0.8923 GB, free: 15.75 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003327/0.8708, allocations: 194.5 kB / 0.8925 GB, free: 15.55 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.8709, allocations: 345.9 kB / 0.8929 GB, free: 15.21 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007664/0.8717, allocations: 373.8 kB / 0.8932 GB, free: 14.84 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009249/0.8726, allocations: 0.5363 MB / 0.8937 GB, free: 14.26 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.8743, allocations: 0.8979 MB / 0.8946 GB, free: 13.32 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.8743, allocations: 3.938 kB / 0.8946 GB, free: 13.31 MB / 0.67 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002629/0.8769, allocations: 1.153 MB / 0.8957 GB, free: 12.15 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.8769, allocations: 4 kB / 0.8958 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.877, allocations: 4 kB / 0.8958 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/0.8776, allocations: 89.17 kB / 0.8958 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.8786, allocations: 243.6 kB / 0.8961 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.8807, allocations: 1.642 MB / 0.8977 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.8818, allocations: 123 kB / 0.8978 GB, free: 9.902 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-05/0.8819, allocations: 47.97 kB / 0.8978 GB, free: 9.855 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.0006772/0.8826, allocations: 336.8 kB / 0.8982 GB, free: 9.52 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.8828, allocations: 110.7 kB / 0.8983 GB, free: 9.41 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/0.8857, allocations: 1.338 MB / 0.8996 GB, free: 8.062 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.8858, allocations: 12 kB / 0.8996 GB, free: 8.051 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8858, allocations: 3.938 kB / 0.8996 GB, free: 8.047 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.8858, allocations: 3.984 kB / 0.8996 GB, free: 8.043 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.004348/0.8902, allocations: 2.68 MB / 0.9022 GB, free: 5.281 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.8902, allocations: 0 / 0.9022 GB, free: 5.281 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009406/0.8911, allocations: 215.7 kB / 0.9024 GB, free: 5.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004395/0.8916, allocations: 72.78 kB / 0.9025 GB, free: 4.996 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.724e-05/0.8917, allocations: 31.98 kB / 0.9025 GB, free: 4.965 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/0.8935, allocations: 1.678 MB / 0.9042 GB, free: 3.129 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8935, allocations: 0 / 0.9042 GB, free: 3.129 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.896, allocations: 1.228 MB / 0.9054 GB, free: 1.883 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/0.8966, allocations: 339.2 kB / 0.9057 GB, free: 1.531 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.8967, allocations: 23.98 kB / 0.9057 GB, free: 1.508 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008045/0.8975, allocations: 71.94 kB / 0.9058 GB, free: 1.438 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.8977, allocations: 72.89 kB / 0.9058 GB, free: 1.363 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-05/0.8978, allocations: 43.97 kB / 0.9059 GB, free: 1.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007926/0.8986, allocations: 0.5825 MB / 0.9064 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8986, allocations: 0 / 0.9064 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001219/0.8998, allocations: 462.9 kB / 0.9069 GB, free: 280 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.001634/0.9015, allocations: 0.7112 MB / 0.9076 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002204/0.9037, allocations: 1.073 MB / 0.9086 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.9037, allocations: 4.688 kB / 0.9086 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.9048, allocations: 0.6368 MB / 0.9093 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.907, allocations: 0.5302 MB / 0.9098 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/0.912, allocations: 2.367 MB / 0.9121 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007609/0.9128, allocations: 1.174 MB / 0.9132 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004499/0.9132, allocations: 147.4 kB / 0.9134 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of SimCode: time 1.082e-06/0.9132, allocations: 4 kB / 0.9134 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of Templates: time 0.03564/0.9489, allocations: 26.97 MB / 0.9397 GB, free: 14.88 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