Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_2016,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_2016,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005738/0.005738, allocations: 170.5 kB / 15.11 MB, free: 5.973 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.421/1.421, allocations: 223.2 MB / 239.1 MB, free: 1.777 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.0008438/0.0008435, allocations: 90.8 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.02547/0.02547, allocations: 5.398 MB / 346.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.2012/0.2012, allocations: 2.293 MB / 401.3 MB, free: 91.74 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004651, allocations: 20 kB / 468.7 MB, free: 38.92 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1255, allocations: 52.18 MB / 0.5086 GB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4376/0.5631, allocations: 96.38 MB / 0.6028 GB, free: 6.488 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.5633, allocations: 71.03 kB / 0.6028 GB, free: 6.457 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09346/0.6568, allocations: 35.88 MB / 0.6379 GB, free: 4.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6568, allocations: 0 / 0.6379 GB, free: 4.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.366e-05/0.6569, allocations: 20 kB / 0.6379 GB, free: 4.25 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.003481/0.6604, allocations: 1.438 MB / 0.6393 GB, free: 2.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.6605, allocations: 12.02 kB / 0.6393 GB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.662, allocations: 298.4 kB / 0.6396 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.663, allocations: 0.5822 MB / 0.6402 GB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-05/0.6631, allocations: 82.06 kB / 0.6402 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.6633, allocations: 115.9 kB / 0.6403 GB, free: 1.617 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.6655, allocations: 1.199 MB / 0.6415 GB, free: 372 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.6656, allocations: 3.906 kB / 0.6415 GB, free: 368 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.6657, allocations: 44 kB / 0.6416 GB, free: 324 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.6657, allocations: 24 kB / 0.6416 GB, free: 300 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/0.668, allocations: 1.116 MB / 0.6427 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007551/0.6756, allocations: 4.536 MB / 0.6471 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002577/0.6782, allocations: 1.837 MB / 0.6489 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.6784, allocations: 174.8 kB / 0.6491 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008613/0.6793, allocations: 0.5558 MB / 0.6496 GB, free: 7.559 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 2.245e-06/0.6793, allocations: 0 / 0.6496 GB, free: 7.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.007385/0.6867, allocations: 2.065 MB / 0.6516 GB, free: 5.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.6868, allocations: 285.7 kB / 0.6519 GB, free: 5.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009333/0.6878, allocations: 0.5293 MB / 0.6524 GB, free: 4.535 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.181e-05/0.6879, allocations: 41.69 kB / 0.6525 GB, free: 4.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/0.6883, allocations: 495 kB / 0.6529 GB, free: 3.996 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.6886, allocations: 260.3 kB / 0.6532 GB, free: 3.738 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.6887, allocations: 20 kB / 0.6532 GB, free: 3.719 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.6888, allocations: 386.7 kB / 0.6536 GB, free: 3.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006711/0.6895, allocations: 334.5 kB / 0.6539 GB, free: 3.008 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008493/0.6904, allocations: 0.5716 MB / 0.6544 GB, free: 2.34 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.01726/0.7076, allocations: 2.845 MB / 0.6572 GB, free: 15.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.7077, allocations: 3.938 kB / 0.6572 GB, free: 15.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002708/0.7104, allocations: 1.233 MB / 0.6584 GB, free: 14.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.298e-05/0.7105, allocations: 89.11 kB / 0.6585 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.7105, allocations: 8 kB / 0.6585 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/0.7111, allocations: 96.77 kB / 0.6586 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.7122, allocations: 263.6 kB / 0.6589 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.714, allocations: 1.558 MB / 0.6604 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.7151, allocations: 114.9 kB / 0.6605 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.194e-05/0.7152, allocations: 55.95 kB / 0.6605 GB, free: 11.86 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.0007341/0.7159, allocations: 373.4 kB / 0.6609 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.7161, allocations: 75.16 kB / 0.661 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004607/0.7207, allocations: 1.541 MB / 0.6625 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.7207, allocations: 12 kB / 0.6625 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7207, allocations: 4 kB / 0.6625 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.7207, allocations: 3.984 kB / 0.6625 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003913/0.7247, allocations: 2.338 MB / 0.6648 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.7247, allocations: 0 / 0.6648 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006012/0.7253, allocations: 131.8 kB / 0.6649 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002565/0.7279, allocations: 0.5917 MB / 0.6655 GB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.534e-05/0.728, allocations: 39.92 kB / 0.6655 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.729, allocations: 0.9181 MB / 0.6664 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.729, allocations: 4.031 kB / 0.6664 GB, free: 5.645 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.7319, allocations: 1.681 MB / 0.6681 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004537/0.7323, allocations: 255.8 kB / 0.6683 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.7325, allocations: 24 kB / 0.6683 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/0.7331, allocations: 47.97 kB / 0.6684 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.7333, allocations: 64.86 kB / 0.6684 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/0.7333, allocations: 39.91 kB / 0.6685 GB, free: 3.465 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005744/0.7339, allocations: 418.8 kB / 0.6689 GB, free: 3.059 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7339, allocations: 4 kB / 0.6689 GB, free: 3.055 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001297/0.7352, allocations: 391 kB / 0.6693 GB, free: 2.672 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 (writeCSV.firstTrigger,$whenCondition4,writeCSV.sampleTrigger,irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * 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.0009419/0.7362, allocations: 439.8 kB / 0.6697 GB, free: 2.312 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.7384, allocations: 1.168 MB / 0.6708 GB, free: 1.094 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7384, allocations: 1.5 kB / 0.6708 GB, free: 1.094 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009452/0.7393, allocations: 0.6639 MB / 0.6715 GB, free: 400 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006397/0.74, allocations: 114.2 kB / 0.6716 GB, free: 284 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.7433, allocations: 2.212 MB / 0.6737 GB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.744, allocations: 1.045 MB / 0.6748 GB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005446/0.7445, allocations: 118.2 kB / 0.6749 GB, free: 12.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.7448, allocations: 87.38 kB / 0.675 GB, free: 12.76 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.7448, allocations: 0 / 0.675 GB, free: 12.76 MB / 442.7 MB Notification: Performance of Templates: time 0.02426/0.7691, allocations: 12.85 MB / 0.6875 GB, free: 15.99 MB / 458.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.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_2016 -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_2016.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016_model.h:24: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016_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_2016_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_2016.o] Error 1