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.001629/0.001635, allocations: 100.1 kB / 15.88 MB, free: 12 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.002225/0.002225, allocations: 196.9 kB / 16.79 MB, free: 6.863 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.51/2.51, 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.004214/0.004214, allocations: 278.9 kB / 290.9 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.554/1.554, allocations: 169.2 MB / 0.4984 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 93.31 kB / 0.5951 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3569, allocations: 86.99 MB / 0.6801 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.008501/0.3655, allocations: 3.714 MB / 0.6837 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007922/0.3735, allocations: 3.474 MB / 0.6871 GB, free: 9.977 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007892/0.3743, allocations: 7.938 kB / 0.6871 GB, free: 9.969 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.0008928/0.3753, allocations: 103.2 kB / 0.6872 GB, free: 9.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.3772, allocations: 378.2 kB / 0.6876 GB, free: 9.496 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.3786, allocations: 346.4 kB / 0.6879 GB, free: 9.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.3799, allocations: 0.7449 MB / 0.6886 GB, free: 8.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005111/0.3804, allocations: 197.5 kB / 0.6888 GB, free: 8.219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005665/0.381, allocations: 282.7 kB / 0.6891 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007041/0.3817, allocations: 322.6 kB / 0.6894 GB, free: 7.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.3818, allocations: 32 kB / 0.6894 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.3833, allocations: 479.5 kB / 0.6899 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.3836, allocations: 147.4 kB / 0.69 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004421/0.3841, allocations: 294.3 kB / 0.6903 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.3855, allocations: 0.8341 MB / 0.6911 GB, free: 5.855 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.3855, allocations: 0 / 0.6911 GB, free: 5.855 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3855, allocations: 0 / 0.6911 GB, free: 5.855 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.3856, allocations: 0 / 0.6911 GB, free: 5.855 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.003419/0.389, allocations: 1.027 MB / 0.6921 GB, free: 4.773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.536e-05/0.3891, allocations: 8.031 kB / 0.6921 GB, free: 4.766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004231/0.3933, allocations: 0.562 MB / 0.6927 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.3955, allocations: 0.6273 MB / 0.6933 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.3957, allocations: 122.2 kB / 0.6934 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.3958, allocations: 44 kB / 0.6934 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.3979, allocations: 0.683 MB / 0.6941 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.398, allocations: 4 kB / 0.6941 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.3981, allocations: 27.92 kB / 0.6941 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.3981, allocations: 8 kB / 0.6941 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.4005, allocations: 0.7065 MB / 0.6948 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005741/0.4062, allocations: 1.867 MB / 0.6967 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003837/0.4101, allocations: 0.8299 MB / 0.6975 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.4114, allocations: 350.3 kB / 0.6978 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003198/0.4146, allocations: 1.761 MB / 0.6995 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001559/0.4162, allocations: 430.9 kB / 0.6999 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=56): time 6.572e-06/0.4162, allocations: 0 / 0.6999 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56): time 0.009464/0.4257, allocations: 1.511 MB / 0.7014 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.4259, allocations: 111.4 kB / 0.7015 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.427, allocations: 402 kB / 0.7019 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.4272, allocations: 33.7 kB / 0.7019 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.4277, allocations: 268.6 kB / 0.7022 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003535/0.428, allocations: 189.3 kB / 0.7024 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004131/0.4285, allocations: 122.2 kB / 0.7025 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000297/0.4288, allocations: 362.8 kB / 0.7028 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.43, allocations: 293 kB / 0.7031 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.4313, allocations: 431.7 kB / 0.7035 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.4338, allocations: 0.695 MB / 0.7042 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.4338, allocations: 0 / 0.7042 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.006496/0.4403, allocations: 1.081 MB / 0.7053 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.4404, allocations: 8 kB / 0.7053 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.4405, allocations: 7.938 kB / 0.7053 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004906/0.4454, allocations: 376.5 kB / 0.7056 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.447, allocations: 159.7 kB / 0.7058 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006529/0.4535, allocations: 2.022 MB / 0.7078 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.4551, allocations: 83.47 kB / 0.7078 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/0.4554, allocations: 27.98 kB / 0.7079 GB, free: 3.762 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.0006599/0.456, allocations: 213.2 kB / 0.7081 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.4563, allocations: 55.34 kB / 0.7081 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005635/0.462, allocations: 1.07 MB / 0.7092 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.462, allocations: 8 kB / 0.7092 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.462, allocations: 0 / 0.7092 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.4621, allocations: 3.984 kB / 0.7092 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006364/0.4684, allocations: 1.78 MB / 0.7109 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.4685, allocations: 0 / 0.7109 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.4697, allocations: 147.8 kB / 0.7111 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001918/0.4716, allocations: 184.7 kB / 0.7112 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.4718, allocations: 15.98 kB / 0.7112 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004174/0.476, allocations: 1.786 MB / 0.713 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.476, allocations: 0 / 0.713 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005008/0.481, allocations: 1.022 MB / 0.714 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005954/0.4817, allocations: 204.2 kB / 0.7142 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.4818, allocations: 12 kB / 0.7142 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009875/0.4828, allocations: 62.02 kB / 0.7143 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.4831, allocations: 56.52 kB / 0.7143 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.4832, allocations: 23.98 kB / 0.7143 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006109/0.4838, allocations: 283.1 kB / 0.7146 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4838, allocations: 0 / 0.7146 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001482/0.4853, allocations: 235.6 kB / 0.7148 GB, free: 12.38 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.002122/0.4874, allocations: 0.5099 MB / 0.7153 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003792/0.4913, allocations: 0.8796 MB / 0.7162 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4913, allocations: 0 / 0.7162 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.4931, allocations: 0.5297 MB / 0.7167 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009297/0.4941, allocations: 57.55 kB / 0.7168 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.4983, allocations: 1.512 MB / 0.7182 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007448/0.4991, allocations: 0.8814 MB / 0.7191 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/0.4996, allocations: 83.38 kB / 0.7192 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of SimCode: time 1.603e-06/0.4997, allocations: 4 kB / 0.7192 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.03004/0.5297, allocations: 12.54 MB / 0.7314 GB, free: 11.47 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