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.001675/0.001675, allocations: 106.5 kB / 16.41 MB, free: 6.508 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.001513/0.001513, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.19 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.8769/0.8769, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 64.7 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1577, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.525/0.6827, allocations: 176.3 MB / 0.8485 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01744/0.7002, allocations: 12.72 MB / 0.8609 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.7012, allocations: 31.81 kB / 0.861 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.7024, allocations: 448.7 kB / 0.8614 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002927/0.7054, allocations: 0.9679 MB / 0.8623 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004664/0.71, allocations: 1.83 MB / 0.8641 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003269/0.7133, allocations: 2.283 MB / 0.8663 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002173/0.7155, allocations: 1.31 MB / 0.8676 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.7194, allocations: 1.414 MB / 0.869 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.7207, allocations: 0.809 MB / 0.8698 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002709/0.7209, allocations: 160 kB / 0.8699 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.7238, allocations: 1.412 MB / 0.8713 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000481/0.7242, allocations: 470.5 kB / 0.8718 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008835/0.7251, allocations: 0.8007 MB / 0.8726 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004258/0.7294, allocations: 2.756 MB / 0.8752 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7294, allocations: 0 / 0.8752 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7294, allocations: 0 / 0.8752 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.576e-05/0.7294, allocations: 0 / 0.8752 GB, free: 2.285 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.003428/0.7329, allocations: 1.959 MB / 0.8772 GB, free: 272 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.7329, allocations: 12.03 kB / 0.8772 GB, free: 260 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002571/0.7355, allocations: 398.6 kB / 0.8776 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.7372, allocations: 1.008 MB / 0.8785 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.178e-05/0.7372, allocations: 94.62 kB / 0.8786 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.7374, allocations: 132 kB / 0.8788 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.7401, allocations: 1.451 MB / 0.8802 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.7401, allocations: 7.922 kB / 0.8802 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.7402, allocations: 60 kB / 0.8802 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.7403, allocations: 32 kB / 0.8803 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/0.743, allocations: 1.528 MB / 0.8818 GB, free: 11.43 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.007364/0.7504, allocations: 4.896 MB / 0.8865 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/0.7529, allocations: 1.355 MB / 0.8879 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008269/0.7537, allocations: 428.3 kB / 0.8883 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007819/0.7545, allocations: 413.4 kB / 0.8887 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.7557, allocations: 0.6255 MB / 0.8893 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=98): time 2.264e-06/0.7557, allocations: 0 / 0.8893 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of matching and sorting (n=98): time 0.004128/0.7599, allocations: 1.532 MB / 0.8908 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.76, allocations: 192.9 kB / 0.891 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.7613, allocations: 0.8543 MB / 0.8918 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.7614, allocations: 53.64 kB / 0.8918 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005351/0.7619, allocations: 0.5753 MB / 0.8924 GB, free: 15.99 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/0.7623, allocations: 349 kB / 0.8927 GB, free: 15.64 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003356/0.7626, allocations: 198.5 kB / 0.8929 GB, free: 15.44 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.7628, allocations: 349.7 kB / 0.8933 GB, free: 15.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007855/0.7635, allocations: 369.8 kB / 0.8936 GB, free: 14.74 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000958/0.7645, allocations: 0.5259 MB / 0.8941 GB, free: 14.16 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.7663, allocations: 0.9057 MB / 0.895 GB, free: 13.21 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7663, allocations: 0 / 0.895 GB, free: 13.21 MB / 0.67 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002748/0.769, allocations: 1.15 MB / 0.8961 GB, free: 12.05 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.769, allocations: 16 kB / 0.8961 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.7691, allocations: 4 kB / 0.8962 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005788/0.7696, allocations: 92.7 kB / 0.8962 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.7707, allocations: 239.6 kB / 0.8965 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.773, allocations: 1.642 MB / 0.8981 GB, free: 9.918 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009973/0.774, allocations: 129.9 kB / 0.8982 GB, free: 9.793 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.7741, allocations: 47.97 kB / 0.8982 GB, free: 9.746 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.0006643/0.7748, allocations: 334.4 kB / 0.8986 GB, free: 9.41 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.775, allocations: 123.2 kB / 0.8987 GB, free: 9.289 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/0.7781, allocations: 1.326 MB / 0.9 GB, free: 7.953 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.7782, allocations: 8 kB / 0.9 GB, free: 7.945 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7782, allocations: 3.938 kB / 0.9 GB, free: 7.941 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.7782, allocations: 3.984 kB / 0.9 GB, free: 7.938 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.004991/0.7832, allocations: 2.699 MB / 0.9026 GB, free: 5.156 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.7832, allocations: 0 / 0.9026 GB, free: 5.156 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009523/0.7841, allocations: 207.8 kB / 0.9028 GB, free: 4.953 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004446/0.7846, allocations: 80.72 kB / 0.9029 GB, free: 4.871 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.526e-05/0.7846, allocations: 27.98 kB / 0.9029 GB, free: 4.844 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.7867, allocations: 1.685 MB / 0.9046 GB, free: 3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7867, allocations: 0 / 0.9046 GB, free: 3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.7895, allocations: 1.229 MB / 0.9058 GB, free: 1.754 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006245/0.7901, allocations: 340 kB / 0.9061 GB, free: 1.402 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.7903, allocations: 27.92 kB / 0.9061 GB, free: 1.375 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008124/0.7911, allocations: 67.94 kB / 0.9062 GB, free: 1.309 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.7913, allocations: 72.89 kB / 0.9063 GB, free: 1.234 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.7914, allocations: 47.97 kB / 0.9063 GB, free: 1.188 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000871/0.7922, allocations: 0.5825 MB / 0.9069 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.7922, allocations: 0 / 0.9069 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0012/0.7934, allocations: 466.8 kB / 0.9073 GB, free: 140 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.00216/0.7956, allocations: 0.7138 MB / 0.908 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002324/0.7979, allocations: 1.023 MB / 0.909 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7979, allocations: 4 kB / 0.909 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.7991, allocations: 0.6015 MB / 0.9096 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.8013, allocations: 0.5337 MB / 0.9101 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005097/0.8064, allocations: 2.406 MB / 0.9125 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00089/0.8073, allocations: 1.178 MB / 0.9136 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005028/0.8078, allocations: 147.4 kB / 0.9138 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of SimCode: time 5.11e-07/0.8078, allocations: 0 / 0.9138 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of Templates: time 0.03883/0.8466, allocations: 27.18 MB / 0.9403 GB, free: 14.57 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