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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.0008511/0.0008511, allocations: 102.7 kB / 15.71 MB, free: 460 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.0009449/0.0009447, allocations: 175 kB / 16.58 MB, free: 6.07 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.507/1.507, allocations: 223.3 MB / 240.6 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.057/1.057, allocations: 143.4 MB / 435.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 11.98 kB / 0.5166 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2147, allocations: 83.42 MB / 0.5981 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6282/0.8429, allocations: 159.7 MB / 0.7541 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01746/0.8604, allocations: 11.77 MB / 0.7655 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.8619, allocations: 31.81 kB / 0.7656 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.8632, allocations: 305.8 kB / 0.7659 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.866, allocations: 0.7782 MB / 0.7666 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004599/0.8706, allocations: 1.336 MB / 0.7679 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003315/0.874, allocations: 2.31 MB / 0.7702 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.8759, allocations: 1.151 MB / 0.7713 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.8787, allocations: 1.005 MB / 0.7723 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.8797, allocations: 0.6375 MB / 0.7729 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.8798, allocations: 40 kB / 0.773 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.8824, allocations: 0.8813 MB / 0.7738 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003869/0.8828, allocations: 314.8 kB / 0.7741 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.8832, allocations: 284.9 kB / 0.7744 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002928/0.8862, allocations: 1.933 MB / 0.7763 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.8862, allocations: 4 kB / 0.7763 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.026e-06/0.8862, allocations: 0 / 0.7763 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.31e-05/0.8862, allocations: 0 / 0.7763 GB, free: 5.641 MB / 0.5919 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.003154/0.8894, allocations: 1.603 MB / 0.7778 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.8895, allocations: 16.03 kB / 0.7779 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002504/0.892, allocations: 405.6 kB / 0.7782 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.8936, allocations: 0.9184 MB / 0.7791 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.8937, allocations: 94.62 kB / 0.7792 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.8939, allocations: 136 kB / 0.7794 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.8966, allocations: 1.449 MB / 0.7808 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.8966, allocations: 0 / 0.7808 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.8967, allocations: 60 kB / 0.7808 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.8968, allocations: 35.94 kB / 0.7809 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.8993, allocations: 1.528 MB / 0.7824 GB, free: 15.23 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.007737/0.9071, allocations: 4.951 MB / 0.7872 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.9095, allocations: 1.42 MB / 0.7886 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007973/0.9103, allocations: 456.8 kB / 0.789 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007933/0.9111, allocations: 437.4 kB / 0.7894 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/0.9123, allocations: 0.6177 MB / 0.79 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 3.717e-06/0.9123, allocations: 0 / 0.79 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.003925/0.9162, allocations: 1.539 MB / 0.7915 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.9164, allocations: 200.9 kB / 0.7917 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.9177, allocations: 0.8387 MB / 0.7926 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.935e-05/0.9178, allocations: 49.69 kB / 0.7926 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006144/0.9184, allocations: 0.5661 MB / 0.7932 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/0.9188, allocations: 331.2 kB / 0.7935 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.9188, allocations: 16 kB / 0.7935 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.919, allocations: 345.9 kB / 0.7938 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006969/0.9197, allocations: 369.8 kB / 0.7942 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008624/0.9206, allocations: 0.5286 MB / 0.7947 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008206/0.9214, allocations: 430.9 kB / 0.7951 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9214, allocations: 0 / 0.7951 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002465/0.9239, allocations: 1.161 MB / 0.7962 GB, free: 436 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.9239, allocations: 4 kB / 0.7962 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.924, allocations: 11.89 kB / 0.7962 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005448/0.9245, allocations: 89.12 kB / 0.7963 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.9255, allocations: 247.7 kB / 0.7966 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.9277, allocations: 1.531 MB / 0.7981 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.9288, allocations: 139 kB / 0.7982 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.395e-05/0.9289, allocations: 51.97 kB / 0.7982 GB, free: 14.22 MB / 0.6231 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007883/0.9297, allocations: 333.4 kB / 0.7986 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.9299, allocations: 114.6 kB / 0.7987 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.9328, allocations: 1.347 MB / 0.8 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.9329, allocations: 20.62 kB / 0.8 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.9329, allocations: 0 / 0.8 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.9329, allocations: 3.984 kB / 0.8 GB, free: 12.4 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 postOpt removeSimpleEquations (simulation): time 0.004586/0.9375, allocations: 2.69 MB / 0.8026 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.9375, allocations: 3.953 kB / 0.8026 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000922/0.9384, allocations: 219.8 kB / 0.8028 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004671/0.9389, allocations: 88.7 kB / 0.8029 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.807e-05/0.939, allocations: 27.98 kB / 0.803 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.9409, allocations: 1.559 MB / 0.8045 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.941, allocations: 4.031 kB / 0.8045 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.9434, allocations: 1.222 MB / 0.8057 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006733/0.9441, allocations: 355.1 kB / 0.806 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.9443, allocations: 20 kB / 0.806 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008153/0.9451, allocations: 103.5 kB / 0.8061 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.9453, allocations: 76.83 kB / 0.8062 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.775e-05/0.9454, allocations: 43.97 kB / 0.8062 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009462/0.9463, allocations: 0.5825 MB / 0.8068 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.9463, allocations: 0 / 0.8068 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001568/0.9479, allocations: 462.9 kB / 0.8073 GB, free: 4.699 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/0.9497, allocations: 0.6933 MB / 0.8079 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002335/0.9521, allocations: 1.072 MB / 0.809 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.9521, allocations: 0 / 0.809 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.9532, allocations: 0.6368 MB / 0.8096 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.9554, allocations: 0.4896 MB / 0.8101 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005316/0.9608, allocations: 2.974 MB / 0.813 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007712/0.9616, allocations: 1.178 MB / 0.8141 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004751/0.962, allocations: 143.4 kB / 0.8143 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of SimCode: time 9.32e-07/0.9621, allocations: 0 / 0.8143 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of Templates: time 0.04173/1.004, allocations: 26.83 MB / 0.8405 GB, free: 2.934 MB / 0.6544 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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 clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.o] Error 1