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.001226/0.001226, allocations: 175.1 kB / 16.12 MB, free: 5.57 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.338/1.338, allocations: 223.3 MB / 240.1 MB, free: 9.934 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.0007991/0.0007993, allocations: 99.27 kB / 291.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02496/0.02496, allocations: 5.389 MB / 347.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007826/0.007826, allocations: 2.312 MB / 402.4 MB, free: 68.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008647/0.0008648, allocations: 16 kB / 470 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3385, allocations: 52.19 MB / 0.51 GB, free: 39.84 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1496/0.4882, allocations: 96.46 MB / 0.6042 GB, free: 7.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.4884, allocations: 71.97 kB / 0.6042 GB, free: 7.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2943/0.7827, allocations: 35.75 MB / 0.6392 GB, free: 94.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7828, allocations: 3.969 kB / 0.6392 GB, free: 94.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.589e-05/0.7828, allocations: 15.66 kB / 0.6392 GB, free: 94.36 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.003632/0.7865, allocations: 1.417 MB / 0.6406 GB, free: 93.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.7865, allocations: 12.69 kB / 0.6406 GB, free: 93.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.7882, allocations: 303.7 kB / 0.6409 GB, free: 93.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.7892, allocations: 0.6038 MB / 0.6415 GB, free: 93.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/0.7893, allocations: 82.5 kB / 0.6415 GB, free: 93.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.7896, allocations: 108.9 kB / 0.6416 GB, free: 93.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.7919, allocations: 1.197 MB / 0.6428 GB, free: 93.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.666e-05/0.792, allocations: 4.031 kB / 0.6428 GB, free: 93.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.7921, allocations: 60.16 kB / 0.6429 GB, free: 93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.7921, allocations: 23.31 kB / 0.6429 GB, free: 93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.7943, allocations: 1.116 MB / 0.644 GB, free: 93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006001/0.8003, allocations: 4.548 MB / 0.6484 GB, free: 90.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.8024, allocations: 1.838 MB / 0.6502 GB, free: 89.03 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006096/0.803, allocations: 365.6 kB / 0.6506 GB, free: 88.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.8032, allocations: 177.2 kB / 0.6507 GB, free: 88.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007439/0.8039, allocations: 0.5554 MB / 0.6513 GB, free: 88.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 4.048e-06/0.8039, allocations: 0 / 0.6513 GB, free: 88.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=80): time 0.006447/0.8104, allocations: 1.923 MB / 0.6532 GB, free: 87.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/0.8105, allocations: 304.2 kB / 0.6534 GB, free: 87.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008435/0.8114, allocations: 0.5944 MB / 0.654 GB, free: 87.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/0.8115, allocations: 43.61 kB / 0.6541 GB, free: 87.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.8118, allocations: 487.2 kB / 0.6545 GB, free: 86.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.8119, allocations: 259.7 kB / 0.6548 GB, free: 86.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.999e-05/0.812, allocations: 23.5 kB / 0.6548 GB, free: 86.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.8121, allocations: 384.5 kB / 0.6552 GB, free: 86.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000616/0.8127, allocations: 337.2 kB / 0.6555 GB, free: 85.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.8134, allocations: 0.5738 MB / 0.6561 GB, free: 85.54 MB / 394.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.01478/0.8282, allocations: 3.73 MB / 0.6597 GB, free: 82.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.8283, allocations: 7.938 kB / 0.6597 GB, free: 82.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002368/0.8306, allocations: 1.233 MB / 0.6609 GB, free: 81.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.173e-05/0.8307, allocations: 88.72 kB / 0.661 GB, free: 81.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.8307, allocations: 8 kB / 0.661 GB, free: 81.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004558/0.8312, allocations: 91.42 kB / 0.6611 GB, free: 81.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009838/0.8322, allocations: 258.4 kB / 0.6613 GB, free: 80.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.8337, allocations: 1.554 MB / 0.6628 GB, free: 79.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009166/0.8346, allocations: 112.9 kB / 0.663 GB, free: 79.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/0.8347, allocations: 59.56 kB / 0.663 GB, free: 79.11 MB / 394.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.daysOfYear = PhotoVoltaics.Functions.dayOfTheYear(31, 12, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0006165/0.8353, allocations: 376.4 kB / 0.6634 GB, free: 78.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.8355, allocations: 75.16 kB / 0.6634 GB, free: 78.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004056/0.8396, allocations: 1.538 MB / 0.6649 GB, free: 77.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.8396, allocations: 8 kB / 0.665 GB, free: 77.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.8396, allocations: 0 / 0.665 GB, free: 77.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.8396, allocations: 3.984 kB / 0.665 GB, free: 77.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003535/0.8432, allocations: 2.458 MB / 0.6674 GB, free: 74.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.8432, allocations: 0 / 0.6674 GB, free: 74.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.8437, allocations: 135.8 kB / 0.6675 GB, free: 74.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/0.8459, allocations: 0.584 MB / 0.6681 GB, free: 73.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.31e-05/0.846, allocations: 34.78 kB / 0.6681 GB, free: 73.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008557/0.8468, allocations: 0.9248 MB / 0.669 GB, free: 72.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8469, allocations: 3.984 kB / 0.669 GB, free: 72.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.8493, allocations: 1.666 MB / 0.6706 GB, free: 71.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/0.8498, allocations: 259.8 kB / 0.6709 GB, free: 70.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.85, allocations: 23.94 kB / 0.6709 GB, free: 70.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/0.8506, allocations: 47.98 kB / 0.6709 GB, free: 70.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.8508, allocations: 64.81 kB / 0.671 GB, free: 70.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/0.8509, allocations: 39.97 kB / 0.671 GB, free: 70.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005507/0.8514, allocations: 418.8 kB / 0.6714 GB, free: 70.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8514, allocations: 0 / 0.6714 GB, free: 70.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001205/0.8526, allocations: 391 kB / 0.6718 GB, free: 70.02 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: 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.0009848/0.8536, allocations: 420.8 kB / 0.6722 GB, free: 69.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.8558, allocations: 1.17 MB / 0.6734 GB, free: 68.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.8558, allocations: 0 / 0.6734 GB, free: 68.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008792/0.8567, allocations: 0.6693 MB / 0.674 GB, free: 67.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.8578, allocations: 126.2 kB / 0.6741 GB, free: 67.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.8609, allocations: 2.209 MB / 0.6763 GB, free: 65.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.8614, allocations: 1.017 MB / 0.6773 GB, free: 64.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005592/0.8619, allocations: 114.2 kB / 0.6774 GB, free: 64.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.8622, allocations: 87.31 kB / 0.6775 GB, free: 64.18 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.8622, allocations: 7.938 kB / 0.6775 GB, free: 64.18 MB / 394.7 MB Notification: Performance of Templates: time 0.02075/0.8829, allocations: 12.93 MB / 0.6901 GB, free: 51.34 MB / 394.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 -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_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:26: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_2016_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_Analytical_2016_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_Analytical_2016.o] Error 1