Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_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_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001402, allocations: 178.9 kB / 16.12 MB, free: 5.57 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.402/1.402, allocations: 223.3 MB / 240.1 MB, free: 9.977 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.0007563/0.0007565, allocations: 101.2 kB / 291.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02543/0.02543, allocations: 5.402 MB / 347.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.01438/0.01438, allocations: 2.314 MB / 402.4 MB, free: 68.39 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0008297/0.0008297, allocations: 16 kB / 466.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2581, allocations: 52.19 MB / 0.5067 GB, free: 40.08 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.3846, allocations: 98.71 MB / 0.603 GB, free: 5.469 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.3849, allocations: 77.66 kB / 0.6031 GB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2814/0.6663, allocations: 37.26 MB / 0.6395 GB, free: 94.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6663, allocations: 0 / 0.6395 GB, free: 94.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.691e-05/0.6664, allocations: 25.33 kB / 0.6395 GB, free: 94.29 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003387/0.6698, allocations: 1.466 MB / 0.641 GB, free: 93.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.6699, allocations: 10.75 kB / 0.641 GB, free: 93.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.6715, allocations: 303.6 kB / 0.6413 GB, free: 93.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.6726, allocations: 0.6763 MB / 0.6419 GB, free: 93.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/0.6727, allocations: 82.03 kB / 0.642 GB, free: 93.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.6729, allocations: 106.5 kB / 0.6421 GB, free: 93.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.6748, allocations: 1.156 MB / 0.6432 GB, free: 92.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.6748, allocations: 4.688 kB / 0.6432 GB, free: 92.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.6749, allocations: 47.91 kB / 0.6433 GB, free: 92.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.675, allocations: 22.88 kB / 0.6433 GB, free: 92.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.6768, allocations: 1.03 MB / 0.6443 GB, free: 92.87 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005636/0.6824, allocations: 4.499 MB / 0.6487 GB, free: 90.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.6843, allocations: 1.73 MB / 0.6504 GB, free: 88.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004904/0.6848, allocations: 317.5 kB / 0.6507 GB, free: 88.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-05/0.6849, allocations: 104.5 kB / 0.6508 GB, free: 88.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006434/0.6855, allocations: 470.6 kB / 0.6512 GB, free: 88.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 3.406e-06/0.6855, allocations: 4 kB / 0.6512 GB, free: 88.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.006071/0.6916, allocations: 1.763 MB / 0.653 GB, free: 86.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.563e-05/0.6917, allocations: 306.2 kB / 0.6533 GB, free: 86.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009622/0.6927, allocations: 0.7061 MB / 0.654 GB, free: 85.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.6928, allocations: 45.64 kB / 0.654 GB, free: 85.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.6931, allocations: 0.5099 MB / 0.6545 GB, free: 85.33 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.6933, allocations: 217.4 kB / 0.6547 GB, free: 85.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.6933, allocations: 20 kB / 0.6547 GB, free: 85.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6934, allocations: 387.5 kB / 0.6551 GB, free: 84.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/0.694, allocations: 300.3 kB / 0.6554 GB, free: 84.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006383/0.6946, allocations: 0.56 MB / 0.6559 GB, free: 83.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.6957, allocations: 0.9375 MB / 0.6568 GB, free: 82.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.6958, allocations: 4 kB / 0.6568 GB, free: 82.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00196/0.6977, allocations: 1.108 MB / 0.6579 GB, free: 81.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.6978, allocations: 63.41 kB / 0.658 GB, free: 81.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.6978, allocations: 8 kB / 0.658 GB, free: 81.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004828/0.6983, allocations: 101 kB / 0.6581 GB, free: 81.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/0.6991, allocations: 219.5 kB / 0.6583 GB, free: 81.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.7004, allocations: 1.558 MB / 0.6598 GB, free: 79.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008138/0.7012, allocations: 114.9 kB / 0.6599 GB, free: 79.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.959e-05/0.7013, allocations: 47.97 kB / 0.66 GB, free: 79.53 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,$PRE.irradianceTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,$PRE.powerTable.nextTimeEvent,powerTable.nextTimeEvent,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEventScaled,$PRE.mpTracker.vRef,mpTracker.vRef,irradianceTable.nextTimeEvent,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEventScaled,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 (118): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 2 * 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.0006202/0.7019, allocations: 335.5 kB / 0.6603 GB, free: 79.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.7021, allocations: 82.97 kB / 0.6604 GB, free: 79.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003481/0.7056, allocations: 1.26 MB / 0.6616 GB, free: 77.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.7056, allocations: 8 kB / 0.6616 GB, free: 77.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.7056, allocations: 0 / 0.6616 GB, free: 77.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.7056, allocations: 3.984 kB / 0.6616 GB, free: 77.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.7087, allocations: 2.134 MB / 0.6637 GB, free: 75.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.7087, allocations: 4 kB / 0.6637 GB, free: 75.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.709, allocations: 83.91 kB / 0.6638 GB, free: 75.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/0.7112, allocations: 0.5879 MB / 0.6644 GB, free: 74.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.625e-05/0.7113, allocations: 23.98 kB / 0.6644 GB, free: 74.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008908/0.7122, allocations: 0.9209 MB / 0.6653 GB, free: 73.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7122, allocations: 0 / 0.6653 GB, free: 73.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.7141, allocations: 1.413 MB / 0.6667 GB, free: 72.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/0.7145, allocations: 247.9 kB / 0.6669 GB, free: 72.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.7147, allocations: 28 kB / 0.6669 GB, free: 72.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.7153, allocations: 47.91 kB / 0.667 GB, free: 72.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-05/0.7154, allocations: 40.5 kB / 0.667 GB, free: 72.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.206e-05/0.7154, allocations: 27.97 kB / 0.667 GB, free: 72.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006299/0.7161, allocations: 495 kB / 0.6675 GB, free: 71.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7161, allocations: 8 kB / 0.6675 GB, free: 71.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001146/0.7172, allocations: 367 kB / 0.6679 GB, free: 71.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.001454/0.7187, allocations: 0.7149 MB / 0.6686 GB, free: 70.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.7205, allocations: 0.9842 MB / 0.6695 GB, free: 69.76 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7205, allocations: 0.5 kB / 0.6695 GB, free: 69.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006948/0.7212, allocations: 0.4939 MB / 0.67 GB, free: 69.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000973/0.7222, allocations: 143.9 kB / 0.6701 GB, free: 69.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.7251, allocations: 2.126 MB / 0.6722 GB, free: 66.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.7256, allocations: 1.014 MB / 0.6732 GB, free: 65.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005088/0.7261, allocations: 110.2 kB / 0.6733 GB, free: 65.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.7263, allocations: 75.39 kB / 0.6734 GB, free: 65.73 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.7263, allocations: 0 / 0.6734 GB, free: 65.73 MB / 394.7 MB Notification: Performance of Templates: time 0.02147/0.7478, allocations: 12.66 MB / 0.6858 GB, free: 53.17 MB / 394.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_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_Measurement_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_Measurement_20160629.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629_model.h:26: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_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_Measurement_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_Measurement_20160629.o] Error 1