Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo", uses=false) Using package PhotoVoltaics_TGM with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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) 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) Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005859/0.005859, allocations: 171.8 kB / 15.11 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.2 MB / 239 MB, free: 1.816 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009487/0.0009487, allocations: 101 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02446/0.02446, allocations: 5.392 MB / 346.7 MB, free: 5.566 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.1679/0.1679, allocations: 2.308 MB / 401.3 MB, free: 91.74 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005036, allocations: 16 kB / 465.3 MB, free: 42.28 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1255, allocations: 52.18 MB / 0.5054 GB, free: 6.051 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4416/0.5671, allocations: 96.37 MB / 0.5995 GB, free: 5.594 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.5674, allocations: 73.92 kB / 0.5996 GB, free: 5.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09532/0.6627, allocations: 35.89 MB / 0.6346 GB, free: 6.695 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6628, allocations: 3.938 kB / 0.6346 GB, free: 6.691 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.548e-05/0.6629, allocations: 20 kB / 0.6346 GB, free: 6.672 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.003639/0.6665, allocations: 1.438 MB / 0.636 GB, free: 5.164 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.6666, allocations: 8.031 kB / 0.636 GB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.6681, allocations: 302.4 kB / 0.6363 GB, free: 4.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009608/0.6691, allocations: 0.5822 MB / 0.6369 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.297e-05/0.6692, allocations: 89.94 kB / 0.637 GB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.6693, allocations: 108 kB / 0.6371 GB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.6716, allocations: 1.191 MB / 0.6383 GB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.6717, allocations: 3.906 kB / 0.6383 GB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.6718, allocations: 48 kB / 0.6383 GB, free: 2.742 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.6718, allocations: 24 kB / 0.6383 GB, free: 2.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.6742, allocations: 1.116 MB / 0.6394 GB, free: 1.598 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007268/0.6814, allocations: 4.543 MB / 0.6439 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/0.6842, allocations: 1.835 MB / 0.6456 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/0.6844, allocations: 166.8 kB / 0.6458 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009436/0.6854, allocations: 0.5713 MB / 0.6464 GB, free: 9.977 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 2.975e-06/0.6854, allocations: 0 / 0.6464 GB, free: 9.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.007671/0.6931, allocations: 2.061 MB / 0.6484 GB, free: 7.832 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/0.6933, allocations: 281.7 kB / 0.6486 GB, free: 7.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009019/0.6942, allocations: 0.5254 MB / 0.6492 GB, free: 6.965 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.6943, allocations: 49.69 kB / 0.6492 GB, free: 6.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.6947, allocations: 491 kB / 0.6497 GB, free: 6.422 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.695, allocations: 260.3 kB / 0.6499 GB, free: 6.164 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.695, allocations: 24 kB / 0.6499 GB, free: 6.141 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6952, allocations: 386.7 kB / 0.6503 GB, free: 5.754 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/0.6959, allocations: 330.5 kB / 0.6506 GB, free: 5.434 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008637/0.6967, allocations: 0.5755 MB / 0.6512 GB, free: 4.762 MB / 410.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.0176/0.7144, allocations: 2.841 MB / 0.654 GB, free: 1.871 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/0.7144, allocations: 4 kB / 0.654 GB, free: 1.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00279/0.7172, allocations: 1.229 MB / 0.6552 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.14e-05/0.7173, allocations: 85.11 kB / 0.6553 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.7174, allocations: 8 kB / 0.6553 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/0.7179, allocations: 100.7 kB / 0.6554 GB, free: 416 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.7191, allocations: 255.6 kB / 0.6556 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.7209, allocations: 1.569 MB / 0.6571 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.722, allocations: 111 kB / 0.6572 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.7222, allocations: 51.95 kB / 0.6573 GB, free: 14.29 MB / 426.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $PRE.irradiance.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.irradiance.year,irradiance.year,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$whenCondition2,$whenCondition3,$PRE.mpTracker.vRef,mpTracker.vRef,$PRE.irradiance.startDayOfYear,irradiance.startDayOfYear,$PRE.irradiance.dayOfYear,irradiance.dayOfYear,$PRE.irradiance.daysOfYear,irradiance.daysOfYear,irradiance.localDays,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008699/0.723, allocations: 377.4 kB / 0.6576 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.7232, allocations: 79.06 kB / 0.6577 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004723/0.7279, allocations: 1.545 MB / 0.6592 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.728, allocations: 12 kB / 0.6592 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.728, allocations: 0 / 0.6592 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.728, allocations: 3.984 kB / 0.6592 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003866/0.7319, allocations: 2.338 MB / 0.6615 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.7319, allocations: 4.031 kB / 0.6615 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006117/0.7325, allocations: 135.8 kB / 0.6617 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002535/0.735, allocations: 0.5917 MB / 0.6622 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.092e-05/0.7351, allocations: 35.92 kB / 0.6623 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.7362, allocations: 0.917 MB / 0.6632 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.7362, allocations: 0 / 0.6632 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002874/0.7392, allocations: 1.692 MB / 0.6648 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005165/0.7397, allocations: 259.7 kB / 0.6651 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.7398, allocations: 24 kB / 0.6651 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006473/0.7405, allocations: 47.97 kB / 0.6651 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.7406, allocations: 64.81 kB / 0.6652 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-05/0.7407, allocations: 39.95 kB / 0.6652 GB, free: 5.875 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005953/0.7413, allocations: 418.8 kB / 0.6656 GB, free: 5.469 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7413, allocations: 4 kB / 0.6656 GB, free: 5.465 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00134/0.7427, allocations: 383 kB / 0.666 GB, free: 5.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 16 (irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition4,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009294/0.7436, allocations: 431.5 kB / 0.6664 GB, free: 4.746 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.7459, allocations: 1.176 MB / 0.6676 GB, free: 3.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7459, allocations: 1.5 kB / 0.6676 GB, free: 3.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009585/0.7468, allocations: 0.6677 MB / 0.6682 GB, free: 2.812 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/0.7475, allocations: 115.6 kB / 0.6683 GB, free: 2.699 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/0.7513, allocations: 2.205 MB / 0.6705 GB, free: 480 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.7519, allocations: 1.038 MB / 0.6715 GB, free: 15.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005988/0.7525, allocations: 118.2 kB / 0.6716 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.7528, allocations: 87.38 kB / 0.6717 GB, free: 15.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7528, allocations: 0 / 0.6717 GB, free: 15.2 MB / 442.7 MB Notification: Performance of Templates: time 0.02817/0.781, allocations: 12.86 MB / 0.6843 GB, free: 2.422 MB / 442.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Analytical_20160808 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808_model.h:24: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808_functions.h:356:1: error: unknown type name '_omcQComplexOutput_24converter_24potentialSensor_24v' _omcQComplexOutput_24converter_24potentialSensor_24v omc__omcQComplexOutput_24converter_24potentialSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808_functions.h:365:1: error: unknown type name '_omcQComplexOutput_24converter_24powerSensor_24apparentPower' _omcQComplexOutput_24converter_24powerSensor_24apparentPower omc__omcQComplexOutput_24converter_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 errors generated. make: *** [: PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.o] Error 1