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.00141/0.00141, allocations: 179.8 kB / 16.12 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.479/1.479, allocations: 223.3 MB / 240.1 MB, free: 11.75 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.0009393/0.0009393, allocations: 101.9 kB / 291.3 MB, free: 10.83 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02773/0.02773, allocations: 5.392 MB / 347.8 MB, free: 2.453 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008674/0.008674, allocations: 2.32 MB / 402.4 MB, free: 68.48 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004829, allocations: 16 kB / 466.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2675, allocations: 52.17 MB / 0.5066 GB, free: 40.36 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1203/0.3879, allocations: 98.71 MB / 0.603 GB, free: 5.527 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.3882, allocations: 71.97 kB / 0.6031 GB, free: 5.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3294/0.7177, allocations: 37.25 MB / 0.6395 GB, free: 94.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.7177, allocations: 3.156 kB / 0.6395 GB, free: 94.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.369e-05/0.7178, allocations: 17.72 kB / 0.6395 GB, free: 94.54 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.003993/0.7218, allocations: 1.473 MB / 0.641 GB, free: 93.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.7219, allocations: 15.16 kB / 0.641 GB, free: 93.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.7236, allocations: 295 kB / 0.6413 GB, free: 93.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.725, allocations: 0.6868 MB / 0.6419 GB, free: 93.31 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.979e-05/0.7251, allocations: 76.06 kB / 0.642 GB, free: 93.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002394/0.7253, allocations: 104.2 kB / 0.6421 GB, free: 93.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.7274, allocations: 1.163 MB / 0.6432 GB, free: 93.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/0.7275, allocations: 0.9375 kB / 0.6432 GB, free: 93.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.7276, allocations: 49.78 kB / 0.6433 GB, free: 93.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.7276, allocations: 22.97 kB / 0.6433 GB, free: 93.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.7296, allocations: 1.032 MB / 0.6443 GB, free: 93.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006161/0.7358, allocations: 4.497 MB / 0.6487 GB, free: 90.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.7376, allocations: 1.73 MB / 0.6504 GB, free: 88.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/0.7381, allocations: 328.8 kB / 0.6507 GB, free: 88.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.216e-05/0.7382, allocations: 95.45 kB / 0.6508 GB, free: 88.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006524/0.7389, allocations: 463.2 kB / 0.6512 GB, free: 88.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 3.787e-06/0.7389, allocations: 4 kB / 0.6512 GB, free: 88.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.006171/0.7451, allocations: 1.773 MB / 0.653 GB, free: 86.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.7452, allocations: 306.4 kB / 0.6533 GB, free: 86.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.7463, allocations: 0.7025 MB / 0.6539 GB, free: 85.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.739e-05/0.7463, allocations: 37.7 kB / 0.654 GB, free: 85.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.7467, allocations: 0.5178 MB / 0.6545 GB, free: 85.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.7468, allocations: 211.2 kB / 0.6547 GB, free: 85.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.7469, allocations: 20 kB / 0.6547 GB, free: 85.08 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.747, allocations: 389.6 kB / 0.6551 GB, free: 84.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.7475, allocations: 299.4 kB / 0.6554 GB, free: 84.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.7481, allocations: 0.5559 MB / 0.6559 GB, free: 83.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.7492, allocations: 0.9447 MB / 0.6568 GB, free: 82.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.7493, allocations: 4 kB / 0.6568 GB, free: 82.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001891/0.7512, allocations: 1.112 MB / 0.6579 GB, free: 81.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.7512, allocations: 59.41 kB / 0.658 GB, free: 81.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.7512, allocations: 8.344 kB / 0.658 GB, free: 81.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004701/0.7517, allocations: 103.8 kB / 0.6581 GB, free: 81.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007426/0.7525, allocations: 216.2 kB / 0.6583 GB, free: 81.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.7538, allocations: 1.558 MB / 0.6598 GB, free: 79.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008198/0.7546, allocations: 111 kB / 0.6599 GB, free: 79.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/0.7547, allocations: 47.97 kB / 0.66 GB, free: 79.56 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.0005499/0.7553, allocations: 332.7 kB / 0.6603 GB, free: 79.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.7555, allocations: 86.95 kB / 0.6604 GB, free: 79.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003653/0.7591, allocations: 1.268 MB / 0.6616 GB, free: 77.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.7592, allocations: 8 kB / 0.6616 GB, free: 77.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.7592, allocations: 0 / 0.6616 GB, free: 77.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.7592, allocations: 3.984 kB / 0.6616 GB, free: 77.83 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.7624, allocations: 2.135 MB / 0.6637 GB, free: 75.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.7624, allocations: 4 kB / 0.6637 GB, free: 75.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.7628, allocations: 87.84 kB / 0.6638 GB, free: 75.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002253/0.765, allocations: 0.584 MB / 0.6644 GB, free: 74.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.292e-05/0.7651, allocations: 23.97 kB / 0.6644 GB, free: 74.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008814/0.766, allocations: 0.9229 MB / 0.6653 GB, free: 73.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.766, allocations: 64 / 0.6653 GB, free: 73.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.7683, allocations: 1.405 MB / 0.6667 GB, free: 72.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006341/0.769, allocations: 255.9 kB / 0.6669 GB, free: 72.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.7693, allocations: 16 kB / 0.6669 GB, free: 72.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007109/0.77, allocations: 47.91 kB / 0.667 GB, free: 72.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.7701, allocations: 48.44 kB / 0.667 GB, free: 72.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/0.7702, allocations: 28.11 kB / 0.667 GB, free: 72.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008736/0.7711, allocations: 0.4951 MB / 0.6675 GB, free: 71.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7711, allocations: 0 / 0.6675 GB, free: 71.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001371/0.7725, allocations: 362.8 kB / 0.6679 GB, free: 71.26 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.001519/0.774, allocations: 0.7181 MB / 0.6686 GB, free: 70.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.7757, allocations: 0.9884 MB / 0.6695 GB, free: 69.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7757, allocations: 4.125 kB / 0.6695 GB, free: 69.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006845/0.7764, allocations: 493.8 kB / 0.67 GB, free: 69.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.7775, allocations: 162.5 kB / 0.6702 GB, free: 69.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.7806, allocations: 2.114 MB / 0.6722 GB, free: 66.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.7811, allocations: 1.01 MB / 0.6732 GB, free: 65.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005293/0.7816, allocations: 110.2 kB / 0.6733 GB, free: 65.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.7819, allocations: 79.33 kB / 0.6734 GB, free: 65.75 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.7819, allocations: 0 / 0.6734 GB, free: 65.75 MB / 394.7 MB Notification: Performance of Templates: time 0.02146/0.8033, allocations: 12.67 MB / 0.6858 GB, free: 53.18 MB / 394.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 -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_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:26: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704_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_20160704_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_20160704.o] Error 1