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.00109/0.00109, allocations: 88.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 180.8 kB / 16.92 MB, free: 6.23 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.506/1.506, allocations: 223.3 MB / 241 MB, free: 5.27 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.986/0.986, allocations: 143.2 MB / 435.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003338, allocations: 12 kB / 0.517 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1571, allocations: 83.41 MB / 0.5985 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4389/0.596, allocations: 171.3 MB / 0.7657 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0165/0.6126, allocations: 12.53 MB / 0.778 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.6138, allocations: 35.81 kB / 0.778 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.6151, allocations: 361.7 kB / 0.7783 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002729/0.6178, allocations: 0.8291 MB / 0.7791 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004211/0.6221, allocations: 1.63 MB / 0.7807 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003004/0.6251, allocations: 2.626 MB / 0.7833 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.627, allocations: 1.367 MB / 0.7846 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004168/0.6312, allocations: 1.103 MB / 0.7857 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009374/0.6321, allocations: 0.6684 MB / 0.7864 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.6323, allocations: 40 kB / 0.7864 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.6349, allocations: 1.415 MB / 0.7878 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003638/0.6353, allocations: 322.7 kB / 0.7881 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006873/0.636, allocations: 0.6657 MB / 0.7887 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002435/0.6385, allocations: 1.995 MB / 0.7907 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6385, allocations: 0 / 0.7907 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6385, allocations: 3.938 kB / 0.7907 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.059e-05/0.6385, allocations: 0 / 0.7907 GB, free: 7.211 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.002777/0.6413, allocations: 1.592 MB / 0.7923 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.6414, allocations: 8.031 kB / 0.7923 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002602/0.644, allocations: 409.6 kB / 0.7927 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.6455, allocations: 0.9644 MB / 0.7936 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/0.6456, allocations: 94.62 kB / 0.7937 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.6458, allocations: 132 kB / 0.7938 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.6483, allocations: 1.46 MB / 0.7952 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.6484, allocations: 7.938 kB / 0.7952 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.6485, allocations: 60 kB / 0.7953 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.6486, allocations: 32 kB / 0.7953 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002642/0.6512, allocations: 1.54 MB / 0.7968 GB, free: 0.7383 MB / 0.6075 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.007277/0.6585, allocations: 4.946 MB / 0.8017 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.661, allocations: 1.431 MB / 0.8031 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008048/0.6618, allocations: 456.7 kB / 0.8035 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007989/0.6626, allocations: 437.4 kB / 0.8039 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.6638, allocations: 0.6255 MB / 0.8045 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=98): time 6.903e-06/0.6638, allocations: 0 / 0.8045 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98): time 0.004038/0.6678, allocations: 1.559 MB / 0.806 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.668, allocations: 188.9 kB / 0.8062 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.6692, allocations: 0.8543 MB / 0.8071 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.6694, allocations: 45.7 kB / 0.8071 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/0.6699, allocations: 0.5661 MB / 0.8077 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/0.6702, allocations: 327.2 kB / 0.808 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.6704, allocations: 85.67 kB / 0.8081 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6705, allocations: 345.9 kB / 0.8084 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007543/0.6713, allocations: 369.8 kB / 0.8087 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008766/0.6721, allocations: 0.5364 MB / 0.8093 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.6738, allocations: 0.9136 MB / 0.8102 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.6738, allocations: 4 kB / 0.8102 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002671/0.6765, allocations: 1.153 MB / 0.8113 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.6765, allocations: 8 kB / 0.8113 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.6765, allocations: 4 kB / 0.8113 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/0.6771, allocations: 89.17 kB / 0.8114 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.6782, allocations: 239.6 kB / 0.8116 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.6803, allocations: 1.533 MB / 0.8131 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.6814, allocations: 148.3 kB / 0.8132 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.312e-05/0.6815, allocations: 51.95 kB / 0.8133 GB, free: 15.09 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.0007033/0.6822, allocations: 325.5 kB / 0.8136 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.6824, allocations: 122.5 kB / 0.8137 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/0.6855, allocations: 1.335 MB / 0.815 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.6855, allocations: 12 kB / 0.815 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6856, allocations: 0 / 0.815 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.6856, allocations: 4.078 kB / 0.815 GB, free: 13.28 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.004765/0.6903, allocations: 2.705 MB / 0.8177 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.6904, allocations: 7.938 kB / 0.8177 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009645/0.6914, allocations: 219.7 kB / 0.8179 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005449/0.6919, allocations: 80.78 kB / 0.818 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-05/0.692, allocations: 35.97 kB / 0.818 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.6939, allocations: 1.556 MB / 0.8195 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6939, allocations: 0 / 0.8195 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.6966, allocations: 1.234 MB / 0.8207 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/0.6973, allocations: 351.2 kB / 0.8211 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.6975, allocations: 31.98 kB / 0.8211 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.6986, allocations: 107.1 kB / 0.8212 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.6988, allocations: 68.89 kB / 0.8213 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.6989, allocations: 47.97 kB / 0.8213 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009219/0.6998, allocations: 0.5864 MB / 0.8219 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6999, allocations: 0 / 0.8219 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001415/0.7013, allocations: 462.9 kB / 0.8223 GB, free: 5.539 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.001714/0.703, allocations: 0.7111 MB / 0.823 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002481/0.7055, allocations: 1.08 MB / 0.8241 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.7055, allocations: 0 / 0.8241 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.7068, allocations: 0.6368 MB / 0.8247 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/0.7095, allocations: 489.1 kB / 0.8252 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005915/0.7154, allocations: 3.037 MB / 0.8281 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007736/0.7162, allocations: 1.174 MB / 0.8293 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/0.7168, allocations: 155.3 kB / 0.8294 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of SimCode: time 7.31e-07/0.7168, allocations: 0 / 0.8294 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.03858/0.7553, allocations: 26.79 MB / 0.8556 GB, free: 3.711 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