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: "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter",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.008122/0.008122, allocations: 169.8 kB / 15.11 MB, free: 5.969 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.401/1.401, allocations: 223.2 MB / 239 MB, free: 1.777 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.000856/0.0008561, allocations: 92.39 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02475/0.02475, allocations: 5.388 MB / 346.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.000327, allocations: 8.312 kB / 408.9 MB, free: 91.9 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0957/0.09605, allocations: 51.63 MB / 460.5 MB, free: 47.93 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3377/0.4338, allocations: 86.92 MB / 0.5346 GB, free: 20.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.4341, allocations: 71.06 kB / 0.5347 GB, free: 20.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03727/0.4713, allocations: 17.82 MB / 0.5521 GB, free: 18.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4714, allocations: 0 / 0.5521 GB, free: 18.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.4714, allocations: 11.44 kB / 0.5521 GB, free: 18.63 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.001469/0.4729, allocations: 0.8192 MB / 0.5529 GB, free: 18.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.4729, allocations: 11.59 kB / 0.5529 GB, free: 18.1 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.473, allocations: 111.1 kB / 0.553 GB, free: 18.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.4743, allocations: 232.3 kB / 0.5532 GB, free: 18.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.4747, allocations: 344.9 kB / 0.5535 GB, free: 17.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.4747, allocations: 52.44 kB / 0.5536 GB, free: 17.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.4748, allocations: 69.78 kB / 0.5536 GB, free: 17.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.4759, allocations: 0.6929 MB / 0.5543 GB, free: 17.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.4759, allocations: 0 / 0.5543 GB, free: 17.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.476, allocations: 31.09 kB / 0.5544 GB, free: 17.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.476, allocations: 23.03 kB / 0.5544 GB, free: 17.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008792/0.4769, allocations: 0.5833 MB / 0.5549 GB, free: 17.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003336/0.4802, allocations: 2.805 MB / 0.5577 GB, free: 16.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.4813, allocations: 0.9908 MB / 0.5587 GB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.952e-05/0.4814, allocations: 82.69 kB / 0.5587 GB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.4814, allocations: 36.3 kB / 0.5588 GB, free: 15.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.335e-06/0.4814, allocations: 0.7812 kB / 0.5588 GB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007666/0.4822, allocations: 365.7 kB / 0.5591 GB, free: 15.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.4822, allocations: 83.02 kB / 0.5592 GB, free: 15.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.4825, allocations: 262.6 kB / 0.5594 GB, free: 15.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.4826, allocations: 34.2 kB / 0.5595 GB, free: 15.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.4827, allocations: 316.9 kB / 0.5598 GB, free: 14.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.4828, allocations: 96.86 kB / 0.5599 GB, free: 14.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-05/0.4828, allocations: 13.44 kB / 0.5599 GB, free: 14.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.4829, allocations: 342.7 kB / 0.5602 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.4832, allocations: 154 kB / 0.5604 GB, free: 14.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.4835, allocations: 262.5 kB / 0.5606 GB, free: 14.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.4838, allocations: 172.5 kB / 0.5608 GB, free: 14.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.4838, allocations: 2.406 kB / 0.5608 GB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007019/0.4845, allocations: 484.8 kB / 0.5612 GB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4845, allocations: 6.062 kB / 0.5612 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4846, allocations: 3.875 kB / 0.5612 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.4846, allocations: 7.75 kB / 0.5613 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.485, allocations: 105.4 kB / 0.5614 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.485, allocations: 14.44 kB / 0.5614 GB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.4853, allocations: 59.75 kB / 0.5614 GB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.4854, allocations: 22.62 kB / 0.5614 GB, free: 14.23 MB / 362.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.0003198/0.4857, allocations: 197.4 kB / 0.5616 GB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.4858, allocations: 24.41 kB / 0.5617 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000584/0.4864, allocations: 312.8 kB / 0.562 GB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.4864, allocations: 3.906 kB / 0.562 GB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4864, allocations: 4 kB / 0.562 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.4864, allocations: 6.734 kB / 0.562 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.4876, allocations: 0.9219 MB / 0.5629 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4876, allocations: 0 / 0.5629 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.4879, allocations: 61.75 kB / 0.5629 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4879, allocations: 3.969 kB / 0.5629 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.4879, allocations: 7.438 kB / 0.5629 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4879, allocations: 7.844 kB / 0.563 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4879, allocations: 7.938 kB / 0.563 GB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006467/0.4886, allocations: 0.5715 MB / 0.5635 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.272e-05/0.4887, allocations: 119.3 kB / 0.5636 GB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.4887, allocations: 11.25 kB / 0.5636 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.4889, allocations: 18.98 kB / 0.5637 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/0.489, allocations: 18.86 kB / 0.5637 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.489, allocations: 7.625 kB / 0.5637 GB, free: 13.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.4892, allocations: 203.9 kB / 0.5639 GB, free: 13.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4892, allocations: 0 / 0.5639 GB, free: 13.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005611/0.4898, allocations: 152.3 kB / 0.564 GB, free: 13.16 MB / 362.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.0009619/0.4907, allocations: 1.232 MB / 0.5652 GB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005681/0.4913, allocations: 326.6 kB / 0.5655 GB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4913, allocations: 0 / 0.5655 GB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.4915, allocations: 132.5 kB / 0.5657 GB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.4918, allocations: 23.34 kB / 0.5657 GB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.4955, allocations: 4.905 MB / 0.5705 GB, free: 24.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.4959, allocations: 0.8355 MB / 0.5713 GB, free: 23.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002002/0.4961, allocations: 48.08 kB / 0.5713 GB, free: 23.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.4963, allocations: 158.9 kB / 0.5715 GB, free: 23.77 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4963, allocations: 0 / 0.5715 GB, free: 23.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.5156, allocations: 6.69 MB / 0.578 GB, free: 20.92 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.5158, allocations: 208.7 kB / 0.5782 GB, free: 20.68 MB / 378.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 -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: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_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter.c:7: In file included from ./PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter_model.h:24: ./PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter_functions.h:281: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:290: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_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter.o] Error 1