Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.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.ComponentTesting.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 176.1 kB / 16.12 MB, free: 5.664 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.648/1.648, allocations: 223.3 MB / 240.1 MB, free: 11.71 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.00077/0.00077, allocations: 100.2 kB / 291.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02742/0.02742, allocations: 5.379 MB / 347.8 MB, free: 2.41 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004284, allocations: 15.98 kB / 410.1 MB, free: 60.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08547, allocations: 51.6 MB / 461.7 MB, free: 9.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3203/0.4058, allocations: 87 MB / 0.5358 GB, free: 1.125 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.4061, allocations: 72.91 kB / 0.5359 GB, free: 1.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04219/0.4483, allocations: 17.79 MB / 0.5532 GB, free: 2.547 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4483, allocations: 0 / 0.5532 GB, free: 2.547 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.049e-05/0.4483, allocations: 9.75 kB / 0.5533 GB, free: 2.539 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002119/0.4505, allocations: 0.8062 MB / 0.554 GB, free: 1.742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4505, allocations: 16.03 kB / 0.5541 GB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.4519, allocations: 230.8 kB / 0.5543 GB, free: 1.523 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.4525, allocations: 346.5 kB / 0.5546 GB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/0.4526, allocations: 57.17 kB / 0.5547 GB, free: 1.184 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.4527, allocations: 72.56 kB / 0.5547 GB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.454, allocations: 0.6931 MB / 0.5554 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.454, allocations: 192 / 0.5554 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/0.4541, allocations: 29.38 kB / 0.5554 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.4541, allocations: 20 kB / 0.5555 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.4552, allocations: 0.5897 MB / 0.556 GB, free: 248 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004177/0.4594, allocations: 2.805 MB / 0.5588 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.4607, allocations: 0.9924 MB / 0.5597 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.461, allocations: 141.8 kB / 0.5599 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.052e-05/0.4611, allocations: 85.33 kB / 0.56 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.4611, allocations: 42.61 kB / 0.56 GB, free: 12.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.904e-06/0.4611, allocations: 0 / 0.56 GB, free: 12.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008094/0.4619, allocations: 362.5 kB / 0.5603 GB, free: 12.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.462, allocations: 84.67 kB / 0.5604 GB, free: 12.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.4624, allocations: 287.7 kB / 0.5607 GB, free: 12.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.4624, allocations: 33.39 kB / 0.5607 GB, free: 11.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.4626, allocations: 307 kB / 0.561 GB, free: 11.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/0.4627, allocations: 107.7 kB / 0.5611 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/0.4627, allocations: 6.625 kB / 0.5611 GB, free: 11.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4629, allocations: 338.2 kB / 0.5615 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.4632, allocations: 157 kB / 0.5616 GB, free: 11.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.4635, allocations: 270.6 kB / 0.5619 GB, free: 10.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005756/0.4641, allocations: 411 kB / 0.5623 GB, free: 10.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.4642, allocations: 0 / 0.5623 GB, free: 10.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008722/0.465, allocations: 476.2 kB / 0.5627 GB, free: 10.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4651, allocations: 4 kB / 0.5627 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4651, allocations: 4.562 kB / 0.5627 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.4651, allocations: 15.94 kB / 0.5627 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.4655, allocations: 107.1 kB / 0.5628 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.4655, allocations: 15.92 kB / 0.5629 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.4658, allocations: 55 kB / 0.5629 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.4659, allocations: 23.92 kB / 0.5629 GB, free: 10.02 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.pin_p.reference.gamma:VARIABLE(start = 0.0 unit = "rad" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003419/0.4662, allocations: 193.3 kB / 0.5631 GB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.191e-05/0.4663, allocations: 31.19 kB / 0.5631 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006311/0.4669, allocations: 305.9 kB / 0.5634 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.467, allocations: 7.938 kB / 0.5634 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.467, allocations: 0 / 0.5634 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.467, allocations: 0 / 0.5634 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.4685, allocations: 0.9277 MB / 0.5643 GB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.4685, allocations: 3.938 kB / 0.5643 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.4688, allocations: 59.59 kB / 0.5644 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.4688, allocations: 4 kB / 0.5644 GB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.4688, allocations: 11.11 kB / 0.5644 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.4688, allocations: 8 kB / 0.5644 GB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.4688, allocations: 0 / 0.5644 GB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008129/0.4697, allocations: 0.5699 MB / 0.565 GB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.4698, allocations: 116.5 kB / 0.5651 GB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.4698, allocations: 7.938 kB / 0.5651 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.47, allocations: 11.75 kB / 0.5651 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.4701, allocations: 19.28 kB / 0.5651 GB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.4701, allocations: 8 kB / 0.5651 GB, free: 8.117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002058/0.4703, allocations: 211.8 kB / 0.5653 GB, free: 7.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4704, allocations: 0 / 0.5653 GB, free: 7.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005724/0.4709, allocations: 149 kB / 0.5655 GB, free: 7.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (converter.integrator.y,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002475/0.4712, allocations: 145.8 kB / 0.5656 GB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006025/0.4718, allocations: 328.8 kB / 0.5659 GB, free: 7.434 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4718, allocations: 0 / 0.5659 GB, free: 7.434 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.472, allocations: 129 kB / 0.5661 GB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.4725, allocations: 28.05 kB / 0.5661 GB, free: 7.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.4744, allocations: 1.043 MB / 0.5671 GB, free: 6.324 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.475, allocations: 0.8226 MB / 0.5679 GB, free: 5.477 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002282/0.4752, allocations: 46.95 kB / 0.568 GB, free: 5.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.4753, allocations: 27.44 kB / 0.568 GB, free: 5.402 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4753, allocations: 0 / 0.568 GB, free: 5.402 MB / 378.7 MB Notification: Performance of Templates: time 0.00824/0.4836, allocations: 3.227 MB / 0.5711 GB, free: 2.188 MB / 378.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.o PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.c In file included from PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.c:7: In file included from ./PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter_model.h:26: ./PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter_functions.h:265: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.ComponentTesting.SinglePhaseVoltageControlledConverter_functions.h:274: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.ComponentTesting.SinglePhaseVoltageControlledConverter.o] Error 1