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.0007863/0.0007863, allocations: 92.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.001003/0.001003, allocations: 182.7 kB / 16.92 MB, free: 6.926 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.43/1.43, allocations: 223.2 MB / 240.9 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001815/0.001815, allocations: 266.9 kB / 292.3 MB, free: 1.812 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.925/0.925, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004595, allocations: 15.12 kB / 0.5993 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1881, allocations: 88.55 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004515/0.1927, allocations: 2.717 MB / 0.6884 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005372/0.1981, allocations: 3.21 MB / 0.6915 GB, free: 9.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/0.1984, allocations: 6.438 kB / 0.6916 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.1988, allocations: 47.62 kB / 0.6916 GB, free: 9.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.2002, allocations: 352 kB / 0.6919 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009188/0.2011, allocations: 344.2 kB / 0.6923 GB, free: 8.434 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009136/0.2021, allocations: 0.6602 MB / 0.6929 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.2023, allocations: 116.3 kB / 0.693 GB, free: 7.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.2028, allocations: 235.1 kB / 0.6932 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006504/0.2035, allocations: 282.8 kB / 0.6935 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.2037, allocations: 26.78 kB / 0.6935 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.2047, allocations: 475.4 kB / 0.694 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.205, allocations: 123.5 kB / 0.6941 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003535/0.2053, allocations: 276.2 kB / 0.6944 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.2064, allocations: 0.7015 MB / 0.6951 GB, free: 5.559 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2064, allocations: 3.938 kB / 0.6951 GB, free: 5.555 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2064, allocations: 0.5625 kB / 0.6951 GB, free: 5.555 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.2064, allocations: 0.875 kB / 0.6951 GB, free: 5.555 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.002077/0.2085, allocations: 0.7881 MB / 0.6958 GB, free: 4.719 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.2086, allocations: 8.031 kB / 0.6958 GB, free: 4.711 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/0.2118, allocations: 0.5777 MB / 0.6964 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.2131, allocations: 0.57 MB / 0.697 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.2133, allocations: 199.8 kB / 0.6972 GB, free: 3.293 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/0.2134, allocations: 43.94 kB / 0.6972 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.2149, allocations: 0.6908 MB / 0.6979 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2149, allocations: 3.938 kB / 0.6979 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.616e-05/0.215, allocations: 16 kB / 0.6979 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.215, allocations: 15.98 kB / 0.6979 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.2168, allocations: 0.7806 MB / 0.6987 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003357/0.2202, allocations: 1.727 MB / 0.7004 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003058/0.2232, allocations: 1.015 MB / 0.7013 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008413/0.2241, allocations: 370.2 kB / 0.7017 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001916/0.226, allocations: 1.773 MB / 0.7034 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.2271, allocations: 464.8 kB / 0.7039 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 4.088e-06/0.2271, allocations: 0 / 0.7039 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.002809/0.2299, allocations: 1.076 MB / 0.7049 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.23, allocations: 111.4 kB / 0.705 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004974/0.2305, allocations: 369.6 kB / 0.7054 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.2306, allocations: 33.7 kB / 0.7054 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.2308, allocations: 224.9 kB / 0.7056 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.231, allocations: 216.8 kB / 0.7058 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.2311, allocations: 61.69 kB / 0.7059 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.2313, allocations: 350.8 kB / 0.7062 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008235/0.2321, allocations: 325.8 kB / 0.7065 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009082/0.233, allocations: 441.6 kB / 0.707 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.2348, allocations: 0.7322 MB / 0.7077 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.2348, allocations: 0 / 0.7077 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00208/0.2369, allocations: 0.8636 MB / 0.7085 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2369, allocations: 4 kB / 0.7085 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.237, allocations: 7.984 kB / 0.7085 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/0.237, allocations: 12.12 kB / 0.7085 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009722/0.238, allocations: 195.7 kB / 0.7087 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.347e-05/0.238, allocations: 11.94 kB / 0.7087 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/0.2388, allocations: 103.3 kB / 0.7088 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.493e-05/0.2389, allocations: 39.91 kB / 0.7089 GB, free: 6.648 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.0003498/0.2392, allocations: 195.9 kB / 0.7091 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.2394, allocations: 51.34 kB / 0.7091 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/0.2423, allocations: 1.127 MB / 0.7102 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.2423, allocations: 12 kB / 0.7102 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.2423, allocations: 7.938 kB / 0.7102 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.2424, allocations: 3.984 kB / 0.7102 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/0.2457, allocations: 1.771 MB / 0.712 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.2457, allocations: 4 kB / 0.712 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.2467, allocations: 195.7 kB / 0.7122 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.622e-05/0.2467, allocations: 7.938 kB / 0.7122 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.056e-05/0.2468, allocations: 23.98 kB / 0.7122 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.2468, allocations: 4 kB / 0.7122 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2468, allocations: 3.938 kB / 0.7122 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.249, allocations: 1.007 MB / 0.7132 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/0.2494, allocations: 224.1 kB / 0.7134 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.2495, allocations: 23.94 kB / 0.7134 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006864/0.2502, allocations: 67.92 kB / 0.7135 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.2504, allocations: 56.86 kB / 0.7135 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.2505, allocations: 31.98 kB / 0.7136 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003361/0.2508, allocations: 251.2 kB / 0.7138 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2508, allocations: 0 / 0.7138 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008424/0.2517, allocations: 227.8 kB / 0.714 GB, free: 1.27 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.001377/0.253, allocations: 0.5055 MB / 0.7145 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002091/0.2552, allocations: 0.8151 MB / 0.7153 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2552, allocations: 0 / 0.7153 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.2562, allocations: 481.7 kB / 0.7158 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.2568, allocations: 69.36 kB / 0.7158 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.2593, allocations: 1.461 MB / 0.7173 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.2598, allocations: 0.8665 MB / 0.7181 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000379/0.2602, allocations: 103.3 kB / 0.7182 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.2602, allocations: 0 / 0.7182 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of Templates: time 0.01897/0.2792, allocations: 10.09 MB / 0.7281 GB, free: 2.984 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