Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_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_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006858/0.006858, allocations: 171.9 kB / 15.12 MB, free: 5.992 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.386/1.386, allocations: 223.2 MB / 239 MB, free: 1.785 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.0009018/0.0009018, allocations: 105.2 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02498/0.02498, allocations: 5.403 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.1713/0.1713, allocations: 2.299 MB / 401.3 MB, free: 91.7 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004684, allocations: 16 kB / 465.3 MB, free: 42.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1222, allocations: 52.19 MB / 0.5054 GB, free: 6.012 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4201/0.5423, allocations: 98.79 MB / 0.6019 GB, free: 3.184 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.5426, allocations: 74.47 kB / 0.6019 GB, free: 3.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09572/0.6383, allocations: 36.73 MB / 0.6378 GB, free: 3.379 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6384, allocations: 0 / 0.6378 GB, free: 3.379 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.72e-05/0.6385, allocations: 20 kB / 0.6378 GB, free: 3.359 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.00406/0.6425, allocations: 1.484 MB / 0.6393 GB, free: 1.809 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.6426, allocations: 8.031 kB / 0.6393 GB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.6443, allocations: 306.2 kB / 0.6396 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.6457, allocations: 0.6564 MB / 0.6402 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-05/0.6458, allocations: 86.03 kB / 0.6403 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.6459, allocations: 104 kB / 0.6404 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.6483, allocations: 1.21 MB / 0.6416 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.6483, allocations: 3.906 kB / 0.6416 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.6484, allocations: 48 kB / 0.6416 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.6485, allocations: 24 kB / 0.6416 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.6508, allocations: 1.202 MB / 0.6428 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007104/0.6579, allocations: 4.558 MB / 0.6473 GB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.6603, allocations: 1.851 MB / 0.6491 GB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.413e-05/0.6604, allocations: 89.66 kB / 0.6492 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007551/0.6612, allocations: 489.6 kB / 0.6496 GB, free: 6.621 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.294e-06/0.6612, allocations: 0 / 0.6496 GB, free: 6.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=70): time 0.007015/0.6682, allocations: 1.911 MB / 0.6515 GB, free: 4.645 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.6684, allocations: 218.2 kB / 0.6517 GB, free: 4.383 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.6695, allocations: 0.6516 MB / 0.6523 GB, free: 3.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.441e-05/0.6696, allocations: 41.7 kB / 0.6524 GB, free: 3.684 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004805/0.67, allocations: 0.518 MB / 0.6529 GB, free: 3.156 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.6703, allocations: 244.7 kB / 0.6531 GB, free: 2.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.6703, allocations: 20 kB / 0.6531 GB, free: 2.895 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.6705, allocations: 386.8 kB / 0.6535 GB, free: 2.508 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.6711, allocations: 317.8 kB / 0.6538 GB, free: 2.199 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007133/0.6718, allocations: 0.5546 MB / 0.6544 GB, free: 1.535 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006764/0.6725, allocations: 446.3 kB / 0.6548 GB, free: 1.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.6725, allocations: 4 kB / 0.6548 GB, free: 1.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002065/0.6746, allocations: 1.18 MB / 0.6559 GB, free: 15.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/0.6747, allocations: 59.41 kB / 0.656 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.6747, allocations: 8 kB / 0.656 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005105/0.6752, allocations: 97 kB / 0.6561 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008409/0.676, allocations: 223.6 kB / 0.6563 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.6777, allocations: 1.561 MB / 0.6578 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/0.6785, allocations: 99.3 kB / 0.6579 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.417e-05/0.6786, allocations: 51.97 kB / 0.658 GB, free: 13.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 (119): * Single equations (assignments): 116 * 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.0005909/0.6792, allocations: 344.5 kB / 0.6583 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.6793, allocations: 86.92 kB / 0.6584 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/0.6835, allocations: 1.379 MB / 0.6597 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.6835, allocations: 11.94 kB / 0.6597 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6836, allocations: 4 kB / 0.6598 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.6836, allocations: 3.984 kB / 0.6598 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003702/0.6873, allocations: 2.222 MB / 0.6619 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.6873, allocations: 0 / 0.6619 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.6877, allocations: 115.8 kB / 0.662 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002529/0.6903, allocations: 0.5879 MB / 0.6626 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.31e-05/0.6904, allocations: 31.97 kB / 0.6626 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.6915, allocations: 0.917 MB / 0.6635 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.6916, allocations: 7.891 kB / 0.6635 GB, free: 7.773 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.6943, allocations: 1.551 MB / 0.6651 GB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004959/0.6948, allocations: 263.8 kB / 0.6653 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.6949, allocations: 24 kB / 0.6653 GB, free: 5.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.6956, allocations: 47.97 kB / 0.6654 GB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.6957, allocations: 44.59 kB / 0.6654 GB, free: 5.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.6958, allocations: 35.97 kB / 0.6655 GB, free: 5.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000732/0.6965, allocations: 0.4912 MB / 0.6659 GB, free: 5.262 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.904e-06/0.6965, allocations: 0 / 0.6659 GB, free: 5.262 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001271/0.6978, allocations: 374.9 kB / 0.6663 GB, free: 4.895 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: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001662/0.6995, allocations: 0.7232 MB / 0.667 GB, free: 4.406 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.7014, allocations: 1.054 MB / 0.668 GB, free: 3.312 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7014, allocations: 0 / 0.668 GB, free: 3.312 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008072/0.7022, allocations: 0.535 MB / 0.6685 GB, free: 2.754 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.703, allocations: 126.6 kB / 0.6687 GB, free: 2.637 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.7066, allocations: 2.209 MB / 0.6708 GB, free: 404 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/0.7074, allocations: 1.053 MB / 0.6719 GB, free: 15.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005506/0.7079, allocations: 118.2 kB / 0.672 GB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.7082, allocations: 83.33 kB / 0.672 GB, free: 15.11 MB / 442.7 MB Notification: Performance of SimCode: time 9.71e-07/0.7082, allocations: 0 / 0.672 GB, free: 15.11 MB / 442.7 MB Notification: Performance of Templates: time 0.0236/0.7318, allocations: 12.79 MB / 0.6845 GB, free: 2.41 MB / 442.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.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_Measurement_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_Measurement_20160808.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808_model.h:24: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808_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_Measurement_20160808_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_Measurement_20160808.o] Error 1