Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007617/0.0007618, allocations: 97.78 kB / 16.02 MB, free: 76 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.000803/0.000803, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.333/1.333, allocations: 223.2 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001685/0.001685, allocations: 270.5 kB / 292.3 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9244/0.9244, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000419/0.000419, allocations: 15.86 kB / 0.5993 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.169, allocations: 88.56 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.003914/0.173, allocations: 3.364 MB / 0.6891 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004728/0.1778, allocations: 3.385 MB / 0.6924 GB, free: 8.316 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.178, allocations: 11.94 kB / 0.6924 GB, free: 8.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.1784, allocations: 103.3 kB / 0.6925 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009264/0.1793, allocations: 370.8 kB / 0.6928 GB, free: 7.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006702/0.18, allocations: 323.6 kB / 0.6931 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006181/0.1807, allocations: 0.7024 MB / 0.6938 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/0.1809, allocations: 184.2 kB / 0.694 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.1812, allocations: 242.8 kB / 0.6942 GB, free: 6.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.1816, allocations: 270.6 kB / 0.6945 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.656e-05/0.1817, allocations: 20 kB / 0.6945 GB, free: 6.121 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007053/0.1824, allocations: 467.5 kB / 0.695 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.1826, allocations: 119.4 kB / 0.6951 GB, free: 5.547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.1828, allocations: 296 kB / 0.6953 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007452/0.1836, allocations: 0.7988 MB / 0.6961 GB, free: 4.449 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1836, allocations: 0 / 0.6961 GB, free: 4.449 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1836, allocations: 4 kB / 0.6961 GB, free: 4.445 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1836, allocations: 0 / 0.6961 GB, free: 4.445 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001695/0.1853, allocations: 0.8668 MB / 0.697 GB, free: 3.523 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.1853, allocations: 8.031 kB / 0.697 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003385/0.1887, allocations: 0.6323 MB / 0.6976 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.19, allocations: 0.6312 MB / 0.6982 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.1902, allocations: 122.7 kB / 0.6983 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.93e-05/0.1903, allocations: 51.92 kB / 0.6984 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.1918, allocations: 0.7026 MB / 0.6991 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1918, allocations: 0 / 0.6991 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/0.1919, allocations: 20 kB / 0.6991 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.1919, allocations: 12 kB / 0.6991 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.1939, allocations: 0.7689 MB / 0.6999 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/0.1971, allocations: 1.818 MB / 0.7016 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/0.1999, allocations: 0.8585 MB / 0.7025 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009384/0.2008, allocations: 369.9 kB / 0.7028 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001746/0.2026, allocations: 1.765 MB / 0.7045 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.2036, allocations: 450.7 kB / 0.705 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 2.345e-06/0.2036, allocations: 0 / 0.705 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55): time 0.00657/0.2102, allocations: 1.648 MB / 0.7066 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.2103, allocations: 111.3 kB / 0.7067 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.2108, allocations: 410 kB / 0.7071 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.366e-05/0.2109, allocations: 37.7 kB / 0.7071 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.2111, allocations: 280.6 kB / 0.7074 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.2113, allocations: 185.2 kB / 0.7076 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.978e-05/0.2114, allocations: 49.7 kB / 0.7076 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.2115, allocations: 358.8 kB / 0.7079 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008407/0.2124, allocations: 317.1 kB / 0.7083 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009273/0.2133, allocations: 457.4 kB / 0.7087 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.215, allocations: 0.7184 MB / 0.7094 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.2151, allocations: 4 kB / 0.7094 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003509/0.2186, allocations: 1.053 MB / 0.7104 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2186, allocations: 4 kB / 0.7104 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.2186, allocations: 7.938 kB / 0.7104 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007268/0.2194, allocations: 153 kB / 0.7106 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.2201, allocations: 163.7 kB / 0.7107 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004517/0.2247, allocations: 2.006 MB / 0.7127 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007245/0.2254, allocations: 96.12 kB / 0.7128 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/0.2255, allocations: 27.97 kB / 0.7128 GB, free: 2.441 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003329/0.2258, allocations: 214.3 kB / 0.713 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.404e-05/0.2259, allocations: 51.34 kB / 0.7131 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/0.2292, allocations: 1.063 MB / 0.7141 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.2292, allocations: 4 kB / 0.7141 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.2292, allocations: 0 / 0.7141 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.2292, allocations: 7.922 kB / 0.7141 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00383/0.233, allocations: 1.766 MB / 0.7158 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.2331, allocations: 0 / 0.7158 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006866/0.2337, allocations: 143.8 kB / 0.716 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007602/0.2345, allocations: 136.7 kB / 0.7161 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.187e-05/0.2346, allocations: 19.92 kB / 0.7161 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003129/0.2377, allocations: 1.786 MB / 0.7179 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2377, allocations: 4.031 kB / 0.7179 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/0.2407, allocations: 1.023 MB / 0.7189 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.241, allocations: 220.1 kB / 0.7191 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.963e-05/0.2411, allocations: 12 kB / 0.7191 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006403/0.2417, allocations: 65.25 kB / 0.7192 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.2419, allocations: 44.48 kB / 0.7192 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.999e-05/0.2419, allocations: 27.98 kB / 0.7192 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000345/0.2423, allocations: 287.1 kB / 0.7195 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2423, allocations: 0 / 0.7195 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000819/0.2431, allocations: 235.7 kB / 0.7197 GB, free: 11.09 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001314/0.2444, allocations: 0.5048 MB / 0.7202 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00223/0.2467, allocations: 0.8773 MB / 0.7211 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2467, allocations: 0 / 0.7211 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.2478, allocations: 0.5174 MB / 0.7216 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.2483, allocations: 64.56 kB / 0.7216 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.2509, allocations: 1.607 MB / 0.7232 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.2514, allocations: 0.8775 MB / 0.7241 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.2517, allocations: 83.38 kB / 0.7241 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.2517, allocations: 0 / 0.7241 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of Templates: time 0.01861/0.2703, allocations: 12.61 MB / 0.7365 GB, free: 10.04 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.makefile make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.makefile clang++ -std=c++14 NOTFOUND -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 OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPPCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPPCalcHelperMain.o] Error 1