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.005435/0.005435, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001143/0.001144, allocations: 195.7 kB / 16.79 MB, free: 5.809 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.311/1.311, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.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.9824/0.9824, allocations: 143 MB / 433.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.89 kB / 0.5141 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1604, allocations: 82.03 MB / 0.5943 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4728/0.6332, allocations: 173.5 MB / 0.7637 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01723/0.6505, allocations: 12.72 MB / 0.7762 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.6522, allocations: 27.88 kB / 0.7762 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.6538, allocations: 361.7 kB / 0.7765 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003162/0.657, allocations: 0.8369 MB / 0.7773 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004702/0.6617, allocations: 1.629 MB / 0.7789 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003773/0.6655, allocations: 2.63 MB / 0.7815 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002233/0.6677, allocations: 1.447 MB / 0.7829 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004585/0.6723, allocations: 1.213 MB / 0.7841 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.6736, allocations: 0.8011 MB / 0.7849 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.6738, allocations: 91.94 kB / 0.785 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.6769, allocations: 1.45 MB / 0.7864 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000469/0.6773, allocations: 398.5 kB / 0.7868 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008751/0.6782, allocations: 0.7304 MB / 0.7875 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.6809, allocations: 2.035 MB / 0.7895 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.681, allocations: 0 / 0.7895 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.681, allocations: 0 / 0.7895 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.078e-05/0.681, allocations: 0 / 0.7895 GB, free: 5.957 MB / 0.6075 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.003666/0.6847, allocations: 1.907 MB / 0.7913 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.6847, allocations: 12.03 kB / 0.7913 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/0.6875, allocations: 397.7 kB / 0.7917 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.689, allocations: 0.9604 MB / 0.7927 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/0.6891, allocations: 98.62 kB / 0.7928 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.6892, allocations: 128 kB / 0.7929 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.6918, allocations: 1.453 MB / 0.7943 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.6919, allocations: 0 / 0.7943 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.692, allocations: 59.98 kB / 0.7944 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.692, allocations: 32 kB / 0.7944 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/0.6946, allocations: 1.536 MB / 0.7959 GB, free: 15.2 MB / 0.6231 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.00738/0.702, allocations: 4.916 MB / 0.8007 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.7045, allocations: 1.426 MB / 0.8021 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008016/0.7053, allocations: 460.7 kB / 0.8025 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008063/0.7062, allocations: 421.4 kB / 0.8029 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/0.7073, allocations: 0.6178 MB / 0.8035 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=98): time 2.564e-06/0.7073, allocations: 0 / 0.8035 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98): time 0.004109/0.7115, allocations: 1.528 MB / 0.805 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.7116, allocations: 200.9 kB / 0.8052 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.7128, allocations: 0.8465 MB / 0.806 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.713, allocations: 45.7 kB / 0.8061 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004908/0.7135, allocations: 0.5661 MB / 0.8066 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.7138, allocations: 335.2 kB / 0.8069 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003321/0.7141, allocations: 202.4 kB / 0.8071 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.7143, allocations: 349.9 kB / 0.8075 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007368/0.715, allocations: 365.8 kB / 0.8078 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009087/0.7159, allocations: 0.5364 MB / 0.8083 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.7176, allocations: 0.9019 MB / 0.8092 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.7177, allocations: 4 kB / 0.8092 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002784/0.7204, allocations: 1.145 MB / 0.8104 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.7205, allocations: 12 kB / 0.8104 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.7205, allocations: 4 kB / 0.8104 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/0.7211, allocations: 84.77 kB / 0.8104 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.7223, allocations: 239.6 kB / 0.8107 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.7244, allocations: 1.532 MB / 0.8122 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.7258, allocations: 136.5 kB / 0.8123 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.7259, allocations: 52.67 kB / 0.8124 GB, free: 13.54 MB / 0.6387 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.0007063/0.7266, allocations: 329.5 kB / 0.8127 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/0.7269, allocations: 114.6 kB / 0.8128 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.7301, allocations: 1.335 MB / 0.8141 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.7301, allocations: 12 kB / 0.8141 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.7301, allocations: 0 / 0.8141 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.7302, allocations: 11.97 kB / 0.8141 GB, free: 11.73 MB / 0.6387 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.005069/0.7352, allocations: 2.694 MB / 0.8167 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.7353, allocations: 4 kB / 0.8167 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009981/0.7363, allocations: 215.6 kB / 0.8169 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005507/0.7368, allocations: 80.78 kB / 0.817 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.736e-05/0.7369, allocations: 31.97 kB / 0.817 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.7391, allocations: 1.56 MB / 0.8186 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7391, allocations: 0 / 0.8186 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002955/0.742, allocations: 1.234 MB / 0.8198 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007176/0.7428, allocations: 327.4 kB / 0.8201 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000274/0.7431, allocations: 31.92 kB / 0.8201 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.7442, allocations: 88.58 kB / 0.8202 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.7444, allocations: 68.89 kB / 0.8203 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.7445, allocations: 47.97 kB / 0.8203 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009788/0.7455, allocations: 0.5902 MB / 0.8209 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7455, allocations: 0 / 0.8209 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001421/0.7469, allocations: 458.9 kB / 0.8213 GB, free: 4.047 MB / 0.6387 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.001948/0.7489, allocations: 0.7034 MB / 0.822 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002472/0.7514, allocations: 1.068 MB / 0.8231 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.7514, allocations: 8 kB / 0.8231 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.7527, allocations: 0.6328 MB / 0.8237 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/0.7553, allocations: 494 kB / 0.8242 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/0.7612, allocations: 2.96 MB / 0.827 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.7623, allocations: 1.174 MB / 0.8282 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005761/0.7629, allocations: 155.3 kB / 0.8283 GB, free: 13 MB / 0.6544 GB Notification: Performance of SimCode: time 9.41e-07/0.7629, allocations: 0 / 0.8283 GB, free: 13 MB / 0.6544 GB Notification: Performance of Templates: time 0.03954/0.8024, allocations: 26.97 MB / 0.8547 GB, free: 2.16 MB / 0.67 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++14 -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