Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 173.6 kB / 16.11 MB, free: 5.578 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.344/1.344, allocations: 223.3 MB / 240.1 MB, free: 9.949 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.0009413/0.0009414, allocations: 93.48 kB / 291.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02572/0.02572, allocations: 5.39 MB / 347.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008329/0.008329, allocations: 2.316 MB / 402.4 MB, free: 68.37 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0005501/0.0005501, allocations: 24 kB / 466.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.321, allocations: 52.18 MB / 0.5067 GB, free: 40.07 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.4887, allocations: 98.91 MB / 0.6032 GB, free: 5.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.4891, allocations: 75.97 kB / 0.6033 GB, free: 5.176 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3991/0.8882, allocations: 36.69 MB / 0.6391 GB, free: 94.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.8882, allocations: 0 / 0.6391 GB, free: 94.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.585e-05/0.8883, allocations: 22 kB / 0.6392 GB, free: 94.31 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.003227/0.8915, allocations: 1.461 MB / 0.6406 GB, free: 93.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.8916, allocations: 10.91 kB / 0.6406 GB, free: 93.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.8932, allocations: 314.5 kB / 0.6409 GB, free: 93.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.8945, allocations: 0.6673 MB / 0.6416 GB, free: 93.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.36e-05/0.8945, allocations: 82.27 kB / 0.6416 GB, free: 93.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.8947, allocations: 109.9 kB / 0.6417 GB, free: 93.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.8968, allocations: 1.206 MB / 0.6429 GB, free: 92.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.8968, allocations: 4.188 kB / 0.6429 GB, free: 92.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.8969, allocations: 49.38 kB / 0.643 GB, free: 92.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.897, allocations: 29.06 kB / 0.643 GB, free: 92.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.8991, allocations: 1.199 MB / 0.6442 GB, free: 92.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00641/0.9055, allocations: 4.562 MB / 0.6486 GB, free: 90.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.9076, allocations: 1.855 MB / 0.6504 GB, free: 88.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005152/0.9081, allocations: 341.7 kB / 0.6508 GB, free: 88.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.456e-05/0.9082, allocations: 96.23 kB / 0.6509 GB, free: 88.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007142/0.909, allocations: 487.6 kB / 0.6513 GB, free: 88.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 3.707e-06/0.909, allocations: 3.938 kB / 0.6513 GB, free: 88.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=70): time 0.006153/0.9151, allocations: 1.826 MB / 0.6531 GB, free: 86.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.9153, allocations: 259.7 kB / 0.6534 GB, free: 86.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.9164, allocations: 0.7188 MB / 0.6541 GB, free: 85.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.284e-05/0.9165, allocations: 41.7 kB / 0.6541 GB, free: 85.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/0.9168, allocations: 0.5191 MB / 0.6546 GB, free: 85.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.917, allocations: 235.3 kB / 0.6548 GB, free: 84.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.9171, allocations: 23.94 kB / 0.6548 GB, free: 84.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.9172, allocations: 397.7 kB / 0.6552 GB, free: 84.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/0.9177, allocations: 315.8 kB / 0.6555 GB, free: 84.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/0.9183, allocations: 0.5666 MB / 0.6561 GB, free: 83.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.9194, allocations: 0.9727 MB / 0.657 GB, free: 82.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.9194, allocations: 4 kB / 0.657 GB, free: 82.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001905/0.9213, allocations: 1.164 MB / 0.6582 GB, free: 81.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/0.9214, allocations: 66.05 kB / 0.6582 GB, free: 81.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.9214, allocations: 8 kB / 0.6582 GB, free: 81.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004628/0.9219, allocations: 97 kB / 0.6583 GB, free: 81.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007647/0.9227, allocations: 223.6 kB / 0.6585 GB, free: 81.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.9241, allocations: 1.561 MB / 0.6601 GB, free: 79.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008226/0.9249, allocations: 99.11 kB / 0.6602 GB, free: 79.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.9251, allocations: 52.06 kB / 0.6602 GB, free: 79.29 MB / 394.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.0006441/0.9257, allocations: 341.6 kB / 0.6605 GB, free: 78.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.9259, allocations: 91.03 kB / 0.6606 GB, free: 78.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/0.9294, allocations: 1.364 MB / 0.662 GB, free: 77.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.9295, allocations: 8 kB / 0.662 GB, free: 77.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.9295, allocations: 0 / 0.662 GB, free: 77.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.9295, allocations: 11.98 kB / 0.662 GB, free: 77.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/0.9328, allocations: 2.322 MB / 0.6642 GB, free: 75.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.9328, allocations: 4 kB / 0.6643 GB, free: 75.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.9332, allocations: 111.9 kB / 0.6644 GB, free: 74.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002177/0.9353, allocations: 0.5917 MB / 0.6649 GB, free: 74.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.197e-05/0.9354, allocations: 27.98 kB / 0.665 GB, free: 74.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009149/0.9364, allocations: 0.9229 MB / 0.6659 GB, free: 73.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.9364, allocations: 3.938 kB / 0.6659 GB, free: 73.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.9388, allocations: 1.524 MB / 0.6674 GB, free: 71.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005852/0.9394, allocations: 263.7 kB / 0.6676 GB, free: 71.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.9396, allocations: 27.94 kB / 0.6676 GB, free: 71.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/0.9402, allocations: 43.98 kB / 0.6677 GB, free: 71.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.9404, allocations: 52.52 kB / 0.6677 GB, free: 71.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/0.9404, allocations: 39.84 kB / 0.6678 GB, free: 71.35 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008512/0.9413, allocations: 0.4912 MB / 0.6682 GB, free: 70.87 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.9413, allocations: 0 / 0.6682 GB, free: 70.87 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001522/0.9428, allocations: 378.8 kB / 0.6686 GB, free: 70.5 MB / 394.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.001736/0.9446, allocations: 0.7154 MB / 0.6693 GB, free: 70.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.9465, allocations: 1.047 MB / 0.6703 GB, free: 68.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.9465, allocations: 0 / 0.6703 GB, free: 68.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.9473, allocations: 0.5269 MB / 0.6708 GB, free: 68.42 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.9483, allocations: 143.4 kB / 0.671 GB, free: 68.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.952, allocations: 2.227 MB / 0.6732 GB, free: 66.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005549/0.9525, allocations: 1.026 MB / 0.6742 GB, free: 64.97 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005443/0.9531, allocations: 118.1 kB / 0.6743 GB, free: 64.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.9533, allocations: 87.39 kB / 0.6744 GB, free: 64.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.9534, allocations: 0 / 0.6744 GB, free: 64.77 MB / 394.7 MB Notification: Performance of Templates: time 0.02255/0.9759, allocations: 12.84 MB / 0.6869 GB, free: 52.04 MB / 394.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.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_20160704 -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_20160704.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704_model.h:26: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704_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_20160704_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_20160704.o] Error 1