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.001005/0.001005, allocations: 99.5 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.001332/0.001332, allocations: 188.9 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001813/0.001813, allocations: 262.5 kB / 292.3 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.955/0.955, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004422, allocations: 12.78 kB / 0.5993 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1734, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.004044/0.1774, allocations: 3.383 MB / 0.6891 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005017/0.1825, allocations: 3.388 MB / 0.6924 GB, free: 8.289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.1828, allocations: 11.88 kB / 0.6924 GB, free: 8.277 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.1832, allocations: 107.3 kB / 0.6925 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.1843, allocations: 372.9 kB / 0.6928 GB, free: 7.809 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007185/0.185, allocations: 316.3 kB / 0.6931 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006574/0.1857, allocations: 0.6939 MB / 0.6938 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.186, allocations: 190.2 kB / 0.694 GB, free: 6.621 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.1863, allocations: 242.8 kB / 0.6942 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.1866, allocations: 266.7 kB / 0.6945 GB, free: 6.121 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.493e-05/0.1867, allocations: 20 kB / 0.6945 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007655/0.1875, allocations: 463.5 kB / 0.6949 GB, free: 5.648 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.1877, allocations: 115.4 kB / 0.6951 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.1879, allocations: 300 kB / 0.6953 GB, free: 5.234 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008042/0.1887, allocations: 0.7949 MB / 0.6961 GB, free: 4.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1887, allocations: 4 kB / 0.6961 GB, free: 4.434 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1887, allocations: 0 / 0.6961 GB, free: 4.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1888, allocations: 0 / 0.6961 GB, free: 4.434 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.001619/0.1904, allocations: 0.8629 MB / 0.697 GB, free: 3.516 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1904, allocations: 8.031 kB / 0.697 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/0.1939, allocations: 0.644 MB / 0.6976 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.1953, allocations: 0.6274 MB / 0.6982 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.1955, allocations: 126.7 kB / 0.6983 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-05/0.1956, allocations: 47.94 kB / 0.6984 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.1972, allocations: 0.7065 MB / 0.6991 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1972, allocations: 0 / 0.6991 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/0.1973, allocations: 20 kB / 0.6991 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.1973, allocations: 12 kB / 0.6991 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.1993, allocations: 0.765 MB / 0.6999 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003332/0.2026, allocations: 1.813 MB / 0.7016 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002815/0.2055, allocations: 0.8542 MB / 0.7025 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009287/0.2064, allocations: 354 kB / 0.7028 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001724/0.2082, allocations: 1.769 MB / 0.7045 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.2092, allocations: 437 kB / 0.7049 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.374e-06/0.2092, allocations: 0 / 0.7049 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.002852/0.212, allocations: 1.021 MB / 0.7059 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.2121, allocations: 107.2 kB / 0.706 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000489/0.2126, allocations: 438 kB / 0.7065 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.441e-05/0.2127, allocations: 41.62 kB / 0.7065 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.2129, allocations: 280.5 kB / 0.7068 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.2131, allocations: 177.4 kB / 0.7069 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.483e-05/0.2131, allocations: 49.69 kB / 0.707 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2133, allocations: 362.8 kB / 0.7073 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008779/0.2142, allocations: 304.9 kB / 0.7076 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009581/0.2151, allocations: 444.5 kB / 0.708 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.2169, allocations: 0.714 MB / 0.7087 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2169, allocations: 0 / 0.7087 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002074/0.219, allocations: 0.8261 MB / 0.7095 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.2191, allocations: 8.219 kB / 0.7096 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2191, allocations: 11.94 kB / 0.7096 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2191, allocations: 8 kB / 0.7096 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008892/0.22, allocations: 179.7 kB / 0.7097 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.22, allocations: 7.938 kB / 0.7097 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006903/0.2207, allocations: 103.5 kB / 0.7098 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.2208, allocations: 31.97 kB / 0.7099 GB, free: 5.582 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.0003096/0.2211, allocations: 208.8 kB / 0.7101 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.2212, allocations: 55.34 kB / 0.7101 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.2235, allocations: 0.9026 MB / 0.711 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.2236, allocations: 11.94 kB / 0.711 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2236, allocations: 3.938 kB / 0.711 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.2236, allocations: 3.984 kB / 0.711 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.2265, allocations: 1.578 MB / 0.7126 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2265, allocations: 4 kB / 0.7126 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007607/0.2273, allocations: 159.8 kB / 0.7127 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.2273, allocations: 3.938 kB / 0.7127 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.615e-05/0.2274, allocations: 19.98 kB / 0.7128 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2274, allocations: 0 / 0.7128 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2274, allocations: 0 / 0.7128 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.2293, allocations: 0.8659 MB / 0.7136 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.2296, allocations: 216.1 kB / 0.7138 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.262e-05/0.2297, allocations: 19.94 kB / 0.7138 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006306/0.2303, allocations: 62.81 kB / 0.7139 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/0.2304, allocations: 44.44 kB / 0.7139 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/0.2305, allocations: 23.98 kB / 0.7139 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003363/0.2308, allocations: 299.1 kB / 0.7142 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.2308, allocations: 4 kB / 0.7142 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000718/0.2315, allocations: 227.7 kB / 0.7145 GB, free: 0.7891 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.001248/0.2328, allocations: 0.4913 MB / 0.7149 GB, free: 448 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.2348, allocations: 0.7339 MB / 0.7156 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2348, allocations: 448 / 0.7157 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009314/0.2358, allocations: 395 kB / 0.716 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.2363, allocations: 66.64 kB / 0.7161 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.2388, allocations: 1.583 MB / 0.7176 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.2392, allocations: 0.8775 MB / 0.7185 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.2396, allocations: 87.36 kB / 0.7186 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.2396, allocations: 0 / 0.7186 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of Templates: time 0.01668/0.2563, allocations: 10.04 MB / 0.7284 GB, free: 2.656 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