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.01603/0.01603, allocations: 100.5 kB / 15.87 MB, free: 6.305 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.002066/0.002067, allocations: 194.9 kB / 16.79 MB, free: 6.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.478/2.478, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003234/0.003234, allocations: 270.8 kB / 290.9 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.811/1.811, allocations: 169.2 MB / 0.4984 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003632/0.003631, allocations: 95.47 kB / 0.5951 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4164, allocations: 86.99 MB / 0.6801 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.01063/0.4271, allocations: 3.746 MB / 0.6837 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01343/0.4406, allocations: 3.438 MB / 0.6871 GB, free: 9.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.4417, allocations: 11.94 kB / 0.6871 GB, free: 9.934 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/Photovoltaics/BaseClasses/PVModuleGeneral.mo:38:3-39:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/Photovoltaics/BaseClasses/OpticalModels/OpticalModelGeneral.mo:10:3-12:121:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001164/0.443, allocations: 103.3 kB / 0.6872 GB, free: 9.832 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.4462, allocations: 378.2 kB / 0.6876 GB, free: 9.461 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.4482, allocations: 322.3 kB / 0.6879 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.45, allocations: 0.7017 MB / 0.6886 GB, free: 8.445 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006595/0.4507, allocations: 185.6 kB / 0.6887 GB, free: 8.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000906/0.4516, allocations: 274.8 kB / 0.689 GB, free: 7.992 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000982/0.4526, allocations: 294.6 kB / 0.6893 GB, free: 7.703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.4529, allocations: 32 kB / 0.6893 GB, free: 7.672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.455, allocations: 471.5 kB / 0.6898 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004184/0.4554, allocations: 135.4 kB / 0.6899 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007365/0.4562, allocations: 294.3 kB / 0.6902 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.4583, allocations: 0.8107 MB / 0.691 GB, free: 5.977 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.4584, allocations: 0 / 0.691 GB, free: 5.977 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4584, allocations: 0 / 0.691 GB, free: 5.977 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.86e-05/0.4584, allocations: 0 / 0.691 GB, free: 5.977 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.004367/0.4628, allocations: 0.9953 MB / 0.6919 GB, free: 4.926 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.971e-05/0.4629, allocations: 8.031 kB / 0.6919 GB, free: 4.918 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006556/0.4695, allocations: 0.6206 MB / 0.6925 GB, free: 4.297 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/0.4725, allocations: 0.6234 MB / 0.6932 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/0.4728, allocations: 122.7 kB / 0.6933 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/0.4731, allocations: 43.94 kB / 0.6933 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003386/0.4765, allocations: 0.6947 MB / 0.694 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.4766, allocations: 3.938 kB / 0.694 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.4767, allocations: 20 kB / 0.694 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.4768, allocations: 15.98 kB / 0.694 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00404/0.4808, allocations: 0.7611 MB / 0.6948 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006878/0.4878, allocations: 1.817 MB / 0.6965 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005176/0.493, allocations: 0.8479 MB / 0.6974 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.4948, allocations: 362 kB / 0.6977 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003384/0.4983, allocations: 1.769 MB / 0.6994 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002515/0.5008, allocations: 446.7 kB / 0.6999 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 6.131e-06/0.5009, allocations: 0 / 0.6999 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55): time 0.01288/0.5138, allocations: 1.62 MB / 0.7015 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/0.514, allocations: 115.3 kB / 0.7016 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.5153, allocations: 406 kB / 0.702 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000233/0.5156, allocations: 37.7 kB / 0.702 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/0.5161, allocations: 276.7 kB / 0.7023 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004746/0.5166, allocations: 185.4 kB / 0.7024 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005729/0.5172, allocations: 122.2 kB / 0.7025 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003065/0.5175, allocations: 358.8 kB / 0.7029 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.5192, allocations: 305.1 kB / 0.7032 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/0.5212, allocations: 457.3 kB / 0.7036 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003733/0.5249, allocations: 0.7106 MB / 0.7043 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.525, allocations: 0 / 0.7043 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.007224/0.5322, allocations: 1.038 MB / 0.7053 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.5324, allocations: 4 kB / 0.7053 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/0.5324, allocations: 8.281 kB / 0.7053 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.5339, allocations: 144.6 kB / 0.7055 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.5358, allocations: 163.7 kB / 0.7056 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00948/0.5453, allocations: 1.984 MB / 0.7076 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.5473, allocations: 95.39 kB / 0.7077 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/0.5476, allocations: 35.97 kB / 0.7077 GB, free: 3.918 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.0009195/0.5485, allocations: 210.3 kB / 0.7079 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/0.5489, allocations: 51.34 kB / 0.7079 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006724/0.5556, allocations: 1.052 MB / 0.709 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.5557, allocations: 8 kB / 0.709 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.5557, allocations: 0 / 0.709 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.5558, allocations: 7.922 kB / 0.709 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007798/0.5636, allocations: 1.751 MB / 0.7107 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.5636, allocations: 0 / 0.7107 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.5651, allocations: 139.8 kB / 0.7108 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/0.5665, allocations: 132.7 kB / 0.711 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.5667, allocations: 19.98 kB / 0.711 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00619/0.5729, allocations: 1.758 MB / 0.7127 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.5729, allocations: 0 / 0.7127 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006051/0.579, allocations: 1.019 MB / 0.7137 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006383/0.5797, allocations: 212.1 kB / 0.7139 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.5799, allocations: 12 kB / 0.7139 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.5811, allocations: 65.3 kB / 0.714 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.5813, allocations: 44.58 kB / 0.714 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.5814, allocations: 23.98 kB / 0.714 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006733/0.5821, allocations: 295.1 kB / 0.7143 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.7e-07/0.5821, allocations: 0 / 0.7143 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001461/0.5836, allocations: 231.7 kB / 0.7145 GB, free: 12.64 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.002081/0.5857, allocations: 0.4996 MB / 0.715 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004069/0.5898, allocations: 0.8696 MB / 0.7159 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.5899, allocations: 0 / 0.7159 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.5918, allocations: 0.5095 MB / 0.7164 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.5929, allocations: 69.88 kB / 0.7164 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/0.5974, allocations: 1.525 MB / 0.7179 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007947/0.5982, allocations: 0.8853 MB / 0.7188 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005886/0.5989, allocations: 75.38 kB / 0.7189 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of SimCode: time 1.022e-06/0.5989, allocations: 0 / 0.7189 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.03279/0.6317, allocations: 12.7 MB / 0.7313 GB, free: 11.61 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