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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.00129/0.00129, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001231/0.001231, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.481/1.481, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.929/0.929, allocations: 143.3 MB / 434.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.91 kB / 0.5151 GB, free: 15.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3594, allocations: 82.04 MB / 0.5952 GB, free: 16.04 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5122/0.8717, allocations: 175.8 MB / 0.7669 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.8882, allocations: 12.69 MB / 0.7793 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.8895, allocations: 33.09 kB / 0.7793 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.891, allocations: 438.3 kB / 0.7797 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.8941, allocations: 0.9287 MB / 0.7806 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004941/0.8991, allocations: 1.827 MB / 0.7824 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002823/0.9019, allocations: 2.282 MB / 0.7847 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002619/0.9045, allocations: 1.583 MB / 0.7862 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004278/0.9088, allocations: 1.359 MB / 0.7875 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.9103, allocations: 0.8112 MB / 0.7883 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005191/0.9108, allocations: 158.6 kB / 0.7885 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003467/0.9143, allocations: 1.381 MB / 0.7898 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006953/0.915, allocations: 467.8 kB / 0.7903 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.9161, allocations: 0.8016 MB / 0.7911 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004148/0.9203, allocations: 2.691 MB / 0.7937 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9203, allocations: 0 / 0.7937 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9203, allocations: 0 / 0.7937 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.264e-05/0.9204, allocations: 0.8125 kB / 0.7937 GB, free: 0.5078 MB / 0.5762 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.003379/0.9237, allocations: 1.913 MB / 0.7956 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.9238, allocations: 9.531 kB / 0.7956 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.9265, allocations: 396.6 kB / 0.7959 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.9281, allocations: 0.9467 MB / 0.7969 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-05/0.9282, allocations: 98.41 kB / 0.797 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.9283, allocations: 131.3 kB / 0.7971 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.9307, allocations: 1.465 MB / 0.7985 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.9307, allocations: 3.969 kB / 0.7985 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.9309, allocations: 57.56 kB / 0.7986 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.9309, allocations: 30.66 kB / 0.7986 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.9332, allocations: 1.535 MB / 0.8001 GB, free: 14.86 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.007089/0.9403, allocations: 4.921 MB / 0.8049 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/0.9428, allocations: 1.429 MB / 0.8063 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007322/0.9436, allocations: 449.1 kB / 0.8067 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008156/0.9444, allocations: 423.4 kB / 0.8071 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.9456, allocations: 0.6248 MB / 0.8077 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=98): time 2.364e-06/0.9456, allocations: 0.7188 kB / 0.8077 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98): time 0.004033/0.9496, allocations: 1.536 MB / 0.8092 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.9498, allocations: 192 kB / 0.8094 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.9509, allocations: 0.8534 MB / 0.8103 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.9511, allocations: 44.08 kB / 0.8103 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/0.9515, allocations: 0.5663 MB / 0.8109 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003224/0.9518, allocations: 330.9 kB / 0.8112 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/0.9522, allocations: 202.4 kB / 0.8114 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.9524, allocations: 344.4 kB / 0.8117 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007403/0.9531, allocations: 369 kB / 0.812 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008907/0.954, allocations: 0.5256 MB / 0.8126 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.9557, allocations: 0.9038 MB / 0.8134 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.9557, allocations: 3.406 kB / 0.8134 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002809/0.9585, allocations: 1.16 MB / 0.8146 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.9586, allocations: 5.969 kB / 0.8146 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.9586, allocations: 3.156 kB / 0.8146 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/0.9592, allocations: 91.06 kB / 0.8147 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.9603, allocations: 234.6 kB / 0.8149 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.9627, allocations: 1.66 MB / 0.8165 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.9638, allocations: 117 kB / 0.8166 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.222e-05/0.9639, allocations: 47.39 kB / 0.8167 GB, free: 7.469 MB / 0.5919 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.0007177/0.9646, allocations: 332.3 kB / 0.817 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/0.9649, allocations: 112.6 kB / 0.8171 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/0.9679, allocations: 1.334 MB / 0.8184 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.9679, allocations: 10.97 kB / 0.8184 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.968, allocations: 0.5625 kB / 0.8184 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.968, allocations: 6.016 kB / 0.8184 GB, free: 6.688 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 postOpt removeSimpleEquations (simulation): time 0.004832/0.9728, allocations: 2.693 MB / 0.821 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.9728, allocations: 3.938 kB / 0.8211 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009326/0.9738, allocations: 215.8 kB / 0.8213 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004594/0.9743, allocations: 73.69 kB / 0.8213 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.903e-05/0.9743, allocations: 34.77 kB / 0.8214 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.9765, allocations: 1.67 MB / 0.823 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9766, allocations: 0 / 0.823 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.9794, allocations: 1.231 MB / 0.8242 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006884/0.9801, allocations: 341.5 kB / 0.8245 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.9803, allocations: 17.12 kB / 0.8245 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008541/0.9812, allocations: 77.77 kB / 0.8246 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.9814, allocations: 68.62 kB / 0.8247 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.9815, allocations: 53.17 kB / 0.8247 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009108/0.9824, allocations: 0.5881 MB / 0.8253 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.82e-07/0.9824, allocations: 0 / 0.8253 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001344/0.9838, allocations: 466.8 kB / 0.8257 GB, free: 1.965 MB / 0.5919 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.002221/0.986, allocations: 0.6948 MB / 0.8264 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003464/0.9895, allocations: 1.359 MB / 0.8278 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.9895, allocations: 2.688 kB / 0.8278 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.9908, allocations: 0.639 MB / 0.8284 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.9934, allocations: 0.5309 MB / 0.8289 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005684/0.9991, allocations: 2.407 MB / 0.8312 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009312/1, allocations: 1.174 MB / 0.8324 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005898/1.001, allocations: 147.4 kB / 0.8325 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of SimCode: time 8.11e-07/1.001, allocations: 4 kB / 0.8325 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.04236/1.043, allocations: 26.97 MB / 0.8589 GB, free: 1.914 MB / 0.6231 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