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.001231/0.001231, allocations: 170.9 kB / 16.11 MB, free: 5.551 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.373/1.373, allocations: 223.3 MB / 240.1 MB, free: 11.7 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.0008744/0.0008747, allocations: 101.1 kB / 291.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02551/0.02551, allocations: 5.388 MB / 347.8 MB, free: 2.395 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008189/0.008189, allocations: 2.321 MB / 402.4 MB, free: 68.41 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.000499/0.000499, allocations: 16 kB / 466.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2351, allocations: 52.19 MB / 0.5067 GB, free: 40.31 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.3435, allocations: 96.45 MB / 0.6008 GB, free: 7.727 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.3438, allocations: 75.97 kB / 0.6009 GB, free: 7.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3308/0.6746, allocations: 35.77 MB / 0.6358 GB, free: 94.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6747, allocations: 0 / 0.6358 GB, free: 94.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.078e-05/0.6747, allocations: 19.56 kB / 0.6359 GB, free: 94.75 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.003226/0.678, allocations: 1.42 MB / 0.6373 GB, free: 93.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.678, allocations: 12.56 kB / 0.6373 GB, free: 93.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.6795, allocations: 305.4 kB / 0.6376 GB, free: 93.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009447/0.6805, allocations: 0.603 MB / 0.6381 GB, free: 93.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.6806, allocations: 87.72 kB / 0.6382 GB, free: 93.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.6808, allocations: 106.3 kB / 0.6383 GB, free: 93.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.6829, allocations: 1.199 MB / 0.6395 GB, free: 93.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/0.683, allocations: 4.812 kB / 0.6395 GB, free: 93.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.6831, allocations: 51.88 kB / 0.6396 GB, free: 93.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.6831, allocations: 25.56 kB / 0.6396 GB, free: 93.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/0.6853, allocations: 1.116 MB / 0.6407 GB, free: 93.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00577/0.691, allocations: 4.542 MB / 0.6451 GB, free: 91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.6932, allocations: 1.834 MB / 0.6469 GB, free: 89.49 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.6938, allocations: 363.2 kB / 0.6472 GB, free: 89.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/0.6941, allocations: 177.3 kB / 0.6474 GB, free: 89.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008088/0.6949, allocations: 0.5575 MB / 0.648 GB, free: 88.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 2.395e-06/0.6949, allocations: 0 / 0.648 GB, free: 88.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=80): time 0.006324/0.7012, allocations: 1.919 MB / 0.6498 GB, free: 88.15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.7013, allocations: 310.7 kB / 0.6501 GB, free: 87.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/0.7021, allocations: 0.597 MB / 0.6507 GB, free: 87.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/0.7021, allocations: 40.84 kB / 0.6507 GB, free: 87.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.7024, allocations: 484.8 kB / 0.6512 GB, free: 87.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.7026, allocations: 258.9 kB / 0.6515 GB, free: 86.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.7027, allocations: 23.59 kB / 0.6515 GB, free: 86.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.7028, allocations: 384.3 kB / 0.6518 GB, free: 86.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006194/0.7034, allocations: 333.4 kB / 0.6522 GB, free: 86.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/0.7041, allocations: 0.5779 MB / 0.6527 GB, free: 85.83 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.01535/0.7195, allocations: 3.73 MB / 0.6564 GB, free: 82.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.214e-05/0.7195, allocations: 3.938 kB / 0.6564 GB, free: 82.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002321/0.7219, allocations: 1.228 MB / 0.6576 GB, free: 81.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.114e-05/0.7219, allocations: 98.89 kB / 0.6577 GB, free: 81.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.722, allocations: 11.28 kB / 0.6577 GB, free: 81.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004446/0.7224, allocations: 90.7 kB / 0.6578 GB, free: 81.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009626/0.7234, allocations: 261.6 kB / 0.658 GB, free: 81.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.7247, allocations: 1.556 MB / 0.6595 GB, free: 79.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008709/0.7256, allocations: 113.7 kB / 0.6596 GB, free: 79.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.225e-05/0.7257, allocations: 51.27 kB / 0.6597 GB, free: 79.36 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.0005939/0.7263, allocations: 383.8 kB / 0.6601 GB, free: 78.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.7265, allocations: 75.16 kB / 0.6601 GB, free: 78.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004139/0.7307, allocations: 1.536 MB / 0.6616 GB, free: 77.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.7307, allocations: 11.94 kB / 0.6616 GB, free: 77.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7307, allocations: 4 kB / 0.6616 GB, free: 77.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.7307, allocations: 3.984 kB / 0.6616 GB, free: 77.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00372/0.7345, allocations: 2.452 MB / 0.664 GB, free: 74.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.7345, allocations: 0 / 0.664 GB, free: 74.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/0.7351, allocations: 127.8 kB / 0.6642 GB, free: 74.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/0.7374, allocations: 0.5937 MB / 0.6647 GB, free: 74.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.7375, allocations: 35.97 kB / 0.6648 GB, free: 74.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009569/0.7385, allocations: 0.9209 MB / 0.6657 GB, free: 73.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7385, allocations: 0 / 0.6657 GB, free: 73.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.741, allocations: 1.669 MB / 0.6673 GB, free: 71.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000518/0.7415, allocations: 259.8 kB / 0.6676 GB, free: 71.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/0.7418, allocations: 27.94 kB / 0.6676 GB, free: 71.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007209/0.7426, allocations: 47.97 kB / 0.6676 GB, free: 71.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.7427, allocations: 56.92 kB / 0.6677 GB, free: 71.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.7428, allocations: 39.97 kB / 0.6677 GB, free: 71.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005816/0.7434, allocations: 418.8 kB / 0.6681 GB, free: 70.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7434, allocations: 0 / 0.6681 GB, free: 70.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001536/0.7449, allocations: 394.9 kB / 0.6685 GB, free: 70.26 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.0009094/0.7459, allocations: 413.3 kB / 0.6689 GB, free: 69.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.7479, allocations: 1.178 MB / 0.67 GB, free: 68.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7479, allocations: 4 kB / 0.67 GB, free: 68.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008821/0.7488, allocations: 0.6693 MB / 0.6707 GB, free: 68.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009543/0.7498, allocations: 130.2 kB / 0.6708 GB, free: 67.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.753, allocations: 2.207 MB / 0.673 GB, free: 65.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.7536, allocations: 1.013 MB / 0.674 GB, free: 64.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006229/0.7542, allocations: 114.2 kB / 0.6741 GB, free: 64.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.7545, allocations: 87.38 kB / 0.6742 GB, free: 64.43 MB / 394.7 MB Notification: Performance of SimCode: time 7.31e-07/0.7545, allocations: 4 kB / 0.6742 GB, free: 64.42 MB / 394.7 MB Notification: Performance of Templates: time 0.02083/0.7753, allocations: 12.93 MB / 0.6868 GB, free: 51.59 MB / 394.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 -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_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:26: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629_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_Comax_Analytical_20160629_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_Comax_Analytical_20160629.o] Error 1