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.00651/0.00651, allocations: 101 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.001502/0.001502, allocations: 190.7 kB / 16.79 MB, free: 5.809 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.447/1.447, allocations: 205.1 MB / 222.7 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1322/0.1322, allocations: 24.83 MB / 294.8 MB, free: 12.59 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.001451/0.001451, allocations: 72.12 kB / 357.9 MB, free: 8.562 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.112, allocations: 52.29 MB / 410.2 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.004096/0.1162, allocations: 1.621 MB / 411.8 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1176, allocations: 0.6598 MB / 412.4 MB, free: 1.926 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.649e-05/0.1176, allocations: 0 / 412.4 MB, free: 1.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.749e-05/0.1177, allocations: 3.984 kB / 412.4 MB, free: 1.922 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.411e-05/0.1179, allocations: 7.938 kB / 412.4 MB, free: 1.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.1184, allocations: 59.8 kB / 412.5 MB, free: 1.855 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.433e-05/0.1184, allocations: 27.81 kB / 412.5 MB, free: 1.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.713e-05/0.1185, allocations: 7.984 kB / 412.5 MB, free: 1.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.812e-05/0.1185, allocations: 4 kB / 412.5 MB, free: 1.816 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.1186, allocations: 15.92 kB / 412.6 MB, free: 1.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1186, allocations: 0 / 412.6 MB, free: 1.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.1189, allocations: 75.92 kB / 412.6 MB, free: 1.727 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.119, allocations: 3.938 kB / 412.6 MB, free: 1.723 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.119, allocations: 7.938 kB / 412.6 MB, free: 1.715 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.1192, allocations: 52.16 kB / 412.7 MB, free: 1.664 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1192, allocations: 3.938 kB / 412.7 MB, free: 1.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1192, allocations: 0 / 412.7 MB, free: 1.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1192, allocations: 0 / 412.7 MB, free: 1.66 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.0004594/0.1197, allocations: 339.5 kB / 413 MB, free: 1.281 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.1197, allocations: 8.031 kB / 413 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.1198, allocations: 8.844 kB / 413.1 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.1199, allocations: 168.3 kB / 413.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.12, allocations: 8.312 kB / 413.2 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.12, allocations: 4.375 kB / 413.2 MB, free: 1.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1201, allocations: 55.72 kB / 413.3 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1202, allocations: 4 kB / 413.3 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1202, allocations: 3.984 kB / 413.3 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.1202, allocations: 0 / 413.3 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.437e-05/0.1202, allocations: 11.92 kB / 413.3 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.1207, allocations: 333.1 kB / 413.6 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.623e-05/0.1208, allocations: 45.09 kB / 413.7 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.1209, allocations: 17.84 kB / 413.7 MB, free: 0.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005531/0.1214, allocations: 218.1 kB / 413.9 MB, free: 256 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1215, allocations: 30.56 kB / 413.9 MB, free: 216 kB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1215, allocations: 0 / 413.9 MB, free: 216 kB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.00022/0.1217, allocations: 53.55 kB / 414 MB, free: 156 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.1218, allocations: 85.28 kB / 414.1 MB, free: 52 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1219, allocations: 109.8 kB / 414.2 MB, free: 15.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.1219, allocations: 25.7 kB / 414.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.122, allocations: 80.14 kB / 414.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.122, allocations: 15.8 kB / 414.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.1221, allocations: 13.72 kB / 414.3 MB, free: 15.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1222, allocations: 318.8 kB / 414.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.1223, allocations: 4 kB / 414.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.546e-05/0.1223, allocations: 21.7 kB / 414.6 MB, free: 15.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.713e-05/0.1224, allocations: 21.72 kB / 414.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1224, allocations: 0 / 414.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.498e-05/0.1225, allocations: 45.64 kB / 414.7 MB, free: 15.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1225, allocations: 4 kB / 414.7 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.1225, allocations: 0 / 414.7 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1225, allocations: 4 kB / 414.7 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.01e-05/0.1226, allocations: 8.078 kB / 414.7 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1226, allocations: 0 / 414.7 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.1226, allocations: 3.938 kB / 414.7 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1226, allocations: 4 kB / 414.7 MB, free: 15.33 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 8.467e-05/0.1227, allocations: 109.8 kB / 414.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.1228, allocations: 11.84 kB / 414.9 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.1229, allocations: 48.8 kB / 414.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1229, allocations: 0 / 414.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1229, allocations: 4.031 kB / 414.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1229, allocations: 4 kB / 414.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.1232, allocations: 274.5 kB / 415.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1232, allocations: 0 / 415.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.721e-05/0.1233, allocations: 4 kB / 415.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1233, allocations: 3.938 kB / 415.2 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1233, allocations: 0 / 415.2 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1233, allocations: 4.25 kB / 415.2 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1233, allocations: 0 / 415.2 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.1235, allocations: 222.8 kB / 415.4 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.1235, allocations: 77.11 kB / 415.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.1236, allocations: 0 / 415.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.1236, allocations: 0 / 415.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.1237, allocations: 15.81 kB / 415.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1237, allocations: 0 / 415.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.065e-05/0.1237, allocations: 91.3 kB / 415.6 MB, free: 14.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1237, allocations: 0 / 415.6 MB, free: 14.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.124, allocations: 20 kB / 415.6 MB, free: 14.36 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.0002006/0.1242, allocations: 119.2 kB / 415.7 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.1244, allocations: 41.7 kB / 415.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1244, allocations: 0 / 415.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.989e-05/0.1244, allocations: 33.64 kB / 415.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.1247, allocations: 4.25 kB / 415.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.1251, allocations: 175.4 kB / 416 MB, free: 13.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.1255, allocations: 0.677 MB / 416.6 MB, free: 13.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.1256, allocations: 7.438 kB / 416.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1256, allocations: 0 / 416.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of Templates: time 0.00261/0.1282, allocations: 0.7179 MB / 417.4 MB, free: 12.5 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