Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.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.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 98.88 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.001342/0.001342, allocations: 186.2 kB / 16.92 MB, free: 6.754 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 275 kB / 292.3 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9455/0.9455, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.000413, allocations: 21.73 kB / 0.5993 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1693, allocations: 88.53 MB / 0.6858 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.003888/0.1732, allocations: 3.349 MB / 0.689 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004887/0.1781, allocations: 3.396 MB / 0.6923 GB, free: 8.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.1784, allocations: 12.59 kB / 0.6924 GB, free: 8.344 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.1788, allocations: 99.31 kB / 0.6925 GB, free: 8.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009064/0.1797, allocations: 377.2 kB / 0.6928 GB, free: 7.879 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007548/0.1805, allocations: 330.4 kB / 0.6931 GB, free: 7.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006162/0.1811, allocations: 0.7019 MB / 0.6938 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.1814, allocations: 177.6 kB / 0.694 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.1817, allocations: 250.8 kB / 0.6942 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.1821, allocations: 270.7 kB / 0.6945 GB, free: 6.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.1821, allocations: 20 kB / 0.6945 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007047/0.1828, allocations: 471.4 kB / 0.6949 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.183, allocations: 111.5 kB / 0.6951 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.1832, allocations: 292 kB / 0.6953 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007396/0.184, allocations: 0.7949 MB / 0.6961 GB, free: 4.492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.184, allocations: 0 / 0.6961 GB, free: 4.492 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.184, allocations: 4 kB / 0.6961 GB, free: 4.488 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.184, allocations: 0 / 0.6961 GB, free: 4.488 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.001618/0.1856, allocations: 0.8747 MB / 0.697 GB, free: 3.559 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1857, allocations: 11.97 kB / 0.697 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/0.1887, allocations: 0.5854 MB / 0.6975 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.19, allocations: 0.6274 MB / 0.6982 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.1901, allocations: 118.7 kB / 0.6983 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.433e-05/0.1902, allocations: 47.94 kB / 0.6983 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.1916, allocations: 0.6753 MB / 0.699 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1916, allocations: 0 / 0.699 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/0.1917, allocations: 20 kB / 0.699 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1917, allocations: 12 kB / 0.699 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.1933, allocations: 0.6986 MB / 0.6997 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003066/0.1964, allocations: 1.766 MB / 0.7014 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/0.1994, allocations: 0.8257 MB / 0.7022 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.2005, allocations: 330 kB / 0.7025 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001857/0.2024, allocations: 1.761 MB / 0.7043 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009305/0.2033, allocations: 401.1 kB / 0.7046 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.334e-06/0.2033, allocations: 0 / 0.7046 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.002543/0.2059, allocations: 0.9317 MB / 0.7055 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.2059, allocations: 119.2 kB / 0.7057 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.2064, allocations: 419.1 kB / 0.7061 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/0.2065, allocations: 33.7 kB / 0.7061 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.2067, allocations: 280.5 kB / 0.7064 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.2069, allocations: 177.4 kB / 0.7065 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.992e-05/0.207, allocations: 49.69 kB / 0.7066 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2071, allocations: 362.8 kB / 0.7069 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007429/0.2079, allocations: 272.9 kB / 0.7072 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008651/0.2088, allocations: 424.5 kB / 0.7076 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.2106, allocations: 0.6594 MB / 0.7082 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/0.2106, allocations: 4 kB / 0.7082 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001809/0.2124, allocations: 0.7677 MB / 0.709 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.2124, allocations: 5.969 kB / 0.709 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.2124, allocations: 8 kB / 0.709 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.2125, allocations: 11.94 kB / 0.709 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.2141, allocations: 251.7 kB / 0.7093 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.2157, allocations: 1.471 MB / 0.7107 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000632/0.2163, allocations: 91.38 kB / 0.7108 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/0.2164, allocations: 36.06 kB / 0.7108 GB, free: 4.535 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 {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003039/0.2167, allocations: 213.1 kB / 0.711 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.236e-05/0.2168, allocations: 55.28 kB / 0.7111 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/0.2193, allocations: 0.9386 MB / 0.712 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.2193, allocations: 8 kB / 0.712 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.2193, allocations: 0 / 0.712 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-06/0.2193, allocations: 3.984 kB / 0.712 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.2223, allocations: 1.622 MB / 0.7136 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2223, allocations: 7.922 kB / 0.7136 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.223, allocations: 147.8 kB / 0.7137 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/0.2234, allocations: 64.73 kB / 0.7138 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.2235, allocations: 23.92 kB / 0.7138 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.225, allocations: 1.469 MB / 0.7152 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.225, allocations: 3.984 kB / 0.7153 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.2271, allocations: 0.9058 MB / 0.7161 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.2274, allocations: 212.1 kB / 0.7163 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.837e-05/0.2275, allocations: 12 kB / 0.7163 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/0.228, allocations: 59.94 kB / 0.7164 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.2281, allocations: 44.5 kB / 0.7164 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/0.2282, allocations: 27.97 kB / 0.7165 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003272/0.2285, allocations: 295.1 kB / 0.7168 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2286, allocations: 0 / 0.7168 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007327/0.2293, allocations: 231.5 kB / 0.717 GB, free: 13.95 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001162/0.2305, allocations: 0.492 MB / 0.7175 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002347/0.2328, allocations: 0.7768 MB / 0.7182 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2328, allocations: 0 / 0.7182 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000976/0.2338, allocations: 0.4981 MB / 0.7187 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.2343, allocations: 62.7 kB / 0.7188 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.2366, allocations: 1.553 MB / 0.7203 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.237, allocations: 0.8775 MB / 0.7211 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.2373, allocations: 79.38 kB / 0.7212 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of SimCode: time 2.144e-06/0.2373, allocations: 0 / 0.7212 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of Templates: time 0.01499/0.2523, allocations: 12.11 MB / 0.733 GB, free: 13.61 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.makefile make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.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.PVModuleComplexCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexCalcHelperMain.o] Error 1