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.006817/0.006817, allocations: 173.6 kB / 15.12 MB, free: 5.984 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.711/1.711, allocations: 223.2 MB / 239 MB, free: 1.805 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.001007/0.001007, allocations: 98.11 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.02532/0.02532, 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.2194/0.2194, allocations: 2.304 MB / 401.3 MB, free: 91.72 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0006626/0.0006626, allocations: 12 kB / 465.3 MB, free: 42.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1554, allocations: 52.2 MB / 0.5054 GB, free: 6.023 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3937/0.5492, allocations: 98.78 MB / 0.6019 GB, free: 3.113 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.5494, allocations: 77.84 kB / 0.6019 GB, free: 3.082 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09327/0.6427, allocations: 36.72 MB / 0.6378 GB, free: 3.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6428, allocations: 0 / 0.6378 GB, free: 3.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.33e-05/0.6428, allocations: 20 kB / 0.6378 GB, free: 3.395 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.003228/0.6461, allocations: 1.476 MB / 0.6393 GB, free: 1.852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.6461, allocations: 8.031 kB / 0.6393 GB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.6476, allocations: 310.2 kB / 0.6396 GB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.6487, allocations: 0.6602 MB / 0.6402 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.6489, allocations: 82.03 kB / 0.6403 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.649, allocations: 108 kB / 0.6404 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.6512, allocations: 1.207 MB / 0.6416 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.6512, allocations: 7.844 kB / 0.6416 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.6513, allocations: 44 kB / 0.6416 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.6514, allocations: 28 kB / 0.6416 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.6536, allocations: 1.204 MB / 0.6428 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006787/0.6604, allocations: 4.558 MB / 0.6473 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.6629, allocations: 1.851 MB / 0.6491 GB, free: 7.266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.372e-05/0.663, allocations: 89.66 kB / 0.6492 GB, free: 7.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007729/0.6638, allocations: 485.7 kB / 0.6496 GB, free: 6.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 3.747e-06/0.6638, allocations: 0 / 0.6496 GB, free: 6.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=70): time 0.006993/0.6708, allocations: 1.914 MB / 0.6515 GB, free: 4.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.671, allocations: 218.2 kB / 0.6517 GB, free: 4.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.672, allocations: 0.6555 MB / 0.6523 GB, free: 3.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.6721, allocations: 37.7 kB / 0.6524 GB, free: 3.719 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004656/0.6726, allocations: 0.518 MB / 0.6529 GB, free: 3.191 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.6728, allocations: 232.8 kB / 0.6531 GB, free: 2.961 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.088e-05/0.6729, allocations: 20 kB / 0.6531 GB, free: 2.941 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.6731, allocations: 390.7 kB / 0.6535 GB, free: 2.551 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005947/0.6737, allocations: 321.8 kB / 0.6538 GB, free: 2.238 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000778/0.6745, allocations: 0.5507 MB / 0.6543 GB, free: 1.578 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007227/0.6752, allocations: 450.2 kB / 0.6548 GB, free: 1.129 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.6753, allocations: 4 kB / 0.6548 GB, free: 1.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002176/0.6774, allocations: 1.176 MB / 0.6559 GB, free: 15.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.9e-05/0.6775, allocations: 67.45 kB / 0.656 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.6775, allocations: 8 kB / 0.656 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/0.6781, allocations: 92.78 kB / 0.6561 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008301/0.6789, allocations: 219.7 kB / 0.6563 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.6807, allocations: 1.581 MB / 0.6578 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007758/0.6814, allocations: 103.1 kB / 0.6579 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.953e-05/0.6815, allocations: 47.97 kB / 0.658 GB, free: 13.67 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.0006414/0.6822, allocations: 332.8 kB / 0.6583 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.6823, allocations: 90.92 kB / 0.6584 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/0.6866, allocations: 1.368 MB / 0.6597 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.6867, allocations: 8 kB / 0.6597 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6867, allocations: 0 / 0.6597 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.6867, allocations: 11.92 kB / 0.6597 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/0.6903, allocations: 2.233 MB / 0.6619 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.6903, allocations: 4 kB / 0.6619 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.6908, allocations: 103.9 kB / 0.662 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002606/0.6934, allocations: 0.5879 MB / 0.6626 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.262e-05/0.6935, allocations: 23.98 kB / 0.6626 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.6946, allocations: 0.9325 MB / 0.6635 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.6946, allocations: 3.953 kB / 0.6635 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.6971, allocations: 1.555 MB / 0.6651 GB, free: 6.207 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/0.6976, allocations: 263.7 kB / 0.6653 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.6977, allocations: 24 kB / 0.6653 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/0.6983, allocations: 40.05 kB / 0.6654 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.6984, allocations: 52.58 kB / 0.6654 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.6985, allocations: 39.95 kB / 0.6655 GB, free: 5.777 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007582/0.6992, allocations: 0.4951 MB / 0.6659 GB, free: 5.285 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6992, allocations: 0 / 0.6659 GB, free: 5.285 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001261/0.7005, allocations: 367 kB / 0.6663 GB, free: 4.926 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.001658/0.7022, allocations: 0.7226 MB / 0.667 GB, free: 4.441 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.7042, allocations: 1.052 MB / 0.668 GB, free: 3.352 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7042, allocations: 0 / 0.668 GB, free: 3.352 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008922/0.7051, allocations: 0.5335 MB / 0.6685 GB, free: 2.793 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007445/0.7058, allocations: 128.8 kB / 0.6687 GB, free: 2.672 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/0.71, allocations: 2.209 MB / 0.6708 GB, free: 440 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009158/0.7109, allocations: 1.049 MB / 0.6718 GB, free: 15.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000556/0.7115, allocations: 122.1 kB / 0.672 GB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.7117, allocations: 83.39 kB / 0.672 GB, free: 15.15 MB / 442.7 MB Notification: Performance of SimCode: time 2.965e-06/0.7118, allocations: 0 / 0.672 GB, free: 15.15 MB / 442.7 MB Notification: Performance of Templates: time 0.02451/0.7363, allocations: 12.78 MB / 0.6845 GB, free: 2.457 MB / 442.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 "-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_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:24: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704_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_20160704_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_20160704.o] Error 1