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: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006485/0.006485, allocations: 172.6 kB / 15.12 MB, free: 5.973 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.417/1.417, 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.001079/0.001079, allocations: 99.7 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03935/0.03935, allocations: 5.394 MB / 346.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.2038/0.2038, allocations: 2.296 MB / 401.3 MB, free: 91.66 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004581, allocations: 12 kB / 468.8 MB, free: 38.82 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1162, allocations: 52.19 MB / 0.5087 GB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4147/0.5309, allocations: 98.79 MB / 0.6052 GB, free: 4.027 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.5312, allocations: 69.91 kB / 0.6053 GB, free: 3.996 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0953/0.6265, allocations: 36.73 MB / 0.6411 GB, free: 0.918 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6265, allocations: 0 / 0.6411 GB, free: 0.918 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.704e-05/0.6266, allocations: 23.98 kB / 0.6412 GB, free: 0.8945 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.00335/0.63, allocations: 1.486 MB / 0.6426 GB, free: 15.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.63, allocations: 8.031 kB / 0.6426 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/0.6303, allocations: 160.6 kB / 0.6428 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.6318, allocations: 310.2 kB / 0.6431 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.633, allocations: 0.6603 MB / 0.6437 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.301e-05/0.6331, allocations: 78.08 kB / 0.6438 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.6333, allocations: 108 kB / 0.6439 GB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.6355, allocations: 1.204 MB / 0.6451 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.6356, allocations: 7.906 kB / 0.6451 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.6357, allocations: 44 kB / 0.6451 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.6357, allocations: 24 kB / 0.6452 GB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.638, allocations: 1.202 MB / 0.6463 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007257/0.6453, allocations: 4.57 MB / 0.6508 GB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/0.6479, allocations: 1.849 MB / 0.6526 GB, free: 4.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.648, allocations: 89.66 kB / 0.6527 GB, free: 4.477 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007947/0.6488, allocations: 489.6 kB / 0.6531 GB, free: 3.973 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 3.487e-06/0.6489, allocations: 0 / 0.6531 GB, free: 3.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=70): time 0.007207/0.6561, allocations: 1.911 MB / 0.655 GB, free: 1.996 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.6562, allocations: 218.2 kB / 0.6552 GB, free: 1.734 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.6574, allocations: 0.6439 MB / 0.6558 GB, free: 1.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.559e-05/0.6574, allocations: 45.7 kB / 0.6559 GB, free: 1.039 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/0.6579, allocations: 0.518 MB / 0.6564 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.6582, allocations: 236.7 kB / 0.6566 GB, free: 284 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.6582, allocations: 20 kB / 0.6566 GB, free: 264 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.6585, allocations: 390.7 kB / 0.657 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006193/0.6591, allocations: 317.8 kB / 0.6573 GB, free: 15.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007117/0.6598, allocations: 0.5508 MB / 0.6579 GB, free: 14.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.6605, allocations: 454.2 kB / 0.6583 GB, free: 14.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.6605, allocations: 4 kB / 0.6583 GB, free: 14.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002214/0.6628, allocations: 1.176 MB / 0.6594 GB, free: 13.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/0.6628, allocations: 59.41 kB / 0.6595 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.6628, allocations: 8 kB / 0.6595 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005381/0.6634, allocations: 97 kB / 0.6596 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/0.6642, allocations: 223.6 kB / 0.6598 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.666, allocations: 1.565 MB / 0.6613 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008052/0.6668, allocations: 103.1 kB / 0.6614 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.772e-05/0.6669, allocations: 52.16 kB / 0.6615 GB, free: 11 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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.0006387/0.6675, allocations: 340.6 kB / 0.6618 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.6677, allocations: 90.86 kB / 0.6619 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00432/0.672, allocations: 1.372 MB / 0.6632 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.672, allocations: 8 kB / 0.6632 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.672, allocations: 0 / 0.6632 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.6721, allocations: 11.94 kB / 0.6633 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.6758, allocations: 2.226 MB / 0.6654 GB, free: 6.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6758, allocations: 0 / 0.6654 GB, free: 6.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/0.6762, allocations: 115.8 kB / 0.6655 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002683/0.6789, allocations: 0.5879 MB / 0.6661 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.467e-05/0.679, allocations: 31.97 kB / 0.6661 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.6802, allocations: 0.9215 MB / 0.667 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.6802, allocations: 7.891 kB / 0.6671 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.6827, allocations: 1.543 MB / 0.6686 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/0.6832, allocations: 267.8 kB / 0.6688 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.6833, allocations: 20 kB / 0.6688 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/0.6839, allocations: 47.97 kB / 0.6689 GB, free: 3.188 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.684, allocations: 48.59 kB / 0.6689 GB, free: 3.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.784e-05/0.6841, allocations: 31.97 kB / 0.669 GB, free: 3.109 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007092/0.6848, allocations: 0.4951 MB / 0.6694 GB, free: 2.617 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6848, allocations: 0 / 0.6694 GB, free: 2.617 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001257/0.686, allocations: 378.9 kB / 0.6698 GB, free: 2.246 MB / 426.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.00441/0.6905, allocations: 2.855 MB / 0.6726 GB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001988/0.6925, allocations: 1.051 MB / 0.6736 GB, free: 14.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6925, allocations: 4 kB / 0.6736 GB, free: 14.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008261/0.6933, allocations: 0.5232 MB / 0.6741 GB, free: 13.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007835/0.6941, allocations: 140.7 kB / 0.6743 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/0.7009, allocations: 7.71 MB / 0.6818 GB, free: 5.898 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/0.7017, allocations: 1.045 MB / 0.6828 GB, free: 4.828 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005742/0.7023, allocations: 122.1 kB / 0.6829 GB, free: 4.707 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005881/0.7029, allocations: 411.3 kB / 0.6833 GB, free: 4.305 MB / 442.7 MB Notification: Performance of SimCode: time 1.312e-06/0.7029, allocations: 0 / 0.6833 GB, free: 4.305 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/0.7475, allocations: 20.4 MB / 0.7033 GB, free: 144 kB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3044/1.052, allocations: 266.1 kB / 0.7035 GB, free: 119.4 MB / 458.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 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:24: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_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_Trina_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 warnings and 2 errors generated. make: *** [: PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004.o] Error 1