Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006801/0.006801, allocations: 171.5 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.521/1.521, allocations: 223.2 MB / 239 MB, free: 1.777 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.001306/0.001306, allocations: 101 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.02535/0.02535, allocations: 5.389 MB / 346.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.1689/0.1689, allocations: 2.311 MB / 401.3 MB, free: 91.76 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004534, allocations: 12 kB / 465.3 MB, free: 42.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1299, allocations: 52.18 MB / 0.5054 GB, free: 6.008 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4096/0.5397, allocations: 98.8 MB / 0.6019 GB, free: 3.082 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/0.5399, allocations: 76.66 kB / 0.6019 GB, free: 3.051 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09356/0.6335, allocations: 36.72 MB / 0.6378 GB, free: 3.348 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6335, allocations: 4 kB / 0.6378 GB, free: 3.344 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.967e-05/0.6335, allocations: 23.94 kB / 0.6378 GB, free: 3.32 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.003171/0.6367, allocations: 1.476 MB / 0.6393 GB, free: 1.777 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.6368, allocations: 12.03 kB / 0.6393 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.6382, allocations: 306.2 kB / 0.6396 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.6393, allocations: 0.6524 MB / 0.6402 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/0.6394, allocations: 90.03 kB / 0.6403 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.6396, allocations: 104 kB / 0.6404 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.6418, allocations: 1.207 MB / 0.6416 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.6418, allocations: 3.906 kB / 0.6416 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.6419, allocations: 48 kB / 0.6416 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.642, allocations: 28 kB / 0.6416 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.6442, allocations: 1.198 MB / 0.6428 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007279/0.6515, allocations: 4.562 MB / 0.6473 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.654, allocations: 1.84 MB / 0.6491 GB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.6542, allocations: 97.62 kB / 0.6492 GB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007969/0.655, allocations: 489.6 kB / 0.6496 GB, free: 6.586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 3.186e-06/0.655, allocations: 0 / 0.6496 GB, free: 6.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=70): time 0.006964/0.662, allocations: 1.911 MB / 0.6515 GB, free: 4.609 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.6621, allocations: 222.2 kB / 0.6517 GB, free: 4.344 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.6632, allocations: 0.6517 MB / 0.6523 GB, free: 3.691 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/0.6633, allocations: 41.7 kB / 0.6524 GB, free: 3.645 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005152/0.6638, allocations: 0.518 MB / 0.6529 GB, free: 3.117 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.6641, allocations: 236.7 kB / 0.6531 GB, free: 2.883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.6642, allocations: 16 kB / 0.6531 GB, free: 2.867 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.6644, allocations: 394.7 kB / 0.6535 GB, free: 2.473 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005975/0.665, allocations: 321.8 kB / 0.6538 GB, free: 2.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007804/0.6658, allocations: 0.5468 MB / 0.6543 GB, free: 1.504 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007919/0.6666, allocations: 450.2 kB / 0.6548 GB, free: 1.055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6666, allocations: 0 / 0.6548 GB, free: 1.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002295/0.6689, allocations: 1.18 MB / 0.6559 GB, free: 15.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.455e-05/0.669, allocations: 67.39 kB / 0.656 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.669, allocations: 4.375 kB / 0.656 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005615/0.6696, allocations: 96.78 kB / 0.6561 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008507/0.6704, allocations: 215.7 kB / 0.6563 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.6723, allocations: 1.573 MB / 0.6578 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008753/0.6732, allocations: 99.11 kB / 0.6579 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.197e-05/0.6733, allocations: 47.97 kB / 0.658 GB, free: 13.61 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.0007002/0.674, allocations: 340.5 kB / 0.6583 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.6741, allocations: 90.92 kB / 0.6584 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004881/0.679, allocations: 1.379 MB / 0.6597 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.6791, allocations: 8 kB / 0.6597 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6791, allocations: 3.938 kB / 0.6597 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.6791, allocations: 7.984 kB / 0.6598 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003835/0.6829, allocations: 2.226 MB / 0.6619 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.683, allocations: 3.938 kB / 0.6619 GB, free: 9.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.6834, allocations: 103.9 kB / 0.662 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0026/0.686, allocations: 0.5879 MB / 0.6626 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.6861, allocations: 27.98 kB / 0.6626 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.6873, allocations: 0.9257 MB / 0.6635 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6873, allocations: 8.016 kB / 0.6635 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.6899, allocations: 1.551 MB / 0.6651 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005005/0.6904, allocations: 263.7 kB / 0.6653 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.6906, allocations: 24 kB / 0.6653 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005189/0.6911, allocations: 40.05 kB / 0.6654 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.6912, allocations: 52.58 kB / 0.6654 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/0.6913, allocations: 35.97 kB / 0.6655 GB, free: 5.715 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007531/0.6921, allocations: 0.4912 MB / 0.6659 GB, free: 5.227 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6921, allocations: 3.938 kB / 0.6659 GB, free: 5.223 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001308/0.6934, allocations: 375 kB / 0.6663 GB, free: 4.855 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.00164/0.695, allocations: 0.7312 MB / 0.667 GB, free: 4.367 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.6972, allocations: 1.044 MB / 0.668 GB, free: 3.285 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.6973, allocations: 4.125 kB / 0.668 GB, free: 3.281 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.6983, allocations: 0.5296 MB / 0.6685 GB, free: 2.727 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.6994, allocations: 134.9 kB / 0.6687 GB, free: 2.598 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.7036, allocations: 2.205 MB / 0.6708 GB, free: 368 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007888/0.7044, allocations: 1.049 MB / 0.6719 GB, free: 15.28 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006267/0.705, allocations: 122.1 kB / 0.672 GB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.7053, allocations: 75.39 kB / 0.672 GB, free: 15.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.924e-06/0.7053, allocations: 3.938 kB / 0.672 GB, free: 15.08 MB / 442.7 MB Notification: Performance of Templates: time 0.02396/0.7293, allocations: 12.78 MB / 0.6845 GB, free: 2.387 MB / 442.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_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_Trina_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_Trina_Measurement_20160629.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629_model.h:24: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_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_Trina_Measurement_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_Trina_Measurement_20160629.o] Error 1