Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009246/0.009246, allocations: 169.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.413/1.413, 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.0009919/0.0009922, allocations: 100.2 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0246/0.0246, allocations: 5.392 MB / 346.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.2163/0.2163, allocations: 2.293 MB / 401.3 MB, free: 91.68 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004604/0.0004602, allocations: 12 kB / 468.7 MB, free: 38.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1236, allocations: 52.19 MB / 0.5087 GB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3923/0.5159, allocations: 98.8 MB / 0.6051 GB, free: 4.074 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.5162, allocations: 70.34 kB / 0.6052 GB, free: 4.043 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09463/0.6108, allocations: 36.72 MB / 0.6411 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6109, allocations: 4 kB / 0.6411 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.737e-05/0.611, allocations: 20 kB / 0.6411 GB, free: 0.9492 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.003391/0.6144, allocations: 1.477 MB / 0.6425 GB, free: 15.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.6144, allocations: 8.031 kB / 0.6425 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.616, allocations: 306.2 kB / 0.6428 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.6172, allocations: 0.6602 MB / 0.6435 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/0.6173, allocations: 81.86 kB / 0.6436 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.6175, allocations: 112 kB / 0.6437 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.6197, allocations: 1.2 MB / 0.6448 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.6198, allocations: 7.906 kB / 0.6448 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.6199, allocations: 44 kB / 0.6449 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.6199, allocations: 24 kB / 0.6449 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.6222, allocations: 1.202 MB / 0.6461 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00715/0.6294, allocations: 4.574 MB / 0.6505 GB, free: 6.891 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.6319, allocations: 1.851 MB / 0.6524 GB, free: 4.812 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.6321, allocations: 93.66 kB / 0.6524 GB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000784/0.6329, allocations: 481.7 kB / 0.6529 GB, free: 4.207 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.895e-06/0.6329, allocations: 4 kB / 0.6529 GB, free: 4.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=70): time 0.00706/0.6399, allocations: 1.911 MB / 0.6548 GB, free: 2.227 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.6401, allocations: 222.2 kB / 0.655 GB, free: 1.961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.6412, allocations: 0.6439 MB / 0.6556 GB, free: 1.316 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.617e-05/0.6413, allocations: 45.7 kB / 0.6557 GB, free: 1.266 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000465/0.6417, allocations: 0.518 MB / 0.6562 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.6419, allocations: 228.8 kB / 0.6564 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.642, allocations: 20 kB / 0.6564 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.6422, allocations: 390.8 kB / 0.6568 GB, free: 104 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006385/0.6429, allocations: 321.8 kB / 0.6571 GB, free: 15.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00077/0.6436, allocations: 0.5546 MB / 0.6576 GB, free: 15.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.6444, allocations: 450.2 kB / 0.6581 GB, free: 14.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.6444, allocations: 4 kB / 0.6581 GB, free: 14.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002418/0.6468, allocations: 1.172 MB / 0.6592 GB, free: 13.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.599e-05/0.6469, allocations: 69.27 kB / 0.6593 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.647, allocations: 8 kB / 0.6593 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/0.6475, allocations: 101 kB / 0.6594 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/0.6484, allocations: 219.7 kB / 0.6596 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.6504, allocations: 1.561 MB / 0.6611 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000944/0.6514, allocations: 99.11 kB / 0.6612 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.825e-05/0.6515, allocations: 56.16 kB / 0.6613 GB, free: 11.23 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.000706/0.6522, allocations: 340.5 kB / 0.6616 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.6523, allocations: 83.02 kB / 0.6617 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004275/0.6566, allocations: 1.372 MB / 0.663 GB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.6566, allocations: 8 kB / 0.663 GB, free: 9.387 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6567, allocations: 3.938 kB / 0.663 GB, free: 9.383 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.6567, allocations: 11.94 kB / 0.663 GB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003766/0.6604, allocations: 2.233 MB / 0.6652 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.6605, allocations: 0 / 0.6652 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.6609, allocations: 115.8 kB / 0.6653 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002692/0.6636, allocations: 0.5845 MB / 0.6659 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/0.6637, allocations: 27.97 kB / 0.6659 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.6648, allocations: 0.9219 MB / 0.6668 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6648, allocations: 7.953 kB / 0.6668 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.6673, allocations: 1.547 MB / 0.6683 GB, free: 3.766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004868/0.6678, allocations: 263.8 kB / 0.6686 GB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.668, allocations: 23.94 kB / 0.6686 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005589/0.6685, allocations: 47.97 kB / 0.6686 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.6687, allocations: 48.59 kB / 0.6687 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/0.6687, allocations: 27.97 kB / 0.6687 GB, free: 3.344 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007175/0.6695, allocations: 0.499 MB / 0.6692 GB, free: 2.848 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6695, allocations: 0 / 0.6692 GB, free: 2.848 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00121/0.6707, allocations: 374.9 kB / 0.6696 GB, free: 2.48 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.001606/0.6723, allocations: 0.7223 MB / 0.6703 GB, free: 1.996 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.6742, allocations: 1.054 MB / 0.6713 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6743, allocations: 0 / 0.6713 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008172/0.6751, allocations: 0.5273 MB / 0.6718 GB, free: 360 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/0.6758, allocations: 132.7 kB / 0.6719 GB, free: 232 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.6792, allocations: 2.221 MB / 0.6741 GB, free: 13.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.6799, allocations: 1.049 MB / 0.6751 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004502/0.6804, allocations: 114.2 kB / 0.6752 GB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.6806, allocations: 83.39 kB / 0.6753 GB, free: 12.7 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6806, allocations: 3.938 kB / 0.6753 GB, free: 12.69 MB / 442.7 MB Notification: Performance of Templates: time 0.02394/0.7046, allocations: 12.77 MB / 0.6878 GB, free: 4 kB / 442.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.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_20160626_to_20161004 -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_20160626_to_20161004.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004_model.h:24: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004_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_20160626_to_20161004_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_20160626_to_20161004.o] Error 1