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.001232/0.001232, allocations: 172.1 kB / 16.12 MB, free: 5.668 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.587/1.587, allocations: 223.3 MB / 240.1 MB, free: 11.72 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008529/0.0008531, allocations: 98.62 kB / 291.3 MB, free: 10.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02537/0.02537, allocations: 5.377 MB / 347.8 MB, free: 2.434 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008051/0.008051, allocations: 2.314 MB / 402.4 MB, free: 68.45 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0005239/0.0005241, allocations: 27.98 kB / 466.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3209, allocations: 52.17 MB / 0.5067 GB, free: 40.36 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.4564, allocations: 96.46 MB / 0.6009 GB, free: 7.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.4568, allocations: 67.98 kB / 0.6009 GB, free: 7.703 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3694/0.8262, allocations: 35.78 MB / 0.6359 GB, free: 94.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.8263, allocations: 0 / 0.6359 GB, free: 94.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.549e-05/0.8264, allocations: 21.47 kB / 0.6359 GB, free: 94.76 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.004548/0.8309, allocations: 1.411 MB / 0.6373 GB, free: 93.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.831, allocations: 12.56 kB / 0.6373 GB, free: 93.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.8329, allocations: 304.8 kB / 0.6376 GB, free: 93.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.8342, allocations: 0.5972 MB / 0.6381 GB, free: 93.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-05/0.8344, allocations: 86.78 kB / 0.6382 GB, free: 93.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003227/0.8347, allocations: 105.9 kB / 0.6383 GB, free: 93.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002814/0.8375, allocations: 1.206 MB / 0.6395 GB, free: 93.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/0.8376, allocations: 5.375 kB / 0.6395 GB, free: 93.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.8377, allocations: 46.09 kB / 0.6395 GB, free: 93.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/0.8378, allocations: 28.97 kB / 0.6396 GB, free: 93.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/0.8404, allocations: 1.113 MB / 0.6407 GB, free: 93.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007567/0.848, allocations: 4.538 MB / 0.6451 GB, free: 91.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.8503, allocations: 1.843 MB / 0.6469 GB, free: 89.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000615/0.8509, allocations: 359.3 kB / 0.6472 GB, free: 89.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.851, allocations: 178 kB / 0.6474 GB, free: 89.19 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008049/0.8519, allocations: 0.5597 MB / 0.648 GB, free: 88.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 4.749e-06/0.8519, allocations: 3.938 kB / 0.648 GB, free: 88.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=80): time 0.006437/0.8583, allocations: 1.914 MB / 0.6498 GB, free: 88.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.8585, allocations: 310.3 kB / 0.6501 GB, free: 87.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009365/0.8594, allocations: 0.5979 MB / 0.6507 GB, free: 87.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.916e-05/0.8595, allocations: 45.08 kB / 0.6507 GB, free: 87.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.8599, allocations: 491.1 kB / 0.6512 GB, free: 87.13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.8601, allocations: 256.1 kB / 0.6515 GB, free: 86.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-05/0.8602, allocations: 19.34 kB / 0.6515 GB, free: 86.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.8603, allocations: 383.6 kB / 0.6518 GB, free: 86.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.861, allocations: 339.6 kB / 0.6522 GB, free: 86.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007519/0.8617, allocations: 0.5768 MB / 0.6527 GB, free: 85.9 MB / 394.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.01542/0.8772, allocations: 3.726 MB / 0.6564 GB, free: 82.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.8772, allocations: 3.938 kB / 0.6564 GB, free: 82.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002614/0.8799, allocations: 1.231 MB / 0.6576 GB, free: 81.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/0.88, allocations: 104 kB / 0.6577 GB, free: 81.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.88, allocations: 8 kB / 0.6577 GB, free: 81.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004978/0.8805, allocations: 87.8 kB / 0.6578 GB, free: 81.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.8816, allocations: 261.5 kB / 0.658 GB, free: 81.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.883, allocations: 1.562 MB / 0.6595 GB, free: 79.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.8842, allocations: 109.5 kB / 0.6596 GB, free: 79.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.8843, allocations: 54.92 kB / 0.6597 GB, free: 79.43 MB / 394.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.daysOfYear = PhotoVoltaics.Functions.dayOfTheYear(31, 12, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0008229/0.8852, allocations: 377.1 kB / 0.6601 GB, free: 79.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.8854, allocations: 78.86 kB / 0.6601 GB, free: 78.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004328/0.8898, allocations: 1.535 MB / 0.6616 GB, free: 77.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.8898, allocations: 16 kB / 0.6616 GB, free: 77.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8898, allocations: 0 / 0.6616 GB, free: 77.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.8898, allocations: 3.984 kB / 0.6617 GB, free: 77.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003868/0.8937, allocations: 2.442 MB / 0.664 GB, free: 75.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.8937, allocations: 4.031 kB / 0.664 GB, free: 75.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000558/0.8943, allocations: 135.8 kB / 0.6642 GB, free: 74.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002177/0.8965, allocations: 0.5876 MB / 0.6647 GB, free: 74.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-05/0.8966, allocations: 35.8 kB / 0.6648 GB, free: 74.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009593/0.8976, allocations: 0.921 MB / 0.6657 GB, free: 73.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8976, allocations: 0 / 0.6657 GB, free: 73.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/0.9002, allocations: 1.669 MB / 0.6673 GB, free: 71.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005632/0.9007, allocations: 259.8 kB / 0.6676 GB, free: 71.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.901, allocations: 27.94 kB / 0.6676 GB, free: 71.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007007/0.9017, allocations: 47.98 kB / 0.6676 GB, free: 71.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.9019, allocations: 56.91 kB / 0.6677 GB, free: 71.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.748e-05/0.9019, allocations: 39.97 kB / 0.6677 GB, free: 71.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006143/0.9026, allocations: 422.8 kB / 0.6681 GB, free: 70.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.9026, allocations: 0 / 0.6681 GB, free: 70.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001457/0.904, allocations: 390.8 kB / 0.6685 GB, free: 70.38 MB / 394.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.001151/0.9052, allocations: 424.5 kB / 0.6689 GB, free: 70.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.9074, allocations: 1.171 MB / 0.67 GB, free: 68.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.9074, allocations: 0 / 0.67 GB, free: 68.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008598/0.9083, allocations: 0.6651 MB / 0.6707 GB, free: 68.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.9093, allocations: 131.5 kB / 0.6708 GB, free: 68.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.9128, allocations: 2.211 MB / 0.673 GB, free: 65.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.9134, allocations: 1.017 MB / 0.674 GB, free: 64.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005967/0.914, allocations: 118.2 kB / 0.6741 GB, free: 64.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.9142, allocations: 87.31 kB / 0.6742 GB, free: 64.54 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.9143, allocations: 0 / 0.6742 GB, free: 64.54 MB / 394.7 MB Notification: Performance of Templates: time 0.02295/0.9372, allocations: 12.93 MB / 0.6868 GB, free: 51.7 MB / 394.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 -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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:26: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808_functions.h:336: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:345: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