Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.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.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 179.3 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.05/1.05, allocations: 221.4 MB / 229.3 MB, free: 3.238 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.0008125/0.0008125, allocations: 94.56 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02219/0.02219, allocations: 5.296 MB / 336.2 MB, free: 9.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.248e-06/4.338e-06, allocations: 0 / 393.8 MB, free: 71.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06483/0.06485, allocations: 51.61 MB / 445.4 MB, free: 19.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2121/0.2769, allocations: 91.49 MB / 0.5243 GB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001671/0.2772, allocations: 69.09 kB / 0.5244 GB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.3755/0.6527, allocations: 133 MB / 0.6543 GB, free: 81.13 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001671/0.6529, allocations: 85.88 kB / 0.6544 GB, free: 81.12 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1072 * Number of variables: 1072 Notification: Performance of Generate backend data structure: time 0.01032/0.6632, allocations: 3.771 MB / 0.658 GB, free: 79.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.6632, allocations: 7.875 kB / 0.658 GB, free: 79.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004476/0.6677, allocations: 0.92 MB / 0.6589 GB, free: 79.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004251/0.672, allocations: 2.737 MB / 0.6616 GB, free: 79.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.871e-05/0.6721, allocations: 123.4 kB / 0.6617 GB, free: 79.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004398/0.6725, allocations: 214.4 kB / 0.6619 GB, free: 79.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005913/0.6785, allocations: 4.651 MB / 0.6665 GB, free: 79.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007118/0.6856, allocations: 5.752 MB / 0.6721 GB, free: 78.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.436e-05/0.6857, allocations: 3.906 kB / 0.6721 GB, free: 78.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003149/0.686, allocations: 3.844 kB / 0.6721 GB, free: 78.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002052/0.6862, allocations: 303.3 kB / 0.6724 GB, free: 78.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02338/0.7096, allocations: 20.96 MB / 0.6929 GB, free: 73.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.711, allocations: 1.403 MB / 0.6942 GB, free: 72.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007922/0.7119, allocations: 0.802 MB / 0.695 GB, free: 72.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.712, allocations: 101 kB / 0.6951 GB, free: 72.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.712, allocations: 50.73 kB / 0.6952 GB, free: 72.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=93): time 3.236e-06/0.712, allocations: 0 / 0.6952 GB, free: 72.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=93): time 0.00193/0.7139, allocations: 1.462 MB / 0.6966 GB, free: 71.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.714, allocations: 89.48 kB / 0.6967 GB, free: 71.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.7153, allocations: 1.38 MB / 0.698 GB, free: 71.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.476e-05/0.7154, allocations: 25.7 kB / 0.698 GB, free: 71.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005595/0.716, allocations: 1.68 MB / 0.6997 GB, free: 69.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.7162, allocations: 331 kB / 0.7 GB, free: 69.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.7163, allocations: 1.25 kB / 0.7 GB, free: 69.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.7164, allocations: 443.8 kB / 0.7004 GB, free: 69.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.718, allocations: 1.191 MB / 0.7016 GB, free: 68.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.7196, allocations: 2.107 MB / 0.7037 GB, free: 66.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002062/0.7217, allocations: 1.65 MB / 0.7053 GB, free: 66.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.832e-05/0.7217, allocations: 14.91 kB / 0.7053 GB, free: 66.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=286) (initialization): time 0.004202/0.7259, allocations: 3.159 MB / 0.7084 GB, free: 65.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.726, allocations: 8.938 kB / 0.7084 GB, free: 65.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.234e-05/0.726, allocations: 36.22 kB / 0.7084 GB, free: 65.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.191e-05/0.7261, allocations: 53.62 kB / 0.7085 GB, free: 65.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/0.7282, allocations: 0.5614 MB / 0.709 GB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.861e-05/0.7282, allocations: 72.86 kB / 0.7091 GB, free: 65.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.7301, allocations: 300.8 kB / 0.7094 GB, free: 64.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.7303, allocations: 127.2 kB / 0.7095 GB, free: 64.89 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: converter.potentialSensor.plug_p.reference.gamma:VARIABLE(start = 0.0 unit = "rad" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 1 (converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002736/0.7306, allocations: 203.4 kB / 0.7097 GB, free: 64.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.7308, allocations: 124 kB / 0.7098 GB, free: 64.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/0.7333, allocations: 1.698 MB / 0.7115 GB, free: 64.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001683/0.735, allocations: 1.338 MB / 0.7128 GB, free: 63.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.735, allocations: 5 kB / 0.7128 GB, free: 63.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.7351, allocations: 4.938 kB / 0.7128 GB, free: 63.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00595/0.741, allocations: 4.201 MB / 0.7169 GB, free: 61.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.741, allocations: 1.406 kB / 0.7169 GB, free: 61.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009956/0.742, allocations: 208.4 kB / 0.7171 GB, free: 61.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/0.7421, allocations: 6 kB / 0.7171 GB, free: 61.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.469e-05/0.7421, allocations: 13.56 kB / 0.7171 GB, free: 61.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.7421, allocations: 8.438 kB / 0.7171 GB, free: 61.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.7422, allocations: 1.5 kB / 0.7171 GB, free: 61.65 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003404/0.7456, allocations: 2.743 MB / 0.7198 GB, free: 60.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/0.7461, allocations: 368.4 kB / 0.7201 GB, free: 59.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.7463, allocations: 4 kB / 0.7201 GB, free: 59.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008141/0.7471, allocations: 58.27 kB / 0.7202 GB, free: 59.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.7472, allocations: 55.17 kB / 0.7202 GB, free: 59.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.225e-05/0.7473, allocations: 28 kB / 0.7203 GB, free: 59.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001039/0.7483, allocations: 1.03 MB / 0.7213 GB, free: 58.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002045/0.7504, allocations: 0.8147 MB / 0.7221 GB, free: 57.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (converter.potentialSensor.plug_p.reference.gamma,converter.integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002448/0.7506, allocations: 173.2 kB / 0.7222 GB, free: 57.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00226/0.7529, allocations: 2.249 MB / 0.7244 GB, free: 55.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7529, allocations: 4.062 kB / 0.7244 GB, free: 55.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006811/0.7536, allocations: 0.7292 MB / 0.7251 GB, free: 55.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.7547, allocations: 253.4 kB / 0.7254 GB, free: 54.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007503/0.7622, allocations: 4.971 MB / 0.7302 GB, free: 50.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002453/0.7647, allocations: 3.1 MB / 0.7333 GB, free: 47.85 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.7647, allocations: 0 / 0.7333 GB, free: 47.85 MB / 442.7 MB Notification: Performance of Templates: time 0.03312/0.7978, allocations: 22.64 MB / 0.7554 GB, free: 30.15 MB / 442.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter -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.PolyphaseVoltageControlledConverter.o PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.c PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.c:132:70: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'Complex_array' (aka 'struct base_array_s') data->localData[0]->realVars[96] /* converter._powerAC variable */ = tmp4; ^ ~~~~ 1 error generated. make: *** [: PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.o] Error 1