Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPVTest.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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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(OpenIPSL.Tests.Solar.PSAT.SolarPVTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Solar.PSAT.SolarPVTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest",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.006122/0.006122, allocations: 172 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.364/1.364, allocations: 223.2 MB / 239 MB, free: 84 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000887/0.0008869, allocations: 98.09 kB / 290.2 MB, free: 4.512 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4965/0.4965, allocations: 79.43 MB / 420.7 MB, free: 36.35 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 8 kB / 0.4891 GB, free: 6.254 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1366, allocations: 69.51 MB / 0.557 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5191/0.6558, allocations: 99.53 MB / 0.6542 GB, free: 1.641 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.6561, allocations: 79.95 kB / 0.6543 GB, free: 1.562 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09005/0.7461, allocations: 25.5 MB / 0.6792 GB, free: 8.129 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.7462, allocations: 0 / 0.6792 GB, free: 8.129 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001242/0.7463, allocations: 24 kB / 0.6792 GB, free: 8.105 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.008822/0.7552, allocations: 1.838 MB / 0.681 GB, free: 6.215 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.7552, allocations: 12.03 kB / 0.681 GB, free: 6.203 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005742/0.7558, allocations: 125 kB / 0.6811 GB, free: 6.074 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/0.7607, allocations: 497.9 kB / 0.6816 GB, free: 5.586 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003422/0.7642, allocations: 0.6861 MB / 0.6823 GB, free: 4.859 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007639/0.765, allocations: 353.3 kB / 0.6826 GB, free: 4.457 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005118/0.7655, allocations: 75.95 kB / 0.6827 GB, free: 4.383 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004642/0.7702, allocations: 1.2 MB / 0.6839 GB, free: 3.172 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.7702, allocations: 0 / 0.6839 GB, free: 3.172 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.7704, allocations: 28 kB / 0.6839 GB, free: 3.145 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.7705, allocations: 16 kB / 0.6839 GB, free: 3.129 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003971/0.7744, allocations: 1.159 MB / 0.685 GB, free: 1.965 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.786, allocations: 3.79 MB / 0.6887 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/0.7983, allocations: 3.055 MB / 0.6917 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/0.7986, allocations: 9 kB / 0.6917 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.621e-05/0.7987, allocations: 51.52 kB / 0.6918 GB, free: 10.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 5.761e-06/0.7987, allocations: 3.938 kB / 0.6918 GB, free: 10.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.05512/0.8538, allocations: 10.11 MB / 0.7017 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.854, allocations: 94.11 kB / 0.7017 GB, free: 468 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.8557, allocations: 0.7172 MB / 0.7024 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002838/0.856, allocations: 45.64 kB / 0.7025 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000501/0.8565, allocations: 460.5 kB / 0.7029 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005437/0.8571, allocations: 327.2 kB / 0.7032 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.8572, allocations: 16 kB / 0.7033 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.8574, allocations: 339.6 kB / 0.7036 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002449/0.8599, allocations: 0.6891 MB / 0.7042 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/0.8625, allocations: 0.8206 MB / 0.7051 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/0.8649, allocations: 0.7437 MB / 0.7058 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.8649, allocations: 4 kB / 0.7058 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.02444/0.8894, allocations: 5.281 MB / 0.7109 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.8895, allocations: 8 kB / 0.7109 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.8895, allocations: 3.938 kB / 0.7109 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01224/0.9017, allocations: 2.417 MB / 0.7133 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009876/0.9028, allocations: 115.8 kB / 0.7134 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.045/0.9478, allocations: 11.59 MB / 0.7247 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/0.9501, allocations: 195.2 kB / 0.7249 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.9503, allocations: 32.55 kB / 0.725 GB, free: 8.441 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: SPV.iq:VARIABLE(start = SPV.iqref unit = "1" fixed = true ) "q-axis current" type: Real SPV.id:VARIABLE(start = SPV.idref unit = "1" fixed = true ) "d-axis current" type: Real SPV.x:VARIABLE(start = SPV.Q_0 * SPV.CoB unit = "1" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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 {26 15} Notification: Performance of prepare postOptimizeDAE: time 0.0008339/0.9511, allocations: 247 kB / 0.7252 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/0.9515, allocations: 106.7 kB / 0.7253 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02286/0.9744, allocations: 5.323 MB / 0.7305 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/0.9744, allocations: 8 kB / 0.7305 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9745, allocations: 0 / 0.7305 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.75e-05/0.9745, allocations: 11.97 kB / 0.7305 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02812/1.003, allocations: 6.803 MB / 0.7372 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/1.003, allocations: 0 / 0.7372 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009097/1.004, allocations: 91.84 kB / 0.7372 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01125/1.015, allocations: 2.323 MB / 0.7395 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002784/1.015, allocations: 20.61 kB / 0.7395 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02855/1.044, allocations: 10.25 MB / 0.7495 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.044, allocations: 0 / 0.7495 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01912/1.063, allocations: 6.397 MB / 0.7558 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006683/1.064, allocations: 207.5 kB / 0.756 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004238/1.064, allocations: 19.98 kB / 0.756 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.066, allocations: 139.9 kB / 0.7561 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008257/1.067, allocations: 230.6 kB / 0.7564 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/1.067, allocations: 20 kB / 0.7564 GB, free: 7.934 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001101/1.068, allocations: 0.5741 MB / 0.7569 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.3e-07/1.068, allocations: 0 / 0.7569 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001813/1.07, allocations: 435.5 kB / 0.7574 GB, free: 6.922 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,SPV.x,SPV.id,SPV.iq,gENCLS.omega) * 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 (56): * Single equations (assignments): 55 * 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 {26 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01851/1.088, allocations: 7.057 MB / 0.7643 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008482/1.097, allocations: 2.72 MB / 0.7669 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.097, allocations: 0 / 0.7669 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00627/1.103, allocations: 1.942 MB / 0.7688 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/1.104, allocations: 89.12 kB / 0.7689 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02984/1.134, allocations: 13.6 MB / 0.7822 GB, free: 13.12 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009236/1.135, allocations: 1.088 MB / 0.7832 GB, free: 12 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000475/1.135, allocations: 65.48 kB / 0.7833 GB, free: 11.94 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007239/1.136, allocations: 403.3 kB / 0.7837 GB, free: 11.54 MB / 0.573 GB Notification: Performance of SimCode: time 8.01e-07/1.136, allocations: 4 kB / 0.7837 GB, free: 11.54 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3075/1.444, allocations: 31.81 MB / 0.8147 GB, free: 157.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001434/1.444, allocations: 183.7 kB / 0.8149 GB, free: 157.3 MB / 0.573 GB 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 OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest.o OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest_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 OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest_functions.h:137:1: error: unknown type name 'OpenIPSL_Types_ComplexPower' OpenIPSL_Types_ComplexPower omc_OpenIPSL_Types_ComplexPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 1 error generated. make: *** [: OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPVTest.o] Error 1