Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629.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_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006356/0.006356, allocations: 171 kB / 15.11 MB, free: 6.039 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.36/1.36, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008744/0.0008745, allocations: 89.42 kB / 290.2 MB, free: 13.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02504/0.02504, allocations: 5.393 MB / 346.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.175/0.175, allocations: 2.309 MB / 401.3 MB, free: 91.55 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004158, allocations: 16 kB / 465.3 MB, free: 42.28 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1056, allocations: 52.19 MB / 0.5054 GB, free: 6.035 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4354/0.541, allocations: 96.37 MB / 0.5995 GB, free: 5.562 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.5414, allocations: 74.22 kB / 0.5996 GB, free: 5.531 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09291/0.6343, allocations: 35.88 MB / 0.6346 GB, free: 6.703 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6343, allocations: 4 kB / 0.6346 GB, free: 6.699 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.563e-05/0.6344, allocations: 20 kB / 0.6346 GB, free: 6.68 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.003558/0.6379, allocations: 1.442 MB / 0.636 GB, free: 5.168 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.638, allocations: 8.031 kB / 0.636 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.6396, allocations: 298.4 kB / 0.6363 GB, free: 4.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.6406, allocations: 0.586 MB / 0.6369 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/0.6407, allocations: 82.06 kB / 0.637 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.6409, allocations: 112 kB / 0.6371 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.6433, allocations: 1.195 MB / 0.6383 GB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.6433, allocations: 7.906 kB / 0.6383 GB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.6434, allocations: 44 kB / 0.6383 GB, free: 2.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.6435, allocations: 24 kB / 0.6383 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002482/0.646, allocations: 1.12 MB / 0.6394 GB, free: 1.598 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007888/0.6539, allocations: 4.539 MB / 0.6439 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.6565, allocations: 1.828 MB / 0.6456 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.6568, allocations: 174.8 kB / 0.6458 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009388/0.6577, allocations: 0.5713 MB / 0.6464 GB, free: 9.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 3.336e-06/0.6577, allocations: 0 / 0.6464 GB, free: 9.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.007502/0.6652, allocations: 2.061 MB / 0.6484 GB, free: 7.836 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.6654, allocations: 285.7 kB / 0.6486 GB, free: 7.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009829/0.6664, allocations: 0.5254 MB / 0.6492 GB, free: 6.965 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.343e-05/0.6665, allocations: 45.7 kB / 0.6492 GB, free: 6.914 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004408/0.667, allocations: 490.9 kB / 0.6497 GB, free: 6.426 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.6673, allocations: 260.3 kB / 0.6499 GB, free: 6.168 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.6673, allocations: 24 kB / 0.6499 GB, free: 6.145 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.6675, allocations: 386.7 kB / 0.6503 GB, free: 5.758 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007816/0.6683, allocations: 334.5 kB / 0.6506 GB, free: 5.434 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008561/0.6692, 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.01946/0.6887, allocations: 2.837 MB / 0.654 GB, free: 1.875 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/0.6887, allocations: 4 kB / 0.654 GB, free: 1.871 MB / 410.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002648/0.6914, allocations: 1.225 MB / 0.6552 GB, free: 0.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.735e-05/0.6915, allocations: 93.03 kB / 0.6553 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.6915, allocations: 8 kB / 0.6553 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/0.6921, allocations: 97 kB / 0.6554 GB, free: 420 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.6931, allocations: 251.5 kB / 0.6556 GB, free: 168 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.6949, allocations: 1.577 MB / 0.6571 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.696, allocations: 111.2 kB / 0.6572 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/0.6961, allocations: 55.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.000784/0.6969, allocations: 373.3 kB / 0.6577 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.6971, allocations: 79.06 kB / 0.6577 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004671/0.7018, allocations: 1.541 MB / 0.6592 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.7018, allocations: 8 kB / 0.6592 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7018, allocations: 0 / 0.6592 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.7018, allocations: 3.984 kB / 0.6592 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/0.7058, allocations: 2.342 MB / 0.6615 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.026e-06/0.7059, allocations: 3.984 kB / 0.6615 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/0.7065, allocations: 135.8 kB / 0.6617 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002543/0.7091, allocations: 0.5839 MB / 0.6622 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.7092, allocations: 39.92 kB / 0.6623 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.7103, allocations: 0.9287 MB / 0.6632 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7103, allocations: 0 / 0.6632 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003034/0.7133, allocations: 1.689 MB / 0.6648 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000606/0.714, allocations: 259.8 kB / 0.6651 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.7141, allocations: 27.94 kB / 0.6651 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006572/0.7148, allocations: 43.98 kB / 0.6651 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.7149, allocations: 64.86 kB / 0.6652 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-05/0.715, allocations: 39.97 kB / 0.6652 GB, free: 5.875 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005934/0.7156, allocations: 422.8 kB / 0.6656 GB, free: 5.465 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7156, allocations: 0 / 0.6656 GB, free: 5.465 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001389/0.717, allocations: 379 kB / 0.666 GB, free: 5.094 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.0009557/0.718, allocations: 432.3 kB / 0.6664 GB, free: 4.746 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002277/0.7203, allocations: 1.177 MB / 0.6676 GB, free: 3.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.7203, allocations: 4.125 kB / 0.6676 GB, free: 3.516 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000995/0.7213, allocations: 0.6599 MB / 0.6682 GB, free: 2.816 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007523/0.7221, allocations: 119.5 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.003506/0.7256, allocations: 2.219 MB / 0.6705 GB, free: 468 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/0.7262, allocations: 1.034 MB / 0.6715 GB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005959/0.7268, allocations: 118.2 kB / 0.6716 GB, free: 15.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.7271, allocations: 79.38 kB / 0.6717 GB, free: 15.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.643e-06/0.7271, allocations: 0 / 0.6717 GB, free: 15.2 MB / 442.7 MB Notification: Performance of Templates: time 0.02486/0.752, allocations: 12.85 MB / 0.6842 GB, free: 2.426 MB / 442.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629.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_20160629 -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_20160629.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629_model.h:24: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629_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_20160629_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_20160629.o] Error 1