Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.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.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001867/0.001873, 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.002054/0.002054, allocations: 195.5 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.226/2.226, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003558/0.003558, allocations: 286.9 kB / 290.9 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.793/1.793, allocations: 169.2 MB / 0.4983 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003802/0.003801, allocations: 94.38 kB / 0.5951 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4314, allocations: 86.99 MB / 0.6801 GB, free: 1.246 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.0126/0.4441, allocations: 3.76 MB / 0.6838 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.4561, allocations: 3.438 MB / 0.6871 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.4574, allocations: 7.938 kB / 0.6871 GB, free: 10.01 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.00139/0.4589, allocations: 99.31 kB / 0.6872 GB, free: 9.914 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003728/0.4627, allocations: 382.2 kB / 0.6876 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.4649, allocations: 318.3 kB / 0.6879 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002226/0.4671, allocations: 0.6978 MB / 0.6886 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008676/0.468, allocations: 185.6 kB / 0.6887 GB, free: 8.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.4691, allocations: 262.8 kB / 0.689 GB, free: 8.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.4704, allocations: 306.6 kB / 0.6893 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003164/0.4707, allocations: 32 kB / 0.6893 GB, free: 7.758 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.4728, allocations: 467.4 kB / 0.6898 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000418/0.4732, allocations: 135.5 kB / 0.6899 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.475, allocations: 290.2 kB / 0.6902 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002631/0.4777, allocations: 0.8108 MB / 0.691 GB, free: 6.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/0.4777, allocations: 4 kB / 0.691 GB, free: 6.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4777, allocations: 0 / 0.691 GB, free: 6.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.069e-05/0.4778, allocations: 4 kB / 0.691 GB, free: 6.062 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.003263/0.4811, allocations: 0.9952 MB / 0.6919 GB, free: 5.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.247e-05/0.4812, allocations: 11.97 kB / 0.6919 GB, free: 5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004674/0.4858, allocations: 0.6205 MB / 0.6926 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/0.4884, allocations: 0.6235 MB / 0.6932 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002718/0.4887, allocations: 130.7 kB / 0.6933 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.4888, allocations: 43.94 kB / 0.6933 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.4914, allocations: 0.6909 MB / 0.694 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.4914, allocations: 3.984 kB / 0.694 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.4916, allocations: 24 kB / 0.694 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.4916, allocations: 11.98 kB / 0.694 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/0.4945, allocations: 0.7611 MB / 0.6948 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005937/0.5004, allocations: 1.798 MB / 0.6965 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00385/0.5043, allocations: 0.8407 MB / 0.6974 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.5057, allocations: 361.9 kB / 0.6977 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002853/0.5085, allocations: 1.765 MB / 0.6994 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001669/0.5102, allocations: 441 kB / 0.6998 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 5.801e-06/0.5103, allocations: 0 / 0.6998 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.004315/0.5146, allocations: 1.002 MB / 0.7008 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.5147, allocations: 111.2 kB / 0.7009 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008451/0.5156, allocations: 430 kB / 0.7013 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.65e-05/0.5157, allocations: 33.7 kB / 0.7014 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.516, allocations: 284.5 kB / 0.7016 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.5163, allocations: 181.4 kB / 0.7018 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/0.5166, allocations: 122.1 kB / 0.7019 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.5168, allocations: 358.8 kB / 0.7023 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.5181, allocations: 304.9 kB / 0.7026 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.5195, allocations: 440.5 kB / 0.703 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002518/0.522, allocations: 0.6984 MB / 0.7037 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.5221, allocations: 0 / 0.7037 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003247/0.5253, allocations: 0.8183 MB / 0.7045 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.5254, allocations: 10.19 kB / 0.7045 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.5254, allocations: 4.219 kB / 0.7045 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.357e-05/0.5255, allocations: 8 kB / 0.7045 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.5268, allocations: 175.7 kB / 0.7047 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.745e-05/0.5269, allocations: 19.86 kB / 0.7047 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.528, allocations: 91.47 kB / 0.7048 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.853e-05/0.5281, allocations: 31.97 kB / 0.7048 GB, free: 7.137 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): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005916/0.5287, allocations: 205.6 kB / 0.705 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.5289, allocations: 55.33 kB / 0.705 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003351/0.5322, allocations: 0.891 MB / 0.7059 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.5323, allocations: 15.98 kB / 0.7059 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.5323, allocations: 7.875 kB / 0.7059 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.5323, allocations: 0 / 0.7059 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004593/0.5369, allocations: 1.578 MB / 0.7075 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/0.537, allocations: 0 / 0.7075 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.5382, allocations: 151.8 kB / 0.7076 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.959e-05/0.5382, allocations: 7.938 kB / 0.7076 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.643e-05/0.5383, allocations: 15.98 kB / 0.7076 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/0.5383, allocations: 4 kB / 0.7076 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5383, allocations: 0 / 0.7076 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003267/0.5416, allocations: 0.8542 MB / 0.7085 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005469/0.5422, allocations: 208.2 kB / 0.7087 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.5423, allocations: 19.92 kB / 0.7087 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008501/0.5432, allocations: 55.94 kB / 0.7088 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.5434, allocations: 44.5 kB / 0.7088 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.54e-05/0.5435, allocations: 23.98 kB / 0.7088 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006222/0.5441, allocations: 299.1 kB / 0.7091 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5441, allocations: 0 / 0.7091 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001284/0.5454, allocations: 219.7 kB / 0.7093 GB, free: 2.395 MB / 0.4981 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): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002422/0.5479, allocations: 0.5038 MB / 0.7098 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003619/0.5515, allocations: 0.7265 MB / 0.7105 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.5515, allocations: 4.062 kB / 0.7105 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.5529, allocations: 379 kB / 0.7109 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009208/0.5538, allocations: 73.33 kB / 0.711 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008782/0.5626, allocations: 1.504 MB / 0.7124 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000868/0.5636, allocations: 0.8814 MB / 0.7133 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007334/0.5643, allocations: 87.36 kB / 0.7134 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of SimCode: time 1.724e-06/0.5643, allocations: 0 / 0.7134 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.03531/0.5996, allocations: 10.11 MB / 0.7232 GB, free: 4.266 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.makefile make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.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.PVModuleSimpleCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleCalcHelperMain.o] Error 1