Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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.0009078/0.0009077, allocations: 171.7 kB / 16.11 MB, free: 5.578 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.499/1.499, allocations: 223.2 MB / 240.1 MB, free: 9.973 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.0009963/0.0009962, allocations: 100.7 kB / 291.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02547/0.02547, allocations: 5.386 MB / 347.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008118/0.008117, allocations: 2.316 MB / 402.4 MB, free: 68.4 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0005395/0.0005396, allocations: 20 kB / 470 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3027, allocations: 52.18 MB / 0.51 GB, free: 39.88 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.4324, allocations: 98.9 MB / 0.6066 GB, free: 4.836 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.4328, allocations: 75.97 kB / 0.6066 GB, free: 4.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3411/0.7739, allocations: 36.69 MB / 0.6425 GB, free: 94.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.774, allocations: 0 / 0.6425 GB, free: 94.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001196/0.7741, allocations: 20.28 kB / 0.6425 GB, free: 94.55 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004422/0.7785, allocations: 1.473 MB / 0.6439 GB, free: 93.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.7786, allocations: 9.875 kB / 0.6439 GB, free: 93.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.7805, allocations: 305.8 kB / 0.6442 GB, free: 93.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.7822, allocations: 0.6864 MB / 0.6449 GB, free: 93.31 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.906e-05/0.7823, allocations: 77.02 kB / 0.645 GB, free: 93.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003344/0.7827, allocations: 107.3 kB / 0.6451 GB, free: 93.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/0.7856, allocations: 1.205 MB / 0.6463 GB, free: 93.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-05/0.7857, allocations: 11.72 kB / 0.6463 GB, free: 93.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.7859, allocations: 45.25 kB / 0.6463 GB, free: 93.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.411e-05/0.7859, allocations: 28.19 kB / 0.6463 GB, free: 93.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.7884, allocations: 1.201 MB / 0.6475 GB, free: 93.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007463/0.7959, allocations: 4.556 MB / 0.652 GB, free: 90.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.7982, allocations: 1.854 MB / 0.6538 GB, free: 88.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005897/0.7988, allocations: 343 kB / 0.6541 GB, free: 88.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.799, allocations: 101.4 kB / 0.6542 GB, free: 88.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008145/0.7998, allocations: 486.1 kB / 0.6547 GB, free: 87.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 4.659e-06/0.7998, allocations: 0 / 0.6547 GB, free: 87.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=70): time 0.006441/0.8063, allocations: 1.836 MB / 0.6564 GB, free: 86.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.115e-05/0.8064, allocations: 251.5 kB / 0.6567 GB, free: 86.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.8076, allocations: 0.7133 MB / 0.6574 GB, free: 85.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-05/0.8077, allocations: 41.7 kB / 0.6574 GB, free: 85.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000395/0.8081, allocations: 0.5226 MB / 0.6579 GB, free: 85.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.8084, allocations: 238.7 kB / 0.6582 GB, free: 84.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.8084, allocations: 20 kB / 0.6582 GB, free: 84.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.8086, allocations: 391.6 kB / 0.6586 GB, free: 84.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000605/0.8092, allocations: 317.9 kB / 0.6589 GB, free: 84.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.8099, allocations: 0.5666 MB / 0.6594 GB, free: 83.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.8112, allocations: 0.9734 MB / 0.6604 GB, free: 82.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/0.8112, allocations: 4 kB / 0.6604 GB, free: 82.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002303/0.8135, allocations: 1.161 MB / 0.6615 GB, free: 81.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/0.8136, allocations: 61.91 kB / 0.6616 GB, free: 81.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.8136, allocations: 15.5 kB / 0.6616 GB, free: 81.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005107/0.8142, allocations: 101 kB / 0.6617 GB, free: 81.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/0.815, allocations: 215.7 kB / 0.6619 GB, free: 80.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.8165, allocations: 1.553 MB / 0.6634 GB, free: 79.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009256/0.8175, allocations: 107.2 kB / 0.6635 GB, free: 79.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.8176, allocations: 47.97 kB / 0.6635 GB, free: 79.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 (119): * Single equations (assignments): 116 * 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.0007792/0.8184, allocations: 348.5 kB / 0.6639 GB, free: 78.65 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.8187, allocations: 83 kB / 0.6639 GB, free: 78.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/0.8226, allocations: 1.368 MB / 0.6653 GB, free: 77.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.8226, allocations: 8 kB / 0.6653 GB, free: 77.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.8226, allocations: 4 kB / 0.6653 GB, free: 77.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.8226, allocations: 7.984 kB / 0.6653 GB, free: 77.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/0.8265, allocations: 2.326 MB / 0.6676 GB, free: 74.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.8266, allocations: 4 kB / 0.6676 GB, free: 74.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.827, allocations: 115.7 kB / 0.6677 GB, free: 74.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002256/0.8292, allocations: 0.5878 MB / 0.6683 GB, free: 74.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.479e-05/0.8293, allocations: 31.97 kB / 0.6683 GB, free: 74.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009569/0.8303, allocations: 0.9247 MB / 0.6692 GB, free: 73.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8303, allocations: 0 / 0.6692 GB, free: 73.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.8327, allocations: 1.528 MB / 0.6707 GB, free: 71.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005719/0.8333, allocations: 259.7 kB / 0.6709 GB, free: 71.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/0.8336, allocations: 27.94 kB / 0.671 GB, free: 71.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/0.8342, allocations: 47.97 kB / 0.671 GB, free: 71.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.8343, allocations: 44.59 kB / 0.6711 GB, free: 71.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/0.8344, allocations: 35.97 kB / 0.6711 GB, free: 71.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008061/0.8352, allocations: 0.4912 MB / 0.6716 GB, free: 70.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8352, allocations: 0 / 0.6716 GB, free: 70.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00156/0.8368, allocations: 378.9 kB / 0.6719 GB, free: 70.22 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001882/0.8387, allocations: 0.7272 MB / 0.6726 GB, free: 69.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001988/0.8407, allocations: 1.047 MB / 0.6737 GB, free: 68.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.8407, allocations: 0 / 0.6737 GB, free: 68.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008278/0.8416, allocations: 0.5271 MB / 0.6742 GB, free: 68.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.843, allocations: 148.4 kB / 0.6743 GB, free: 67.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/0.8469, allocations: 2.208 MB / 0.6765 GB, free: 65.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.8475, allocations: 1.03 MB / 0.6775 GB, free: 64.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006809/0.8482, allocations: 114.2 kB / 0.6776 GB, free: 64.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.8485, allocations: 87.39 kB / 0.6777 GB, free: 64.49 MB / 394.7 MB Notification: Performance of SimCode: time 9.21e-07/0.8485, allocations: 0 / 0.6777 GB, free: 64.49 MB / 394.7 MB Notification: Performance of Templates: time 0.02333/0.8718, allocations: 12.85 MB / 0.6902 GB, free: 51.74 MB / 394.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.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_Trina_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_Trina_Measurement_20160626_to_20161004.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004_model.h:26: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004_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_Trina_Measurement_20160626_to_20161004_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_Trina_Measurement_20160626_to_20161004.o] Error 1