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.001975/0.001975, allocations: 170.2 kB / 16.11 MB, free: 5.582 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.82/1.82, allocations: 223.2 MB / 240.1 MB, free: 1.438 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.0009187/0.000919, allocations: 97.92 kB / 291.3 MB, free: 13.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02521/0.02521, allocations: 5.398 MB / 347.8 MB, free: 5.375 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.1735/0.1735, allocations: 2.295 MB / 402.4 MB, free: 91.62 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0007268/0.0007271, allocations: 16 kB / 466.6 MB, free: 41.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1195, allocations: 52.2 MB / 0.5067 GB, free: 5.648 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3855/0.5051, allocations: 98.9 MB / 0.6032 GB, free: 2.988 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.5055, allocations: 80.66 kB / 0.6033 GB, free: 2.953 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09868/0.6042, allocations: 36.69 MB / 0.6391 GB, free: 2.984 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6043, allocations: 0 / 0.6391 GB, free: 2.984 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001111/0.6044, allocations: 20 kB / 0.6392 GB, free: 2.965 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.00514/0.6095, allocations: 1.473 MB / 0.6406 GB, free: 1.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.6096, allocations: 8.031 kB / 0.6406 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.6116, allocations: 311.1 kB / 0.6409 GB, free: 1.109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.6135, allocations: 0.6806 MB / 0.6416 GB, free: 396 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.6137, allocations: 78.45 kB / 0.6416 GB, free: 316 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003746/0.6141, allocations: 104.4 kB / 0.6417 GB, free: 212 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003092/0.6172, allocations: 1.216 MB / 0.6429 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.254e-05/0.6172, allocations: 192 / 0.6429 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.6174, allocations: 51.92 kB / 0.643 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.6174, allocations: 24 kB / 0.643 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/0.6203, allocations: 1.202 MB / 0.6442 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008961/0.6293, allocations: 4.558 MB / 0.6486 GB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.6321, allocations: 1.843 MB / 0.6504 GB, free: 6.832 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006924/0.6328, allocations: 343.2 kB / 0.6508 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.633, allocations: 93.61 kB / 0.6508 GB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008911/0.6339, allocations: 490.5 kB / 0.6513 GB, free: 5.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 3.607e-06/0.6339, allocations: 3.938 kB / 0.6513 GB, free: 5.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=70): time 0.00696/0.6409, allocations: 1.842 MB / 0.6531 GB, free: 3.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.641, allocations: 251.9 kB / 0.6534 GB, free: 3.684 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.6425, allocations: 0.7228 MB / 0.6541 GB, free: 2.949 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.6427, allocations: 41.7 kB / 0.6541 GB, free: 2.902 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005713/0.6432, allocations: 0.5141 MB / 0.6546 GB, free: 2.379 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.6435, allocations: 240.7 kB / 0.6548 GB, free: 2.141 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/0.6436, allocations: 20 kB / 0.6549 GB, free: 2.121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.6439, allocations: 386.7 kB / 0.6552 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000722/0.6446, allocations: 321.8 kB / 0.6555 GB, free: 1.422 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009234/0.6455, allocations: 0.5629 MB / 0.6561 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.6472, allocations: 0.976 MB / 0.657 GB, free: 15.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.6472, allocations: 0 / 0.657 GB, free: 15.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002638/0.6499, allocations: 1.165 MB / 0.6582 GB, free: 14.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.051e-05/0.6499, allocations: 67.39 kB / 0.6582 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.65, allocations: 8 kB / 0.6582 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005503/0.6505, allocations: 92.78 kB / 0.6583 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008613/0.6514, allocations: 219.7 kB / 0.6585 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.6535, allocations: 1.566 MB / 0.6601 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.6545, allocations: 99.11 kB / 0.6602 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.6546, allocations: 47.97 kB / 0.6602 GB, free: 12.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0008066/0.6554, allocations: 352.5 kB / 0.6605 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.6557, allocations: 83 kB / 0.6606 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004344/0.6601, allocations: 1.372 MB / 0.662 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.6601, allocations: 8 kB / 0.662 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6601, allocations: 0 / 0.662 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.6601, allocations: 3.984 kB / 0.662 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004777/0.6649, allocations: 2.334 MB / 0.6643 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.665, allocations: 0 / 0.6643 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/0.6654, allocations: 107.9 kB / 0.6644 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002498/0.668, allocations: 0.5933 MB / 0.6649 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.6681, allocations: 27.98 kB / 0.665 GB, free: 7.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.6694, allocations: 0.9286 MB / 0.6659 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.6694, allocations: 4.031 kB / 0.6659 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002908/0.6724, allocations: 1.521 MB / 0.6674 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007285/0.6731, allocations: 267.8 kB / 0.6676 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/0.6734, allocations: 20 kB / 0.6676 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007636/0.6742, allocations: 43.98 kB / 0.6677 GB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.6743, allocations: 48.58 kB / 0.6677 GB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.6744, allocations: 39.97 kB / 0.6678 GB, free: 4.254 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009592/0.6754, allocations: 0.499 MB / 0.6682 GB, free: 3.762 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6754, allocations: 0 / 0.6682 GB, free: 3.762 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001445/0.6769, allocations: 374.8 kB / 0.6686 GB, free: 3.395 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.001821/0.6787, allocations: 0.7315 MB / 0.6693 GB, free: 2.902 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002257/0.681, allocations: 1.042 MB / 0.6703 GB, free: 1.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.681, allocations: 4.062 kB / 0.6703 GB, free: 1.816 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.6821, allocations: 0.5296 MB / 0.6709 GB, free: 1.266 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.6833, allocations: 138.9 kB / 0.671 GB, free: 1.125 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.6877, allocations: 2.223 MB / 0.6732 GB, free: 14.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000956/0.6887, allocations: 1.022 MB / 0.6742 GB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006939/0.6894, allocations: 126.1 kB / 0.6743 GB, free: 13.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.6897, allocations: 79.39 kB / 0.6744 GB, free: 13.61 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6897, allocations: 0 / 0.6744 GB, free: 13.61 MB / 442.7 MB Notification: Performance of Templates: time 0.02772/0.7174, allocations: 12.83 MB / 0.6869 GB, free: 0.8672 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 -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_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:26: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808_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_Trina_Measurement_20160808_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_Trina_Measurement_20160808.o] Error 1