Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.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) 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.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008714/0.008714, allocations: 172.5 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.282/1.282, allocations: 223.2 MB / 239 MB, free: 1.773 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.0008381/0.0008382, allocations: 91.39 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02522/0.02522, allocations: 5.397 MB / 346.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 10.25 kB / 412.1 MB, free: 89.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1038, allocations: 51.62 MB / 463.8 MB, free: 44.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3061/0.4099, allocations: 93.56 MB / 0.5443 GB, free: 19.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.4101, allocations: 75.44 kB / 0.5443 GB, free: 19.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0693/0.4795, allocations: 30.05 MB / 0.5737 GB, free: 12.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4795, allocations: 1.062 kB / 0.5737 GB, free: 12.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.088e-05/0.4796, allocations: 16.81 kB / 0.5737 GB, free: 12.82 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002689/0.4823, allocations: 1.242 MB / 0.5749 GB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/0.4823, allocations: 13.22 kB / 0.5749 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.4838, allocations: 281 kB / 0.5752 GB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008069/0.4846, allocations: 0.527 MB / 0.5757 GB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/0.4847, allocations: 66.5 kB / 0.5758 GB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.4848, allocations: 92.88 kB / 0.5759 GB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.4867, allocations: 1.05 MB / 0.5769 GB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.4868, allocations: 3.906 kB / 0.5769 GB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.4e-05/0.4869, allocations: 37.25 kB / 0.5769 GB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.4869, allocations: 23.25 kB / 0.5769 GB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.4885, allocations: 0.9931 MB / 0.5779 GB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004839/0.4933, allocations: 4.024 MB / 0.5818 GB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.4948, allocations: 1.588 MB / 0.5834 GB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.668e-05/0.4949, allocations: 92.56 kB / 0.5835 GB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005022/0.4954, allocations: 356.6 kB / 0.5838 GB, free: 7.184 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.745e-06/0.4954, allocations: 0 / 0.5838 GB, free: 7.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.00641/0.5019, allocations: 1.579 MB / 0.5854 GB, free: 6.637 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.5019, allocations: 140.7 kB / 0.5855 GB, free: 6.477 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006736/0.5026, allocations: 496 kB / 0.586 GB, free: 6.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.5027, allocations: 36.77 kB / 0.586 GB, free: 6.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.503, allocations: 458.7 kB / 0.5864 GB, free: 5.949 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.5031, allocations: 169.9 kB / 0.5866 GB, free: 5.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.5031, allocations: 14.5 kB / 0.5866 GB, free: 5.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.5032, allocations: 371.1 kB / 0.587 GB, free: 5.496 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.5037, allocations: 271.6 kB / 0.5872 GB, free: 5.457 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.5042, allocations: 462.9 kB / 0.5877 GB, free: 5.184 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.5047, allocations: 358.4 kB / 0.588 GB, free: 5.117 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.5047, allocations: 3.75 kB / 0.588 GB, free: 5.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001541/0.5063, allocations: 0.936 MB / 0.5889 GB, free: 4.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.782e-05/0.5063, allocations: 33.55 kB / 0.589 GB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5064, allocations: 7.656 kB / 0.589 GB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005151/0.5069, allocations: 94.75 kB / 0.5891 GB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/0.5076, allocations: 187.5 kB / 0.5892 GB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.5093, allocations: 1.578 MB / 0.5908 GB, free: 19.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007934/0.5101, allocations: 100.8 kB / 0.5909 GB, free: 19.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.5102, allocations: 33.95 kB / 0.5909 GB, free: 19.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 1 * 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.0005309/0.5107, allocations: 272.8 kB / 0.5912 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.03e-05/0.5108, allocations: 58.34 kB / 0.5912 GB, free: 19.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003383/0.5142, allocations: 1.055 MB / 0.5923 GB, free: 18.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.5142, allocations: 3.969 kB / 0.5923 GB, free: 18.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5142, allocations: 7.859 kB / 0.5923 GB, free: 18.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.5142, allocations: 3.984 kB / 0.5923 GB, free: 18.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.5167, allocations: 1.734 MB / 0.594 GB, free: 18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5167, allocations: 0 / 0.594 GB, free: 18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.517, allocations: 81.3 kB / 0.594 GB, free: 17.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002368/0.5193, allocations: 0.5815 MB / 0.5946 GB, free: 17.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.079e-05/0.5194, allocations: 18.53 kB / 0.5946 GB, free: 17.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009815/0.5204, allocations: 0.9346 MB / 0.5955 GB, free: 17.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5204, allocations: 4.062 kB / 0.5955 GB, free: 17.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.5221, allocations: 1.163 MB / 0.5967 GB, free: 16.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/0.5225, allocations: 186.2 kB / 0.5969 GB, free: 16.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.139e-05/0.5226, allocations: 21.77 kB / 0.5969 GB, free: 16.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/0.5231, allocations: 34.73 kB / 0.5969 GB, free: 16.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.5231, allocations: 34.14 kB / 0.5969 GB, free: 16.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.5232, allocations: 23.09 kB / 0.597 GB, free: 16.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004446/0.5236, allocations: 372.6 kB / 0.5973 GB, free: 16.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5236, allocations: 0 / 0.5973 GB, free: 16.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008538/0.5245, allocations: 279 kB / 0.5976 GB, free: 16.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * 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.0003046/0.5248, allocations: 191.4 kB / 0.5978 GB, free: 16.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.5262, allocations: 0.8318 MB / 0.5986 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5262, allocations: 1.25 kB / 0.5986 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005603/0.5267, allocations: 376.8 kB / 0.5989 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.5273, allocations: 94.75 kB / 0.599 GB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.5296, allocations: 1.701 MB / 0.6007 GB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.5301, allocations: 0.9641 MB / 0.6016 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004349/0.5306, allocations: 75.66 kB / 0.6017 GB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.5307, allocations: 46.42 kB / 0.6017 GB, free: 13.87 MB / 378.7 MB Notification: Performance of SimCode: time 2.134e-06/0.5307, allocations: 0 / 0.6017 GB, free: 13.87 MB / 378.7 MB Notification: Performance of Templates: time 0.01435/0.5451, allocations: 8.996 MB / 0.6105 GB, free: 8.43 MB / 378.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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_PhotoVoltaics_Examples_SimpleModuleMP -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_PhotoVoltaics.Examples.SimpleModuleMP.o PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.c In file included from PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.c:7: In file included from ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP_model.h:24: ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP_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_PhotoVoltaics.Examples.SimpleModuleMP_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_PhotoVoltaics.Examples.SimpleModuleMP.o] Error 1