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.001037/0.001037, allocations: 176.5 kB / 16.11 MB, free: 5.172 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.36/1.36, allocations: 223.3 MB / 240.1 MB, free: 11.73 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.0008459/0.0008459, allocations: 104.5 kB / 291.3 MB, free: 10.81 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02643/0.02643, allocations: 5.382 MB / 347.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007991/0.007992, allocations: 2.317 MB / 402.4 MB, free: 68.47 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004616, allocations: 16 kB / 466.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2592, allocations: 52.18 MB / 0.5067 GB, free: 40.34 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.379, allocations: 98.71 MB / 0.603 GB, free: 5.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.3793, allocations: 84.64 kB / 0.6031 GB, free: 5.438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2828/0.6622, allocations: 37.25 MB / 0.6395 GB, free: 94.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6622, allocations: 0 / 0.6395 GB, free: 94.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.528e-05/0.6623, allocations: 20.09 kB / 0.6395 GB, free: 94.44 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.003551/0.6659, allocations: 1.467 MB / 0.6409 GB, free: 93.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.6659, allocations: 15 kB / 0.641 GB, free: 93.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.6676, allocations: 305.9 kB / 0.6413 GB, free: 93.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.669, allocations: 0.6826 MB / 0.6419 GB, free: 93.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.216e-05/0.6691, allocations: 77.62 kB / 0.642 GB, free: 93.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.6693, allocations: 100.5 kB / 0.6421 GB, free: 93.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.6714, allocations: 1.165 MB / 0.6432 GB, free: 93.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/0.6714, allocations: 4.125 kB / 0.6432 GB, free: 93.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.6716, allocations: 49.03 kB / 0.6433 GB, free: 93.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.6716, allocations: 22.94 kB / 0.6433 GB, free: 93.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.6735, allocations: 1.034 MB / 0.6443 GB, free: 93.01 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005976/0.6795, allocations: 4.501 MB / 0.6487 GB, free: 90.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.6812, allocations: 1.734 MB / 0.6504 GB, free: 88.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004869/0.6818, allocations: 322.1 kB / 0.6507 GB, free: 88.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.739e-05/0.6818, allocations: 91.34 kB / 0.6508 GB, free: 88.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006534/0.6825, allocations: 469 kB / 0.6512 GB, free: 88.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 3.456e-06/0.6825, allocations: 0 / 0.6512 GB, free: 88.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.00593/0.6885, allocations: 1.772 MB / 0.653 GB, free: 86.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/0.6886, allocations: 307 kB / 0.6533 GB, free: 86.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009946/0.6896, allocations: 0.7051 MB / 0.654 GB, free: 85.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/0.6896, allocations: 45.7 kB / 0.654 GB, free: 85.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/0.69, allocations: 0.5062 MB / 0.6545 GB, free: 85.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.6902, allocations: 215.6 kB / 0.6547 GB, free: 85.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.6902, allocations: 27.94 kB / 0.6547 GB, free: 85.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.6903, allocations: 386.2 kB / 0.6551 GB, free: 84.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/0.6908, allocations: 298.1 kB / 0.6554 GB, free: 84.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/0.6914, allocations: 0.5574 MB / 0.6559 GB, free: 83.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.6925, allocations: 0.9371 MB / 0.6568 GB, free: 82.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.6925, allocations: 4 kB / 0.6568 GB, free: 82.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001884/0.6944, allocations: 1.111 MB / 0.6579 GB, free: 81.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.6945, allocations: 59.41 kB / 0.658 GB, free: 81.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.6945, allocations: 8 kB / 0.658 GB, free: 81.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004506/0.695, allocations: 103.6 kB / 0.6581 GB, free: 81.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007195/0.6957, allocations: 216 kB / 0.6583 GB, free: 81.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.697, allocations: 1.565 MB / 0.6598 GB, free: 79.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007348/0.6977, allocations: 107 kB / 0.6599 GB, free: 79.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.617e-05/0.6978, allocations: 47.97 kB / 0.66 GB, free: 79.53 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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.0005506/0.6984, allocations: 339.4 kB / 0.6603 GB, free: 79.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.6986, allocations: 82.97 kB / 0.6604 GB, free: 79.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/0.702, allocations: 1.256 MB / 0.6616 GB, free: 77.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.702, allocations: 8 kB / 0.6616 GB, free: 77.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.702, allocations: 0 / 0.6616 GB, free: 77.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.702, allocations: 3.984 kB / 0.6616 GB, free: 77.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.7048, allocations: 2.142 MB / 0.6637 GB, free: 75.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.7048, allocations: 4 kB / 0.6637 GB, free: 75.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.7051, allocations: 87.89 kB / 0.6638 GB, free: 75.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/0.7072, allocations: 0.584 MB / 0.6644 GB, free: 74.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/0.7073, allocations: 19.98 kB / 0.6644 GB, free: 74.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008417/0.7082, allocations: 0.9284 MB / 0.6653 GB, free: 73.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.7082, allocations: 0 / 0.6653 GB, free: 73.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.7101, allocations: 1.409 MB / 0.6667 GB, free: 72.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.7105, allocations: 251.9 kB / 0.6669 GB, free: 72.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.7106, allocations: 16 kB / 0.6669 GB, free: 72.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004721/0.7111, allocations: 51.91 kB / 0.667 GB, free: 72.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/0.7112, allocations: 44.5 kB / 0.667 GB, free: 72.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.7113, allocations: 27.97 kB / 0.667 GB, free: 72.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005946/0.7119, allocations: 499 kB / 0.6675 GB, free: 71.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7119, allocations: 4 kB / 0.6675 GB, free: 71.58 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001093/0.713, allocations: 363 kB / 0.6679 GB, free: 71.23 MB / 394.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.001453/0.7144, allocations: 0.7236 MB / 0.6686 GB, free: 70.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.716, allocations: 0.9843 MB / 0.6695 GB, free: 69.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.716, allocations: 448 / 0.6695 GB, free: 69.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006317/0.7167, allocations: 0.4901 MB / 0.67 GB, free: 69.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009263/0.7176, allocations: 154.5 kB / 0.6702 GB, free: 69.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.7206, allocations: 2.122 MB / 0.6722 GB, free: 66.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.7211, allocations: 1.014 MB / 0.6732 GB, free: 65.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005168/0.7216, allocations: 106.2 kB / 0.6733 GB, free: 65.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.7218, allocations: 75.39 kB / 0.6734 GB, free: 65.72 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.7218, allocations: 0 / 0.6734 GB, free: 65.72 MB / 394.7 MB Notification: Performance of Templates: time 0.02/0.7418, allocations: 12.66 MB / 0.6858 GB, free: 53.16 MB / 394.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 -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_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:26: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808_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_Comax_Measurement_20160808_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_Comax_Measurement_20160808.o] Error 1