Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.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_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008041/0.00804, allocations: 172 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.516/1.516, allocations: 223.2 MB / 239 MB, free: 1.793 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.0009303/0.0009303, allocations: 112 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02539/0.02539, allocations: 5.406 MB / 346.7 MB, free: 5.535 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.1414/0.1414, allocations: 2.303 MB / 401.3 MB, free: 91.7 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003866, allocations: 15.98 kB / 465.3 MB, free: 42.26 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09094/0.09134, allocations: 52.17 MB / 0.5054 GB, free: 6.031 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3402/0.4316, allocations: 98.6 MB / 0.6017 GB, free: 3.379 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.4319, allocations: 79.97 kB / 0.6018 GB, free: 3.344 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0948/0.5267, allocations: 37.28 MB / 0.6382 GB, free: 3.047 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5268, allocations: 0 / 0.6382 GB, free: 3.047 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.239e-05/0.5269, allocations: 24 kB / 0.6382 GB, free: 3.023 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.003504/0.5304, allocations: 1.483 MB / 0.6396 GB, free: 1.477 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5304, allocations: 12.03 kB / 0.6396 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.532, allocations: 302.3 kB / 0.6399 GB, free: 1.168 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.5333, allocations: 0.6605 MB / 0.6406 GB, free: 480 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.47e-05/0.5334, allocations: 78 kB / 0.6406 GB, free: 400 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.5335, allocations: 103.9 kB / 0.6407 GB, free: 296 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.5358, allocations: 1.155 MB / 0.6419 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.5358, allocations: 0 / 0.6419 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.5359, allocations: 44 kB / 0.6419 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.5359, allocations: 24 kB / 0.6419 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.538, allocations: 1.042 MB / 0.643 GB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006866/0.5449, allocations: 4.486 MB / 0.6473 GB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/0.5471, allocations: 1.728 MB / 0.649 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.5472, allocations: 101.5 kB / 0.6491 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007793/0.548, allocations: 470.5 kB / 0.6496 GB, free: 6.695 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 3.346e-06/0.548, allocations: 0 / 0.6496 GB, free: 6.695 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.007377/0.5554, allocations: 1.839 MB / 0.6514 GB, free: 4.801 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.5556, allocations: 273.6 kB / 0.6516 GB, free: 4.473 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.5567, allocations: 0.64 MB / 0.6523 GB, free: 3.832 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.194e-05/0.5568, allocations: 41.7 kB / 0.6523 GB, free: 3.785 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004467/0.5572, allocations: 0.514 MB / 0.6528 GB, free: 3.262 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.5574, allocations: 220.9 kB / 0.653 GB, free: 3.043 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.5575, allocations: 16 kB / 0.653 GB, free: 3.027 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5577, allocations: 394.8 kB / 0.6534 GB, free: 2.633 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005747/0.5582, allocations: 297.8 kB / 0.6537 GB, free: 2.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006982/0.5589, allocations: 0.5415 MB / 0.6542 GB, free: 1.688 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/0.5596, allocations: 430.7 kB / 0.6546 GB, free: 1.254 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.5597, allocations: 0 / 0.6546 GB, free: 1.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002197/0.5619, allocations: 1.102 MB / 0.6557 GB, free: 132 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/0.5619, allocations: 59.41 kB / 0.6558 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.562, allocations: 11.94 kB / 0.6558 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005824/0.5626, allocations: 105 kB / 0.6559 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008578/0.5634, allocations: 211.7 kB / 0.6561 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.5651, allocations: 1.577 MB / 0.6576 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009179/0.566, allocations: 103.4 kB / 0.6577 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.023e-05/0.5661, allocations: 47.97 kB / 0.6578 GB, free: 13.87 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.0006207/0.5667, allocations: 335.5 kB / 0.6581 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.5669, allocations: 79.06 kB / 0.6581 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004199/0.5711, allocations: 1.272 MB / 0.6594 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.5711, allocations: 12 kB / 0.6594 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5711, allocations: 0 / 0.6594 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.5712, allocations: 7.984 kB / 0.6594 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/0.5746, allocations: 2.031 MB / 0.6614 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5747, allocations: 8.031 kB / 0.6614 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.5751, allocations: 91.84 kB / 0.6615 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002631/0.5777, allocations: 0.5888 MB / 0.6621 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.172e-05/0.5778, allocations: 27.91 kB / 0.6621 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.5789, allocations: 0.9164 MB / 0.663 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5789, allocations: 0 / 0.663 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.5814, allocations: 1.438 MB / 0.6644 GB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/0.5819, allocations: 263.8 kB / 0.6646 GB, free: 6.562 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.5821, allocations: 16.12 kB / 0.6647 GB, free: 6.547 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005325/0.5826, allocations: 51.91 kB / 0.6647 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.765e-05/0.5827, allocations: 44.5 kB / 0.6647 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/0.5828, allocations: 27.97 kB / 0.6648 GB, free: 6.422 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006892/0.5835, allocations: 0.4912 MB / 0.6653 GB, free: 5.938 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5835, allocations: 0 / 0.6653 GB, free: 5.938 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001171/0.5847, allocations: 359 kB / 0.6656 GB, free: 5.586 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.001513/0.5862, allocations: 0.7159 MB / 0.6663 GB, free: 5.105 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.5882, allocations: 0.9901 MB / 0.6673 GB, free: 4.082 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5882, allocations: 4.188 kB / 0.6673 GB, free: 4.078 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008514/0.5891, allocations: 0.49 MB / 0.6677 GB, free: 3.562 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009319/0.59, allocations: 148.6 kB / 0.6679 GB, free: 3.418 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.5937, allocations: 2.123 MB / 0.67 GB, free: 1.266 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/0.5943, allocations: 1.033 MB / 0.671 GB, free: 208 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005802/0.5949, allocations: 110.2 kB / 0.6711 GB, free: 96 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.5952, allocations: 71.41 kB / 0.6711 GB, free: 24 kB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/0.5952, allocations: 0 / 0.6711 GB, free: 24 kB / 426.7 MB Notification: Performance of Templates: time 0.02289/0.6181, allocations: 12.59 MB / 0.6834 GB, free: 3.523 MB / 442.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.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_20160626_to_20161004 -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_20160626_to_20161004.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004_model.h:24: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004_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_20160626_to_20161004_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_20160626_to_20161004.o] Error 1