Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.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.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 97.78 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.001484/0.001484, allocations: 185.3 kB / 16.92 MB, free: 6.688 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.337/1.337, allocations: 223.2 MB / 240.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001925/0.001925, allocations: 267 kB / 292.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9286/0.9286, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.0004309, allocations: 12.25 kB / 0.5993 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1774, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.004251/0.1817, allocations: 3.43 MB / 0.6891 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.1864, allocations: 3.394 MB / 0.6924 GB, free: 8.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.1866, allocations: 15.88 kB / 0.6924 GB, free: 8.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.187, allocations: 99.97 kB / 0.6925 GB, free: 8.113 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009094/0.1879, allocations: 382 kB / 0.6929 GB, free: 7.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.1886, allocations: 329.6 kB / 0.6932 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006488/0.1892, allocations: 0.7289 MB / 0.6939 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000283/0.1895, allocations: 185.6 kB / 0.6941 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.1898, allocations: 250.8 kB / 0.6943 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000389/0.1902, allocations: 280.7 kB / 0.6946 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.62e-05/0.1903, allocations: 20 kB / 0.6946 GB, free: 5.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007452/0.1911, allocations: 467.4 kB / 0.6951 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.1912, allocations: 123.5 kB / 0.6952 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.1915, allocations: 296 kB / 0.6955 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008042/0.1923, allocations: 0.8105 MB / 0.6963 GB, free: 4.285 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1923, allocations: 0 / 0.6963 GB, free: 4.285 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1923, allocations: 4 kB / 0.6963 GB, free: 4.281 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1923, allocations: 4 kB / 0.6963 GB, free: 4.277 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00173/0.1941, allocations: 0.8746 MB / 0.6971 GB, free: 3.348 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1941, allocations: 16.02 kB / 0.6971 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003514/0.1976, allocations: 0.64 MB / 0.6978 GB, free: 2.691 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.199, allocations: 0.6351 MB / 0.6984 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.1991, allocations: 126.7 kB / 0.6985 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.546e-05/0.1992, allocations: 55.88 kB / 0.6986 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.2008, allocations: 0.7191 MB / 0.6993 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2008, allocations: 0 / 0.6993 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/0.2009, allocations: 16 kB / 0.6993 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.2009, allocations: 12 kB / 0.6993 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.203, allocations: 0.7962 MB / 0.7001 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.2064, allocations: 1.927 MB / 0.702 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00279/0.2092, allocations: 0.8763 MB / 0.7028 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009848/0.2102, allocations: 390.3 kB / 0.7032 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001796/0.212, allocations: 1.773 MB / 0.7049 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.2131, allocations: 462.8 kB / 0.7054 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=58): time 2.455e-06/0.2131, allocations: 7.938 kB / 0.7054 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58): time 0.006733/0.2198, allocations: 1.706 MB / 0.707 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.2199, allocations: 107.4 kB / 0.7071 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/0.2204, allocations: 423.5 kB / 0.7075 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.496e-05/0.2205, allocations: 37.7 kB / 0.7076 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.2207, allocations: 272.7 kB / 0.7078 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.2208, allocations: 193.2 kB / 0.708 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-05/0.2209, allocations: 49.69 kB / 0.7081 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2211, allocations: 366.8 kB / 0.7084 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009172/0.222, allocations: 325.1 kB / 0.7087 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009837/0.223, allocations: 459.6 kB / 0.7092 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.2249, allocations: 0.7363 MB / 0.7099 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.2249, allocations: 4 kB / 0.7099 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003685/0.2286, allocations: 1.088 MB / 0.7109 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2286, allocations: 4 kB / 0.711 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2286, allocations: 4 kB / 0.711 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007328/0.2294, allocations: 144.9 kB / 0.7111 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/0.2302, allocations: 163.7 kB / 0.7113 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00461/0.2348, allocations: 1.996 MB / 0.7132 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000734/0.2356, allocations: 111.5 kB / 0.7133 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/0.2356, allocations: 27.97 kB / 0.7133 GB, free: 1.891 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * 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: 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.000346/0.236, allocations: 203 kB / 0.7135 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.345e-05/0.2361, allocations: 59.28 kB / 0.7136 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/0.2395, allocations: 1.117 MB / 0.7147 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2395, allocations: 4 kB / 0.7147 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.2395, allocations: 0 / 0.7147 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.2395, allocations: 15.86 kB / 0.7147 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/0.2436, allocations: 1.828 MB / 0.7165 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2436, allocations: 0 / 0.7165 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007456/0.2444, allocations: 155.8 kB / 0.7166 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007379/0.2451, allocations: 128.7 kB / 0.7167 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.342e-05/0.2452, allocations: 19.98 kB / 0.7168 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003406/0.2486, allocations: 1.79 MB / 0.7185 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2486, allocations: 4.031 kB / 0.7185 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/0.2517, allocations: 1.064 MB / 0.7196 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.252, allocations: 224.1 kB / 0.7198 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.374e-05/0.2521, allocations: 12 kB / 0.7198 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006407/0.2527, allocations: 63.94 kB / 0.7198 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.2529, allocations: 52.58 kB / 0.7199 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.2529, allocations: 23.98 kB / 0.7199 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003395/0.2533, allocations: 291.1 kB / 0.7202 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2533, allocations: 0 / 0.7202 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007846/0.2541, allocations: 243.6 kB / 0.7204 GB, free: 10.35 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 (69): * Single equations (assignments): 67 * 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.001181/0.2553, allocations: 0.5064 MB / 0.7209 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002234/0.2575, allocations: 0.9099 MB / 0.7218 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2575, allocations: 0 / 0.7218 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.2587, allocations: 0.5491 MB / 0.7223 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.2592, allocations: 61.95 kB / 0.7224 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.2617, allocations: 1.658 MB / 0.724 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.2621, allocations: 0.8812 MB / 0.7249 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.2625, allocations: 87.36 kB / 0.725 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.2625, allocations: 4 kB / 0.725 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of Templates: time 0.01595/0.2784, allocations: 12.9 MB / 0.7376 GB, free: 8.895 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.makefile make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.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.PVModuleControlledTiltAngleCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngleCalcHelperMain.o] Error 1