Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo", uses=false) Using package SolarTherm with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3332,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3332,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 98.8 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.001824/0.001825, allocations: 186 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.686/2.686, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1253/0.1253, allocations: 24.91 MB / 296.3 MB, free: 12.25 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008616/0.0008614, allocations: 19.88 kB / 360.5 MB, free: 8.219 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1974, allocations: 53.41 MB / 413.9 MB, free: 2.762 MB / 302.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.00255/0.2, allocations: 1.306 MB / 415.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.2016, allocations: 0.6404 MB / 415.8 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.2016, allocations: 0 / 415.8 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.776e-05/0.2017, allocations: 4 kB / 415.8 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/0.2017, allocations: 11.91 kB / 415.8 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.2023, allocations: 59.8 kB / 415.9 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.453e-05/0.2023, allocations: 15.94 kB / 415.9 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.098e-05/0.2024, allocations: 11.94 kB / 415.9 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.438e-05/0.2025, allocations: 11.98 kB / 415.9 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.192e-05/0.2025, allocations: 11.88 kB / 415.9 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.2026, allocations: 3.938 kB / 416 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.2029, allocations: 75.91 kB / 416 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.2029, allocations: 0 / 416 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.737e-05/0.203, allocations: 37.64 kB / 416.1 MB, free: 0.543 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.2032, allocations: 48.09 kB / 416.1 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2032, allocations: 0 / 416.1 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.2032, allocations: 0 / 416.1 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.2032, allocations: 4 kB / 416.1 MB, free: 0.4922 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004841/0.2037, allocations: 343.5 kB / 416.4 MB, free: 112 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.2038, allocations: 8.031 kB / 416.5 MB, free: 104 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.2038, allocations: 0.9375 kB / 416.5 MB, free: 104 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.204, allocations: 176.2 kB / 416.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.204, allocations: 384 / 416.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.2041, allocations: 384 / 416.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.2042, allocations: 55.72 kB / 416.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.2042, allocations: 4 kB / 416.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.2043, allocations: 4 kB / 416.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.2043, allocations: 4 kB / 416.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.695e-05/0.2043, allocations: 7.938 kB / 416.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.2049, allocations: 333.1 kB / 417 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.205, allocations: 45.09 kB / 417.1 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.2051, allocations: 17.84 kB / 417.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006441/0.2057, allocations: 202.2 kB / 417.3 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.2058, allocations: 38.56 kB / 417.3 MB, free: 15.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/0.2058, allocations: 0 / 417.3 MB, free: 15.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002634/0.206, allocations: 57.53 kB / 417.4 MB, free: 15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.2061, allocations: 81.36 kB / 417.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2063, allocations: 101.8 kB / 417.6 MB, free: 14.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.2063, allocations: 25.7 kB / 417.6 MB, free: 14.76 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.2064, allocations: 84.14 kB / 417.7 MB, free: 14.67 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.2064, allocations: 7.812 kB / 417.7 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.2064, allocations: 13.72 kB / 417.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.2066, allocations: 322.8 kB / 418 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.2067, allocations: 0 / 418 MB, free: 14.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/0.2067, allocations: 21.66 kB / 418 MB, free: 14.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.413e-05/0.2068, allocations: 21.72 kB / 418 MB, free: 14.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2068, allocations: 3.938 kB / 418.1 MB, free: 14.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001015/0.2069, allocations: 49.62 kB / 418.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2069, allocations: 6.5 kB / 418.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.2069, allocations: 4 kB / 418.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.207, allocations: 4.094 kB / 418.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.349e-05/0.207, allocations: 0 / 418.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2071, allocations: 3.938 kB / 418.1 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.075e-05/0.2071, allocations: 7.938 kB / 418.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.2071, allocations: 0 / 418.1 MB, free: 14.18 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001171/0.2073, allocations: 113.8 kB / 418.2 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.2073, allocations: 4 kB / 418.2 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.2075, allocations: 48.75 kB / 418.3 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2075, allocations: 4.078 kB / 418.3 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.2075, allocations: 7.984 kB / 418.3 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2075, allocations: 0 / 418.3 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.208, allocations: 270.5 kB / 418.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.208, allocations: 4 kB / 418.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.105e-05/0.208, allocations: 0 / 418.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.208, allocations: 0 / 418.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.208, allocations: 4 kB / 418.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2081, allocations: 3.938 kB / 418.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2081, allocations: 0 / 418.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.2083, allocations: 218.8 kB / 418.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.2084, allocations: 81.11 kB / 418.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.2084, allocations: 0 / 418.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.2085, allocations: 7.984 kB / 418.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.2086, allocations: 3.938 kB / 418.9 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.2086, allocations: 0 / 418.9 MB, free: 13.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.359e-05/0.2087, allocations: 87.56 kB / 419 MB, free: 13.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2087, allocations: 0 / 419 MB, free: 13.24 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004367/0.2091, allocations: 20 kB / 419 MB, free: 13.22 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.0002826/0.2094, allocations: 131.1 kB / 419.1 MB, free: 13.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.2095, allocations: 37.7 kB / 419.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2096, allocations: 0 / 419.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.2096, allocations: 41.62 kB / 419.2 MB, free: 12.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.2101, allocations: 8.25 kB / 419.2 MB, free: 12.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.2105, allocations: 181 kB / 419.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.2109, allocations: 0.677 MB / 420.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.574e-05/0.211, allocations: 7.438 kB / 420.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.211, allocations: 4 kB / 420.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of Templates: time 0.003473/0.2145, allocations: 0.7146 MB / 420.8 MB, free: 11.34 MB / 318.1 MB make -j1 -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.makefile make -j1 -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppSolarTherm_SolarTherm.Models.Sources.SolarModel.SunCalcHelperMain.o OMCppSolarTherm_SolarTherm.Models.Sources.SolarModel.SunCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSolarTherm_SolarTherm.Models.Sources.SolarModel.SunCalcHelperMain.o] Error 1