Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.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_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006078/0.006078, allocations: 170 kB / 15.11 MB, free: 5.977 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.466/1.466, allocations: 223.2 MB / 239 MB, free: 1.797 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.0009456/0.0009457, allocations: 100.2 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02473/0.02473, allocations: 5.387 MB / 346.7 MB, free: 5.566 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.1437/0.1437, allocations: 2.298 MB / 401.3 MB, free: 91.71 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0006837/0.0006838, allocations: 12 kB / 465.3 MB, free: 42.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1162, allocations: 52.18 MB / 0.5054 GB, free: 6.031 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3362/0.4524, allocations: 98.59 MB / 0.6017 GB, free: 3.387 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.4527, allocations: 77.61 kB / 0.6017 GB, free: 3.355 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0926/0.5453, allocations: 37.29 MB / 0.6382 GB, free: 3.062 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5454, allocations: 0 / 0.6382 GB, free: 3.062 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.341e-05/0.5454, allocations: 24 kB / 0.6382 GB, free: 3.039 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.003445/0.5489, allocations: 1.483 MB / 0.6396 GB, free: 1.492 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.549, allocations: 8.031 kB / 0.6396 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.5506, allocations: 310.3 kB / 0.6399 GB, free: 1.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.5519, allocations: 0.6527 MB / 0.6406 GB, free: 500 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.108e-05/0.5519, allocations: 78 kB / 0.6406 GB, free: 420 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.5521, allocations: 107.9 kB / 0.6407 GB, free: 312 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.5543, allocations: 1.15 MB / 0.6419 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.5543, allocations: 0 / 0.6419 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.5544, allocations: 44 kB / 0.6419 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.5545, allocations: 27.94 kB / 0.6419 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.5565, allocations: 1.038 MB / 0.643 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006784/0.5633, allocations: 4.49 MB / 0.6473 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.5655, allocations: 1.73 MB / 0.649 GB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.5657, allocations: 97.53 kB / 0.6491 GB, free: 7.207 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007716/0.5664, allocations: 470.5 kB / 0.6496 GB, free: 6.715 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 3.126e-06/0.5665, allocations: 0 / 0.6496 GB, free: 6.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.007156/0.5736, allocations: 1.836 MB / 0.6514 GB, free: 4.824 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.5738, allocations: 277.6 kB / 0.6516 GB, free: 4.492 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.5749, allocations: 0.6439 MB / 0.6523 GB, free: 3.848 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.479e-05/0.575, allocations: 41.73 kB / 0.6523 GB, free: 3.801 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/0.5755, allocations: 0.5101 MB / 0.6528 GB, free: 3.281 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.5757, allocations: 220.9 kB / 0.653 GB, free: 3.062 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.5758, allocations: 20 kB / 0.653 GB, free: 3.043 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.5759, allocations: 390.7 kB / 0.6534 GB, free: 2.652 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000572/0.5765, allocations: 293.9 kB / 0.6537 GB, free: 2.363 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007284/0.5773, allocations: 0.5493 MB / 0.6542 GB, free: 1.703 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.578, allocations: 426.7 kB / 0.6546 GB, free: 1.273 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.578, allocations: 4 kB / 0.6546 GB, free: 1.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002224/0.5802, allocations: 1.098 MB / 0.6557 GB, free: 152 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.704e-05/0.5803, allocations: 67.39 kB / 0.6558 GB, free: 72 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.5803, allocations: 11.94 kB / 0.6558 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005664/0.5809, allocations: 92.84 kB / 0.6559 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008527/0.5818, allocations: 215.8 kB / 0.6561 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.5837, allocations: 1.581 MB / 0.6576 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009531/0.5846, allocations: 99.11 kB / 0.6577 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.5847, allocations: 43.98 kB / 0.6577 GB, free: 13.89 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.0007289/0.5855, allocations: 339.7 kB / 0.6581 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.5857, allocations: 79.06 kB / 0.6581 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00415/0.5898, allocations: 1.276 MB / 0.6594 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.5899, allocations: 7.938 kB / 0.6594 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5899, allocations: 4 kB / 0.6594 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.5899, allocations: 0 / 0.6594 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/0.5934, allocations: 2.039 MB / 0.6614 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.5934, allocations: 0 / 0.6614 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.5937, allocations: 91.84 kB / 0.6615 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002631/0.5964, allocations: 0.5878 MB / 0.6621 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.994e-05/0.5965, allocations: 31.91 kB / 0.6621 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.5976, allocations: 0.9177 MB / 0.663 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5976, allocations: 0 / 0.663 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.6001, allocations: 1.442 MB / 0.6644 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/0.6006, allocations: 255.8 kB / 0.6646 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.6008, allocations: 24 kB / 0.6647 GB, free: 6.559 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/0.6013, allocations: 43.97 kB / 0.6647 GB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/0.6014, allocations: 40.52 kB / 0.6647 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-05/0.6015, allocations: 31.97 kB / 0.6648 GB, free: 6.441 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007298/0.6022, allocations: 499 kB / 0.6652 GB, free: 5.961 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6022, allocations: 0 / 0.6652 GB, free: 5.961 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001236/0.6035, allocations: 359 kB / 0.6656 GB, free: 5.609 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.001568/0.6051, allocations: 0.7194 MB / 0.6663 GB, free: 5.129 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.6069, allocations: 0.9926 MB / 0.6673 GB, free: 4.102 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6069, allocations: 0 / 0.6673 GB, free: 4.102 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000809/0.6077, allocations: 0.4916 MB / 0.6677 GB, free: 3.586 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008299/0.6086, allocations: 148.5 kB / 0.6679 GB, free: 3.441 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.6119, allocations: 2.119 MB / 0.67 GB, free: 1.293 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/0.6126, allocations: 1.033 MB / 0.671 GB, free: 236 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005445/0.6131, allocations: 114.1 kB / 0.6711 GB, free: 120 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.6134, allocations: 75.39 kB / 0.6711 GB, free: 44 kB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6134, allocations: 0 / 0.6711 GB, free: 44 kB / 426.7 MB Notification: Performance of Templates: time 0.02348/0.6369, allocations: 12.57 MB / 0.6834 GB, free: 3.559 MB / 442.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.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_20160629 -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_20160629.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629_model.h:24: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629_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_20160629_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_20160629.o] Error 1