Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_Analytical_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629") translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006026/0.006026, allocations: 170.6 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.447/1.447, allocations: 223.2 MB / 239 MB, free: 1.789 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.0009024/0.0009023, allocations: 100.3 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.02554/0.02554, allocations: 5.392 MB / 346.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.1589/0.1589, allocations: 2.293 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.000415/0.000415, allocations: 23.98 kB / 465.3 MB, free: 42.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.09962, allocations: 52.18 MB / 0.5054 GB, free: 6.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3813/0.4809, allocations: 96.37 MB / 0.5995 GB, free: 5.508 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4813, allocations: 79.22 kB / 0.5996 GB, free: 5.473 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09275/0.574, allocations: 35.89 MB / 0.6346 GB, free: 6.652 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.5741, allocations: 4 kB / 0.6346 GB, free: 6.648 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.177e-05/0.5741, allocations: 23.94 kB / 0.6346 GB, free: 6.625 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.003528/0.5777, allocations: 1.434 MB / 0.636 GB, free: 5.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5777, allocations: 8.031 kB / 0.636 GB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.5793, allocations: 298.4 kB / 0.6363 GB, free: 4.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009995/0.5803, allocations: 0.5861 MB / 0.6369 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.577e-05/0.5804, allocations: 82.02 kB / 0.637 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.5805, allocations: 115.9 kB / 0.6371 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.5827, allocations: 1.187 MB / 0.6383 GB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.5828, allocations: 3.906 kB / 0.6383 GB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.5829, allocations: 48 kB / 0.6383 GB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.5829, allocations: 24 kB / 0.6383 GB, free: 2.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/0.5853, allocations: 1.12 MB / 0.6394 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007496/0.5928, allocations: 4.539 MB / 0.6439 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.5955, allocations: 1.837 MB / 0.6456 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/0.5958, allocations: 174.8 kB / 0.6458 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009853/0.5968, allocations: 0.5635 MB / 0.6464 GB, free: 9.934 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 5.681e-06/0.5968, allocations: 0 / 0.6464 GB, free: 9.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.007653/0.6045, allocations: 2.061 MB / 0.6484 GB, free: 7.789 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001812/0.6047, allocations: 285.7 kB / 0.6486 GB, free: 7.449 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009786/0.6057, allocations: 0.5254 MB / 0.6492 GB, free: 6.918 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.6058, allocations: 45.7 kB / 0.6492 GB, free: 6.867 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.6062, allocations: 482.9 kB / 0.6497 GB, free: 6.387 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.6065, allocations: 260.3 kB / 0.6499 GB, free: 6.129 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.6066, allocations: 24 kB / 0.6499 GB, free: 6.105 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.6068, allocations: 386.7 kB / 0.6503 GB, free: 5.719 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006838/0.6074, allocations: 334.5 kB / 0.6506 GB, free: 5.395 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009008/0.6084, allocations: 0.5755 MB / 0.6512 GB, free: 4.723 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.01732/0.6257, allocations: 2.837 MB / 0.654 GB, free: 1.836 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/0.6257, allocations: 4 kB / 0.654 GB, free: 1.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002693/0.6284, allocations: 1.229 MB / 0.6552 GB, free: 0.582 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.632e-05/0.6285, allocations: 89.09 kB / 0.6552 GB, free: 488 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.6286, allocations: 8 kB / 0.6553 GB, free: 480 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005549/0.6291, allocations: 97 kB / 0.6553 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.6303, allocations: 255.5 kB / 0.6556 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.6323, allocations: 1.573 MB / 0.6571 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.6333, allocations: 115.3 kB / 0.6572 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/0.6334, allocations: 47.97 kB / 0.6573 GB, free: 14.25 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.0008121/0.6342, allocations: 378 kB / 0.6576 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.6344, allocations: 83 kB / 0.6577 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/0.6391, allocations: 1.541 MB / 0.6592 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.6391, allocations: 8 kB / 0.6592 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6391, allocations: 0 / 0.6592 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.6391, allocations: 3.984 kB / 0.6592 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004128/0.6433, allocations: 2.346 MB / 0.6615 GB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.6433, allocations: 0 / 0.6615 GB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006021/0.6439, allocations: 139.8 kB / 0.6617 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002548/0.6465, allocations: 0.5846 MB / 0.6622 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.911e-05/0.6466, allocations: 39.91 kB / 0.6623 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.6477, allocations: 0.9254 MB / 0.6632 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6477, allocations: 0 / 0.6632 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.6505, allocations: 1.685 MB / 0.6648 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000431/0.6509, allocations: 255.8 kB / 0.6651 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.6511, allocations: 24 kB / 0.6651 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006223/0.6517, allocations: 52.02 kB / 0.6651 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.6518, allocations: 68.89 kB / 0.6652 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/0.6519, allocations: 39.91 kB / 0.6652 GB, free: 5.832 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005601/0.6525, allocations: 418.8 kB / 0.6656 GB, free: 5.426 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6525, allocations: 0 / 0.6656 GB, free: 5.426 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001206/0.6537, allocations: 391 kB / 0.666 GB, free: 5.043 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.0008885/0.6546, allocations: 425.2 kB / 0.6664 GB, free: 4.699 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002169/0.6568, allocations: 1.173 MB / 0.6676 GB, free: 3.477 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.6568, allocations: 4.188 kB / 0.6676 GB, free: 3.473 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009753/0.6578, allocations: 0.6599 MB / 0.6682 GB, free: 2.773 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007197/0.6585, allocations: 120.2 kB / 0.6683 GB, free: 2.656 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/0.6618, allocations: 2.21 MB / 0.6705 GB, free: 428 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006256/0.6625, allocations: 1.034 MB / 0.6715 GB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005273/0.663, allocations: 118.2 kB / 0.6716 GB, free: 15.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.6633, allocations: 83.38 kB / 0.6717 GB, free: 15.16 MB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6633, allocations: 0 / 0.6717 GB, free: 15.16 MB / 442.7 MB Notification: Performance of Templates: time 0.0227/0.686, allocations: 12.86 MB / 0.6842 GB, free: 2.375 MB / 442.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_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_Comax_Analytical_20160629.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629_model.h:24: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_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_Comax_Analytical_20160629.o] Error 1