Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009506/0.009506, allocations: 170.4 kB / 15.11 MB, free: 5.969 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.512/1.512, allocations: 223.2 MB / 239 MB, free: 1.789 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.0009633/0.0009632, allocations: 87.64 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.02451/0.02451, allocations: 5.392 MB / 346.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.1371/0.1371, allocations: 2.3 MB / 401.3 MB, free: 91.74 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004201/0.0004202, allocations: 16 kB / 465.3 MB, free: 42.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09649/0.09693, allocations: 52.2 MB / 0.5054 GB, free: 5.977 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3454/0.4424, allocations: 98.6 MB / 0.6017 GB, free: 3.309 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.4426, allocations: 73.73 kB / 0.6017 GB, free: 3.281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09406/0.5367, allocations: 37.29 MB / 0.6382 GB, free: 2.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5368, allocations: 0 / 0.6382 GB, free: 2.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.117e-05/0.5368, allocations: 27.98 kB / 0.6382 GB, free: 2.953 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.003341/0.5402, allocations: 1.487 MB / 0.6396 GB, free: 1.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.5402, allocations: 8.031 kB / 0.6396 GB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.5416, allocations: 298.3 kB / 0.6399 GB, free: 1.102 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.5428, allocations: 0.6488 MB / 0.6406 GB, free: 424 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.5428, allocations: 82 kB / 0.6406 GB, free: 340 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.543, allocations: 111.9 kB / 0.6408 GB, free: 228 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.5451, allocations: 1.15 MB / 0.6419 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.5451, allocations: 0 / 0.6419 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.5452, allocations: 44 kB / 0.6419 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.5453, allocations: 24 kB / 0.6419 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.5473, allocations: 1.038 MB / 0.643 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006665/0.554, allocations: 4.49 MB / 0.6473 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.5562, allocations: 1.74 MB / 0.649 GB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.005e-05/0.5563, allocations: 89.55 kB / 0.6491 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007689/0.5571, allocations: 470.5 kB / 0.6496 GB, free: 6.633 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 3.547e-06/0.5571, allocations: 3.938 kB / 0.6496 GB, free: 6.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.007099/0.5642, allocations: 1.836 MB / 0.6514 GB, free: 4.738 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.5644, allocations: 277.6 kB / 0.6516 GB, free: 4.406 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009778/0.5654, allocations: 0.64 MB / 0.6523 GB, free: 3.766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.913e-05/0.5654, allocations: 37.7 kB / 0.6523 GB, free: 3.723 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/0.5659, allocations: 0.5179 MB / 0.6528 GB, free: 3.195 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.5661, allocations: 217 kB / 0.653 GB, free: 2.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.5662, allocations: 19.94 kB / 0.653 GB, free: 2.961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.5664, allocations: 398.8 kB / 0.6534 GB, free: 2.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/0.5669, allocations: 293.9 kB / 0.6537 GB, free: 2.273 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007319/0.5677, allocations: 0.5454 MB / 0.6542 GB, free: 1.617 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007006/0.5684, allocations: 430.7 kB / 0.6546 GB, free: 1.184 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5684, allocations: 0 / 0.6546 GB, free: 1.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002113/0.5705, allocations: 1.098 MB / 0.6557 GB, free: 64 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.405e-05/0.5706, allocations: 63.45 kB / 0.6558 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.5706, allocations: 8 kB / 0.6558 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000542/0.5712, allocations: 100.9 kB / 0.6559 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008295/0.572, allocations: 211.7 kB / 0.6561 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.5738, allocations: 1.573 MB / 0.6576 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007792/0.5746, allocations: 107.2 kB / 0.6577 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.718e-05/0.5747, allocations: 43.98 kB / 0.6577 GB, free: 13.81 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.0006438/0.5754, allocations: 335.6 kB / 0.6581 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.5755, allocations: 83.06 kB / 0.6581 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004127/0.5797, allocations: 1.276 MB / 0.6594 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.5797, allocations: 8 kB / 0.6594 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5797, allocations: 3.984 kB / 0.6594 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.5797, allocations: 0 / 0.6594 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.5831, allocations: 2.035 MB / 0.6614 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.5831, allocations: 8.031 kB / 0.6614 GB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.5835, allocations: 91.84 kB / 0.6615 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002597/0.5861, allocations: 0.5878 MB / 0.6621 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.504e-05/0.5862, allocations: 23.97 kB / 0.6621 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.5873, allocations: 0.9179 MB / 0.663 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5873, allocations: 0 / 0.663 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.5897, allocations: 1.442 MB / 0.6644 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005121/0.5902, allocations: 255.8 kB / 0.6646 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.5904, allocations: 19.98 kB / 0.6647 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/0.5909, allocations: 43.97 kB / 0.6647 GB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.591, allocations: 40.52 kB / 0.6647 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.037e-05/0.5911, allocations: 31.97 kB / 0.6648 GB, free: 6.367 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007112/0.5918, allocations: 0.4912 MB / 0.6652 GB, free: 5.883 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5918, allocations: 0 / 0.6652 GB, free: 5.883 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001292/0.5931, allocations: 362.9 kB / 0.6656 GB, free: 5.527 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.001674/0.5948, allocations: 0.7253 MB / 0.6663 GB, free: 5.047 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002731/0.5976, allocations: 0.9902 MB / 0.6673 GB, free: 4.023 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.5976, allocations: 0 / 0.6673 GB, free: 4.023 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.5988, allocations: 497.9 kB / 0.6677 GB, free: 3.512 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.6001, allocations: 151.1 kB / 0.6679 GB, free: 3.363 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.6048, allocations: 2.118 MB / 0.67 GB, free: 1.215 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009338/0.6058, allocations: 1.029 MB / 0.671 GB, free: 160 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007683/0.6066, allocations: 114.1 kB / 0.6711 GB, free: 44 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.6069, allocations: 71.39 kB / 0.6711 GB, free: 15.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6069, allocations: 4 kB / 0.6711 GB, free: 15.97 MB / 442.7 MB Notification: Performance of Templates: time 0.03315/0.6401, allocations: 12.58 MB / 0.6834 GB, free: 3.477 MB / 442.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_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_Comax_Measurement_20160704.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704_model.h:24: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_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_Comax_Measurement_20160704.o] Error 1