Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.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.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009908/0.0009955, allocations: 99.34 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.001454/0.001455, 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.352/1.352, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001933/0.001933, allocations: 278.6 kB / 292.3 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9196/0.9196, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003986, allocations: 15.25 kB / 0.5993 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1527, allocations: 88.55 MB / 0.6858 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.00364/0.1564, allocations: 3.333 MB / 0.689 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004464/0.1609, allocations: 3.419 MB / 0.6924 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.1611, allocations: 7.938 kB / 0.6924 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.1615, allocations: 99.31 kB / 0.6925 GB, free: 8.254 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008918/0.1624, allocations: 375.8 kB / 0.6928 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006784/0.1631, allocations: 352.4 kB / 0.6932 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006545/0.1637, allocations: 0.7526 MB / 0.6939 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.164, allocations: 181.6 kB / 0.6941 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003173/0.1643, allocations: 262.8 kB / 0.6943 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004283/0.1648, allocations: 290.6 kB / 0.6946 GB, free: 6.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.041e-05/0.1648, allocations: 28 kB / 0.6946 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007306/0.1656, allocations: 471.4 kB / 0.6951 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.1657, allocations: 123.5 kB / 0.6952 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.166, allocations: 292 kB / 0.6955 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007549/0.1667, allocations: 0.8183 MB / 0.6963 GB, free: 4.348 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1667, allocations: 4 kB / 0.6963 GB, free: 4.344 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1667, allocations: 0 / 0.6963 GB, free: 4.344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1668, allocations: 0 / 0.6963 GB, free: 4.344 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001822/0.1686, allocations: 0.8942 MB / 0.6971 GB, free: 3.395 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1686, allocations: 12.03 kB / 0.6972 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003094/0.1717, allocations: 0.5815 MB / 0.6977 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.173, allocations: 0.6313 MB / 0.6983 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.1732, allocations: 122.2 kB / 0.6985 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.1733, allocations: 44 kB / 0.6985 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.1746, allocations: 0.6909 MB / 0.6992 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1747, allocations: 0 / 0.6992 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.1747, allocations: 20 kB / 0.6992 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1747, allocations: 12 kB / 0.6992 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.1764, allocations: 0.722 MB / 0.6999 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/0.1795, allocations: 1.879 MB / 0.7017 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.1821, allocations: 0.8296 MB / 0.7025 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008085/0.1829, allocations: 350.3 kB / 0.7029 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/0.1845, allocations: 1.765 MB / 0.7046 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009032/0.1855, allocations: 434.9 kB / 0.705 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=56): time 2.064e-06/0.1855, allocations: 0 / 0.705 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56): time 0.006453/0.1919, allocations: 1.519 MB / 0.7065 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.192, allocations: 107.4 kB / 0.7066 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004382/0.1924, allocations: 413.9 kB / 0.707 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/0.1925, allocations: 33.7 kB / 0.707 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.1927, allocations: 268.6 kB / 0.7073 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.1929, allocations: 189.2 kB / 0.7075 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.55e-05/0.1929, allocations: 53.69 kB / 0.7075 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1931, allocations: 358.8 kB / 0.7079 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007327/0.1938, allocations: 293.1 kB / 0.7081 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008128/0.1947, allocations: 437.5 kB / 0.7086 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.1962, allocations: 0.7067 MB / 0.7093 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1962, allocations: 0 / 0.7093 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004095/0.2003, allocations: 1.092 MB / 0.7103 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2003, allocations: 8 kB / 0.7103 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2003, allocations: 0 / 0.7103 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003037/0.2034, allocations: 384.5 kB / 0.7107 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00076/0.2041, allocations: 167.7 kB / 0.7109 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00364/0.2078, allocations: 2.003 MB / 0.7128 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006785/0.2085, allocations: 103.1 kB / 0.7129 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/0.2086, allocations: 27.97 kB / 0.7129 GB, free: 2.344 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {3} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003055/0.2089, allocations: 208.8 kB / 0.7131 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/0.209, allocations: 51.42 kB / 0.7132 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/0.2121, allocations: 1.085 MB / 0.7142 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.2121, allocations: 4 kB / 0.7142 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2121, allocations: 4 kB / 0.7142 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.2121, allocations: 3.984 kB / 0.7143 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0037/0.2158, allocations: 1.796 MB / 0.716 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.2158, allocations: 0 / 0.716 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007091/0.2165, allocations: 139.8 kB / 0.7161 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.2177, allocations: 184.7 kB / 0.7163 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/0.2178, allocations: 15.98 kB / 0.7163 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.2202, allocations: 1.79 MB / 0.7181 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2202, allocations: 0 / 0.7181 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.2229, allocations: 1.025 MB / 0.7191 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.2231, allocations: 216.2 kB / 0.7193 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.2232, allocations: 12 kB / 0.7193 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/0.2238, allocations: 57.19 kB / 0.7194 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.2239, allocations: 48.59 kB / 0.7194 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.224, allocations: 27.97 kB / 0.7194 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002984/0.2243, allocations: 287.1 kB / 0.7197 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2243, allocations: 0 / 0.7197 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007227/0.225, allocations: 235.6 kB / 0.7199 GB, free: 10.93 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 (67): * Single equations (assignments): 65 * 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001156/0.2262, allocations: 0.4996 MB / 0.7204 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002083/0.2283, allocations: 0.8913 MB / 0.7213 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2283, allocations: 0 / 0.7213 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.2293, allocations: 0.5335 MB / 0.7218 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.2298, allocations: 66.47 kB / 0.7219 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.2322, allocations: 1.578 MB / 0.7234 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.2326, allocations: 0.8815 MB / 0.7243 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.2329, allocations: 79.38 kB / 0.7243 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of SimCode: time 4.4e-07/0.2329, allocations: 3.938 kB / 0.7243 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of Templates: time 0.01589/0.2488, allocations: 12.47 MB / 0.7365 GB, free: 10.02 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.makefile make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.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.PVModuleComplexMPPCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPPCalcHelperMain.o] Error 1