Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_2016.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_Comax_Analytical_2016,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_2016") translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_2016,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_2016") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007655/0.007655, allocations: 173.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.404/1.404, allocations: 223.2 MB / 239 MB, free: 1.785 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.0009683/0.0009681, allocations: 107.9 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.02443/0.02443, allocations: 5.398 MB / 346.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.1815/0.1815, allocations: 2.304 MB / 401.3 MB, free: 91.7 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006637/0.0006639, allocations: 12 kB / 468.7 MB, free: 38.92 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1165, allocations: 52.19 MB / 0.5087 GB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3509/0.4674, allocations: 96.36 MB / 0.6028 GB, free: 6.457 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.4677, allocations: 71.47 kB / 0.6028 GB, free: 6.426 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0925/0.5602, allocations: 35.89 MB / 0.6379 GB, free: 4.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5602, allocations: 0 / 0.6379 GB, free: 4.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.285e-05/0.5603, allocations: 23.94 kB / 0.6379 GB, free: 4.246 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.003562/0.5639, allocations: 1.434 MB / 0.6393 GB, free: 2.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5639, allocations: 8.031 kB / 0.6393 GB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.5656, allocations: 306.4 kB / 0.6396 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.5667, allocations: 0.5822 MB / 0.6402 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.77e-05/0.5668, allocations: 82.02 kB / 0.6402 GB, free: 1.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.5669, allocations: 115.9 kB / 0.6404 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.5692, allocations: 1.187 MB / 0.6415 GB, free: 380 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.5693, allocations: 7.906 kB / 0.6415 GB, free: 372 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.5694, allocations: 51.94 kB / 0.6416 GB, free: 320 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.5694, allocations: 24 kB / 0.6416 GB, free: 296 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.5717, allocations: 1.116 MB / 0.6427 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007113/0.5788, allocations: 4.536 MB / 0.6471 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.5814, allocations: 1.837 MB / 0.6489 GB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.5816, allocations: 170.8 kB / 0.6491 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008745/0.5824, allocations: 0.5636 MB / 0.6496 GB, free: 7.551 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 2.976e-06/0.5825, allocations: 3.938 kB / 0.6496 GB, free: 7.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.0111/0.5936, allocations: 2.057 MB / 0.6516 GB, free: 5.406 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002048/0.5938, allocations: 285.7 kB / 0.6519 GB, free: 5.066 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.5952, allocations: 0.5254 MB / 0.6524 GB, free: 4.535 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.5953, allocations: 45.7 kB / 0.6525 GB, free: 4.484 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000601/0.5959, allocations: 486.9 kB / 0.6529 GB, free: 4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003923/0.5964, allocations: 260.3 kB / 0.6532 GB, free: 3.742 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/0.5965, allocations: 24 kB / 0.6532 GB, free: 3.719 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002559/0.5967, allocations: 386.7 kB / 0.6536 GB, free: 3.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.5978, allocations: 334.5 kB / 0.6539 GB, free: 3.008 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009698/0.5988, allocations: 0.5755 MB / 0.6544 GB, free: 2.336 MB / 410.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02455/0.6234, allocations: 2.837 MB / 0.6572 GB, free: 15.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.6234, allocations: 4 kB / 0.6572 GB, free: 15.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003719/0.6271, allocations: 1.229 MB / 0.6584 GB, free: 14.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.6273, allocations: 89.09 kB / 0.6585 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.6273, allocations: 8 kB / 0.6585 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008361/0.6281, allocations: 105 kB / 0.6586 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.6299, allocations: 251.5 kB / 0.6589 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.6326, allocations: 1.573 MB / 0.6604 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.6337, allocations: 115.2 kB / 0.6605 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.6339, allocations: 51.95 kB / 0.6605 GB, free: 11.86 MB / 426.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $PRE.irradiance.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.irradiance.year,irradiance.year,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$whenCondition2,$whenCondition3,$PRE.mpTracker.vRef,mpTracker.vRef,$PRE.irradiance.startDayOfYear,irradiance.startDayOfYear,$PRE.irradiance.dayOfYear,irradiance.dayOfYear,$PRE.irradiance.daysOfYear,irradiance.daysOfYear,irradiance.localDays,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 (130): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 3 * 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.0008144/0.6347, allocations: 369.2 kB / 0.6609 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.6348, allocations: 75.16 kB / 0.661 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004708/0.6396, allocations: 1.549 MB / 0.6625 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.6396, allocations: 8 kB / 0.6625 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6396, allocations: 0 / 0.6625 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.6396, allocations: 3.984 kB / 0.6625 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/0.6436, allocations: 2.33 MB / 0.6648 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.6437, allocations: 0 / 0.6648 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005807/0.6443, allocations: 135.8 kB / 0.6649 GB, free: 7.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002554/0.6468, allocations: 0.5888 MB / 0.6655 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.993e-05/0.6469, allocations: 39.92 kB / 0.6655 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.648, allocations: 0.9248 MB / 0.6664 GB, free: 5.652 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.648, allocations: 4.062 kB / 0.6664 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/0.6509, allocations: 1.692 MB / 0.6681 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/0.6514, allocations: 251.8 kB / 0.6683 GB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.6515, allocations: 24 kB / 0.6683 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006038/0.6521, allocations: 55.92 kB / 0.6684 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.6523, allocations: 52.92 kB / 0.6684 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.494e-05/0.6523, allocations: 47.89 kB / 0.6685 GB, free: 3.457 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005656/0.6529, allocations: 418.8 kB / 0.6689 GB, free: 3.051 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6529, allocations: 0 / 0.6689 GB, free: 3.051 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001207/0.6541, allocations: 387 kB / 0.6693 GB, free: 2.672 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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 16 (writeCSV.firstTrigger,$whenCondition4,writeCSV.sampleTrigger,irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * 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.0008182/0.655, allocations: 433.4 kB / 0.6697 GB, free: 2.324 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.6571, allocations: 1.169 MB / 0.6708 GB, free: 1.105 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6571, allocations: 8.062 kB / 0.6708 GB, free: 1.098 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009447/0.658, allocations: 0.6599 MB / 0.6715 GB, free: 408 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000648/0.6587, allocations: 122.2 kB / 0.6716 GB, free: 284 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.6619, allocations: 2.2 MB / 0.6737 GB, free: 14.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/0.6625, allocations: 1.034 MB / 0.6747 GB, free: 12.99 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005125/0.663, allocations: 122.2 kB / 0.6749 GB, free: 12.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.6633, allocations: 87.38 kB / 0.6749 GB, free: 12.78 MB / 442.7 MB Notification: Performance of SimCode: time 7.61e-07/0.6633, allocations: 0 / 0.6749 GB, free: 12.78 MB / 442.7 MB Notification: Performance of Templates: time 0.02245/0.6858, allocations: 12.85 MB / 0.6875 GB, free: 8 kB / 442.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_2016.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_2016.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_Analytical_2016 -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_Analytical_2016.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_2016.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_2016.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_2016_model.h:24: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_2016_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_Analytical_2016_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_Analytical_2016.o] Error 1