Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.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.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005032/0.005032, allocations: 100.2 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 192.9 kB / 16.79 MB, free: 5.809 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.339/1.339, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002247/0.002247, allocations: 282.4 kB / 290.9 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9383/0.9383, allocations: 169.2 MB / 0.4984 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 96.3 kB / 0.5951 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1581, allocations: 86.98 MB / 0.6801 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.00409/0.1622, allocations: 3.088 MB / 0.6831 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004306/0.1666, allocations: 3.262 MB / 0.6863 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.1667, allocations: 4 kB / 0.6863 GB, free: 10.78 MB / 494.1 MB [/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.0003262/0.1671, allocations: 49.45 kB / 0.6863 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007668/0.1678, allocations: 354.4 kB / 0.6867 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006491/0.1685, allocations: 351 kB / 0.687 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005624/0.1691, allocations: 0.6557 MB / 0.6876 GB, free: 9.391 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.1693, allocations: 118.5 kB / 0.6877 GB, free: 9.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.1696, allocations: 255 kB / 0.688 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.17, allocations: 302.8 kB / 0.6883 GB, free: 8.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.1701, allocations: 28 kB / 0.6883 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006834/0.1707, allocations: 467.5 kB / 0.6887 GB, free: 8.238 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.1709, allocations: 135.5 kB / 0.6889 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.1712, allocations: 270.5 kB / 0.6891 GB, free: 7.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006914/0.1719, allocations: 0.7134 MB / 0.6898 GB, free: 7.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1719, allocations: 0 / 0.6898 GB, free: 7.125 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1719, allocations: 0 / 0.6898 GB, free: 7.125 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1719, allocations: 0 / 0.6898 GB, free: 7.125 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001875/0.1738, allocations: 0.9063 MB / 0.6907 GB, free: 6.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1738, allocations: 8.031 kB / 0.6907 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/0.1769, allocations: 0.5583 MB / 0.6913 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.178, allocations: 0.57 MB / 0.6918 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.1782, allocations: 195.8 kB / 0.692 GB, free: 4.766 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/0.1783, allocations: 47.94 kB / 0.6921 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.1797, allocations: 0.6791 MB / 0.6927 GB, free: 4.023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1797, allocations: 0 / 0.6927 GB, free: 4.023 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/0.1798, allocations: 20 kB / 0.6927 GB, free: 4.004 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.1798, allocations: 12 kB / 0.6928 GB, free: 3.992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.1816, allocations: 0.7728 MB / 0.6935 GB, free: 3.219 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003223/0.1848, allocations: 1.72 MB / 0.6952 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.1879, allocations: 1.011 MB / 0.6962 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008245/0.1887, allocations: 370.3 kB / 0.6965 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001777/0.1905, allocations: 1.769 MB / 0.6983 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009727/0.1915, allocations: 458.8 kB / 0.6987 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.224e-06/0.1915, allocations: 0 / 0.6987 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.002627/0.1941, allocations: 1.064 MB / 0.6997 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.1942, allocations: 111.4 kB / 0.6998 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.1946, allocations: 369.5 kB / 0.7002 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/0.1946, allocations: 41.7 kB / 0.7002 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.1948, allocations: 221 kB / 0.7004 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.195, allocations: 216.8 kB / 0.7006 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.1952, allocations: 150.5 kB / 0.7008 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1953, allocations: 350.8 kB / 0.7011 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007624/0.1961, allocations: 317.8 kB / 0.7014 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008685/0.197, allocations: 445.5 kB / 0.7019 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.1986, allocations: 0.7243 MB / 0.7026 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1986, allocations: 0 / 0.7026 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001946/0.2006, allocations: 0.8558 MB / 0.7034 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.2006, allocations: 8 kB / 0.7034 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/0.2006, allocations: 4 kB / 0.7034 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.2006, allocations: 8 kB / 0.7034 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009835/0.2016, allocations: 191.6 kB / 0.7036 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.2017, allocations: 7.938 kB / 0.7036 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006937/0.2024, allocations: 99.5 kB / 0.7037 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/0.2024, allocations: 31.97 kB / 0.7037 GB, free: 8.125 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiationFixed.outsidePolarCircle,radiationOneAxisTracked.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0002626/0.2027, allocations: 199 kB / 0.7039 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.2028, allocations: 51.42 kB / 0.704 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.2055, allocations: 1.119 MB / 0.7051 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.2056, allocations: 8 kB / 0.7051 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2056, allocations: 7.938 kB / 0.7051 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.2056, allocations: 7.984 kB / 0.7051 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/0.2086, allocations: 1.759 MB / 0.7068 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2086, allocations: 0 / 0.7068 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009571/0.2096, allocations: 195.7 kB / 0.707 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.2096, allocations: 7.938 kB / 0.707 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.2096, allocations: 23.97 kB / 0.707 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2096, allocations: 7.938 kB / 0.707 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2097, allocations: 0 / 0.707 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.2116, allocations: 1.007 MB / 0.708 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.2119, allocations: 228.1 kB / 0.7082 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.212, allocations: 19.94 kB / 0.7082 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006621/0.2127, allocations: 53.14 kB / 0.7083 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.2128, allocations: 56.92 kB / 0.7084 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.867e-05/0.2129, allocations: 31.97 kB / 0.7084 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002544/0.2132, allocations: 255.2 kB / 0.7086 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2132, allocations: 0 / 0.7086 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006801/0.2138, allocations: 227.8 kB / 0.7088 GB, free: 2.781 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 (95): * Single equations (assignments): 94 * 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.001192/0.215, allocations: 0.5031 MB / 0.7093 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.2169, allocations: 0.815 MB / 0.7101 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2169, allocations: 0 / 0.7101 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009353/0.2179, allocations: 473.7 kB / 0.7106 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.2184, allocations: 73.39 kB / 0.7107 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.2205, allocations: 1.402 MB / 0.712 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.221, allocations: 0.8704 MB / 0.7129 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/0.2214, allocations: 103.3 kB / 0.713 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2214, allocations: 0 / 0.713 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of Templates: time 0.01275/0.2341, allocations: 10.16 MB / 0.7229 GB, free: 4.488 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.makefile make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.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.Climate.Examples.TiltedRadiationCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiationCalcHelperMain.o] Error 1