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.001312/0.001312, allocations: 100.1 kB / 15.71 MB, free: 452 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.0009094/0.0009095, allocations: 173 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1136/0.1136, allocations: 24.91 MB / 295.9 MB, free: 12.34 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.0004999/0.0004999, allocations: 14 kB / 359.8 MB, free: 8.586 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1283, allocations: 53.41 MB / 413.3 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.001762/0.1301, allocations: 1.282 MB / 414.5 MB, free: 1.836 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009014/0.131, allocations: 0.6058 MB / 415.1 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.131, allocations: 0 / 415.1 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.1311, allocations: 7.938 kB / 415.2 MB, free: 1.215 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.85e-05/0.1311, allocations: 7.969 kB / 415.2 MB, free: 1.207 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.1314, allocations: 55.81 kB / 415.2 MB, free: 1.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.424e-05/0.1315, allocations: 23.88 kB / 415.2 MB, free: 1.129 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.1315, allocations: 3.984 kB / 415.2 MB, free: 1.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.1316, allocations: 15.92 kB / 415.3 MB, free: 1.109 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.235e-05/0.1316, allocations: 8 kB / 415.3 MB, free: 1.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.1316, allocations: 4 kB / 415.3 MB, free: 1.098 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.1318, allocations: 63.86 kB / 415.3 MB, free: 1.035 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.1319, allocations: 4 kB / 415.3 MB, free: 1.031 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.1319, allocations: 29.64 kB / 415.4 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.132, allocations: 48.17 kB / 415.4 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.132, allocations: 0 / 415.4 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.132, allocations: 0 / 415.4 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.132, allocations: 0 / 415.4 MB, free: 0.9492 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.0003155/0.1324, allocations: 351.2 kB / 415.8 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1324, allocations: 8.031 kB / 415.8 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.1324, allocations: 0 / 415.8 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.1326, allocations: 174.9 kB / 415.9 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1326, allocations: 0 / 415.9 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.1326, allocations: 0 / 415.9 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.1327, allocations: 55.41 kB / 416 MB, free: 280 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.1327, allocations: 7.875 kB / 416 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.1327, allocations: 4 kB / 416 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1328, allocations: 0 / 416 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.1328, allocations: 12 kB / 416 MB, free: 256 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.1332, allocations: 337 kB / 416.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.707e-05/0.1333, allocations: 49.12 kB / 416.4 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.1333, allocations: 13.84 kB / 416.4 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004413/0.1337, allocations: 206.2 kB / 416.6 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1338, allocations: 34.5 kB / 416.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1338, allocations: 0 / 416.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001604/0.134, allocations: 45.69 kB / 416.7 MB, free: 15.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.134, allocations: 89.25 kB / 416.8 MB, free: 15.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.807e-05/0.1341, allocations: 105.8 kB / 416.9 MB, free: 15.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1341, allocations: 25.7 kB / 416.9 MB, free: 15.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.1342, allocations: 92.05 kB / 417 MB, free: 15.1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.267e-06/0.1342, allocations: 3.906 kB / 417 MB, free: 15.1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.1342, allocations: 0 / 417 MB, free: 15.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1343, allocations: 314.8 kB / 417.3 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.1343, allocations: 7.984 kB / 417.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/0.1344, allocations: 17.72 kB / 417.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.761e-05/0.1344, allocations: 4 kB / 417.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1344, allocations: 0 / 417.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000117/0.1345, allocations: 49.55 kB / 417.4 MB, free: 14.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.1345, allocations: 4 kB / 417.4 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.1346, allocations: 3.984 kB / 417.4 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.1346, allocations: 0 / 417.4 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.156e-05/0.1346, allocations: 4 kB / 417.4 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.1346, allocations: 8.047 kB / 417.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.1346, allocations: 3.938 kB / 417.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.1347, allocations: 4 kB / 417.4 MB, free: 14.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.919e-05/0.1347, allocations: 113.6 kB / 417.5 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.1348, allocations: 4 kB / 417.5 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.037e-05/0.1349, allocations: 48.75 kB / 417.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1349, allocations: 0 / 417.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1349, allocations: 0 / 417.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1349, allocations: 7.984 kB / 417.6 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.1351, allocations: 266.6 kB / 417.8 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1352, allocations: 0 / 417.8 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.1352, allocations: 7.938 kB / 417.8 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1352, allocations: 3.938 kB / 417.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.1352, allocations: 0 / 417.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1352, allocations: 0 / 417.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1352, allocations: 11.89 kB / 417.9 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.1353, allocations: 222.8 kB / 418.1 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.1354, allocations: 81.11 kB / 418.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.1354, allocations: 256 / 418.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.1355, allocations: 4 kB / 418.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.1355, allocations: 7.953 kB / 418.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.1355, allocations: 0 / 418.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.082e-05/0.1355, allocations: 83.27 kB / 418.2 MB, free: 13.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1355, allocations: 32 / 418.2 MB, free: 13.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1358, allocations: 28 kB / 418.3 MB, free: 13.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001567/0.136, allocations: 123.1 kB / 418.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.909e-05/0.1361, allocations: 33.7 kB / 418.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1361, allocations: 0 / 418.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.971e-05/0.1361, allocations: 37.7 kB / 418.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.1364, allocations: 6.438 kB / 418.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.1367, allocations: 177.4 kB / 418.6 MB, free: 13.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.137, allocations: 0.6848 MB / 419.3 MB, free: 12.56 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.165e-05/0.137, allocations: 7.438 kB / 419.3 MB, free: 12.55 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.137, allocations: 0 / 419.3 MB, free: 12.55 MB / 318.1 MB Notification: Performance of Templates: time 0.001976/0.139, allocations: 0.7295 MB / 420.1 MB, free: 11.82 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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