Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008506/0.008506, allocations: 171.1 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.435/1.435, 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.001029/0.001029, allocations: 92.7 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02432/0.02432, allocations: 5.395 MB / 346.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.1314/0.1314, allocations: 2.296 MB / 401.3 MB, free: 91.77 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004071, allocations: 16 kB / 465.3 MB, free: 42.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09333, allocations: 52.19 MB / 0.5054 GB, free: 6.012 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.4419, allocations: 98.59 MB / 0.6017 GB, free: 3.383 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.4422, allocations: 76.53 kB / 0.6017 GB, free: 3.352 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09411/0.5363, allocations: 37.29 MB / 0.6382 GB, free: 3.027 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5363, allocations: 0 / 0.6382 GB, free: 3.027 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.57e-05/0.5364, allocations: 24 kB / 0.6382 GB, free: 3.004 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003374/0.5398, allocations: 1.486 MB / 0.6396 GB, free: 1.453 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5398, allocations: 8.031 kB / 0.6396 GB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.5414, allocations: 306.3 kB / 0.6399 GB, free: 1.145 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.5425, allocations: 0.6527 MB / 0.6406 GB, free: 464 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/0.5426, allocations: 78 kB / 0.6406 GB, free: 384 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.5428, allocations: 107.9 kB / 0.6407 GB, free: 276 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.5449, allocations: 1.154 MB / 0.6419 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.5449, allocations: 3.984 kB / 0.6419 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.737e-05/0.545, allocations: 44 kB / 0.6419 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.545, allocations: 24 kB / 0.6419 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.547, allocations: 1.038 MB / 0.643 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007151/0.5542, allocations: 4.486 MB / 0.6473 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.5564, allocations: 1.729 MB / 0.649 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.497e-05/0.5565, allocations: 101.5 kB / 0.6491 GB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007268/0.5572, allocations: 470.5 kB / 0.6496 GB, free: 6.676 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 2.444e-06/0.5572, allocations: 3.938 kB / 0.6496 GB, free: 6.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.007169/0.5644, allocations: 1.832 MB / 0.6514 GB, free: 4.785 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001908/0.5646, allocations: 269.6 kB / 0.6516 GB, free: 4.461 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.5656, allocations: 0.6478 MB / 0.6523 GB, free: 3.812 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.5657, allocations: 37.7 kB / 0.6523 GB, free: 3.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004408/0.5662, allocations: 0.5179 MB / 0.6528 GB, free: 3.242 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.5664, allocations: 216.9 kB / 0.653 GB, free: 3.027 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.5664, allocations: 20 kB / 0.653 GB, free: 3.008 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.5666, allocations: 390.8 kB / 0.6534 GB, free: 2.617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000569/0.5672, allocations: 301.8 kB / 0.6537 GB, free: 2.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007755/0.568, allocations: 0.5415 MB / 0.6542 GB, free: 1.668 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006928/0.5687, allocations: 426.7 kB / 0.6546 GB, free: 1.238 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.5687, allocations: 4 kB / 0.6546 GB, free: 1.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002091/0.5708, allocations: 1.098 MB / 0.6557 GB, free: 116 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.959e-05/0.5709, allocations: 63.41 kB / 0.6558 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.5709, allocations: 8 kB / 0.6558 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005572/0.5715, allocations: 108.9 kB / 0.6559 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008419/0.5723, allocations: 211.7 kB / 0.6561 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.5742, allocations: 1.577 MB / 0.6576 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000765/0.5749, allocations: 103.3 kB / 0.6577 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-05/0.575, allocations: 51.97 kB / 0.6578 GB, free: 13.85 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,$PRE.irradianceTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,$PRE.powerTable.nextTimeEvent,powerTable.nextTimeEvent,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEventScaled,$PRE.mpTracker.vRef,mpTracker.vRef,irradianceTable.nextTimeEvent,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.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 (118): * Single equations (assignments): 115 * 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.0006803/0.5757, allocations: 335.5 kB / 0.6581 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.5759, allocations: 79.06 kB / 0.6582 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004154/0.58, allocations: 1.264 MB / 0.6594 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.5801, allocations: 8 kB / 0.6594 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5801, allocations: 0 / 0.6594 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.5801, allocations: 3.984 kB / 0.6594 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/0.5837, allocations: 2.043 MB / 0.6614 GB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.5837, allocations: 4 kB / 0.6614 GB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/0.5841, allocations: 87.86 kB / 0.6615 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002651/0.5867, allocations: 0.5956 MB / 0.6621 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.171e-05/0.5868, allocations: 19.98 kB / 0.6621 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.588, allocations: 0.9176 MB / 0.663 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.588, allocations: 0 / 0.663 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.5905, allocations: 1.442 MB / 0.6644 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000459/0.591, allocations: 255.8 kB / 0.6646 GB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.5911, allocations: 20 kB / 0.6646 GB, free: 6.531 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005385/0.5916, allocations: 48.09 kB / 0.6647 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.5917, allocations: 40.5 kB / 0.6647 GB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/0.5918, allocations: 35.97 kB / 0.6648 GB, free: 6.406 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007132/0.5925, allocations: 499 kB / 0.6652 GB, free: 5.926 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5925, allocations: 0 / 0.6652 GB, free: 5.926 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001264/0.5938, allocations: 362.9 kB / 0.6656 GB, free: 5.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.001667/0.5955, allocations: 0.7229 MB / 0.6663 GB, free: 5.082 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.5976, allocations: 0.9863 MB / 0.6673 GB, free: 4.062 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.5976, allocations: 0 / 0.6673 GB, free: 4.062 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.5984, allocations: 0.4902 MB / 0.6677 GB, free: 3.547 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009078/0.5993, allocations: 152.3 kB / 0.6679 GB, free: 3.398 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.6027, allocations: 2.116 MB / 0.6699 GB, free: 1.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/0.6034, allocations: 1.033 MB / 0.671 GB, free: 192 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005144/0.6039, allocations: 118.1 kB / 0.6711 GB, free: 72 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.6041, allocations: 71.41 kB / 0.6711 GB, free: 0 / 426.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6041, allocations: 0 / 0.6711 GB, free: 0 / 426.7 MB Notification: Performance of Templates: time 0.02255/0.6267, allocations: 12.58 MB / 0.6834 GB, free: 3.508 MB / 442.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.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_Comax_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_Comax_Measurement_20160808.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808_model.h:24: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808_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_Comax_Measurement_20160808_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_Comax_Measurement_20160808.o] Error 1