Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.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.SolarPQTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Solar.PSAT.SolarPQTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest",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.008383/0.008383, allocations: 170.8 kB / 15.11 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.433/1.433, allocations: 223.2 MB / 239 MB, free: 72 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.0008623/0.0008624, allocations: 100.1 kB / 290.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4746/0.4746, allocations: 79.43 MB / 420.7 MB, free: 36.28 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005208/0.0005208, allocations: 8 kB / 0.4891 GB, free: 6.242 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1911, allocations: 69.51 MB / 0.557 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.427/0.6181, allocations: 99.45 MB / 0.6541 GB, free: 1.719 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.6183, allocations: 81.66 kB / 0.6542 GB, free: 1.641 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08057/0.6989, allocations: 29.12 MB / 0.6826 GB, free: 4.539 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.699, allocations: 4 kB / 0.6826 GB, free: 4.535 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001001/0.6991, allocations: 16 kB / 0.6827 GB, free: 4.52 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006208/0.7053, allocations: 1.833 MB / 0.6845 GB, free: 2.637 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.7054, allocations: 8.031 kB / 0.6845 GB, free: 2.629 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003736/0.7057, allocations: 124.5 kB / 0.6846 GB, free: 2.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/0.7087, allocations: 494 kB / 0.6851 GB, free: 2.016 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.7103, allocations: 0.6744 MB / 0.6857 GB, free: 1.297 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004109/0.7107, allocations: 357.2 kB / 0.6861 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/0.711, allocations: 75.91 kB / 0.6861 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/0.7136, allocations: 1.192 MB / 0.6873 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.7137, allocations: 0 / 0.6873 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.7138, allocations: 28 kB / 0.6873 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.7138, allocations: 16 kB / 0.6873 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002599/0.7164, allocations: 1.152 MB / 0.6885 GB, free: 14.41 MB / 490.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.007602/0.724, allocations: 3.76 MB / 0.6921 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008282/0.7323, allocations: 3.051 MB / 0.6951 GB, free: 7.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.7325, allocations: 16.98 kB / 0.6951 GB, free: 7.254 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/0.7326, allocations: 47.52 kB / 0.6952 GB, free: 7.199 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.106e-06/0.7326, allocations: 0 / 0.6952 GB, free: 7.199 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.03412/0.7667, allocations: 9.359 MB / 0.7043 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.7668, allocations: 90.09 kB / 0.7044 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.7683, allocations: 0.7169 MB / 0.7051 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.7686, allocations: 39.48 kB / 0.7051 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.769, allocations: 452.5 kB / 0.7056 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005585/0.7695, allocations: 331.2 kB / 0.7059 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.7697, allocations: 12 kB / 0.7059 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.7698, allocations: 342 kB / 0.7062 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.7714, allocations: 0.6813 MB / 0.7069 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.7732, allocations: 0.8206 MB / 0.7077 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.7749, allocations: 0.7311 MB / 0.7084 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.7749, allocations: 0 / 0.7084 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0163/0.7912, allocations: 5.289 MB / 0.7136 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.7913, allocations: 8 kB / 0.7136 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.7913, allocations: 7.438 kB / 0.7136 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007656/0.7989, allocations: 2.42 MB / 0.7159 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.7996, allocations: 111.8 kB / 0.716 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02861/0.8282, allocations: 11.61 MB / 0.7274 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.8299, allocations: 195.1 kB / 0.7276 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.822e-05/0.83, allocations: 35.98 kB / 0.7276 GB, free: 5.688 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: SPQ.iq:VARIABLE(start = SPQ.iqref unit = "1" fixed = true ) "q-axis current" type: Real SPQ.id:VARIABLE(start = SPQ.idref unit = "1" fixed = true ) "d-axis current" 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 (67): * Single equations (assignments): 66 * 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.0005785/0.8305, allocations: 229.7 kB / 0.7278 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.8308, allocations: 106.7 kB / 0.7279 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01556/0.8464, allocations: 5.265 MB / 0.7331 GB, free: 72 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/0.8464, allocations: 8 kB / 0.7331 GB, free: 64 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8464, allocations: 4 kB / 0.7331 GB, free: 60 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/0.8465, allocations: 7.969 kB / 0.7331 GB, free: 52 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/0.8645, allocations: 6.791 MB / 0.7397 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.8646, allocations: 0 / 0.7397 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.8652, allocations: 79.91 kB / 0.7398 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007147/0.8724, allocations: 2.331 MB / 0.7421 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.8726, allocations: 16 kB / 0.7421 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02517/0.8978, allocations: 10.26 MB / 0.7521 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8978, allocations: 0 / 0.7521 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/0.9154, allocations: 6.376 MB / 0.7583 GB, free: 5.906 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005283/0.916, allocations: 199.6 kB / 0.7585 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.9162, allocations: 20.88 kB / 0.7585 GB, free: 5.672 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.9174, allocations: 143.9 kB / 0.7587 GB, free: 5.531 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007453/0.9181, allocations: 220.6 kB / 0.7589 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.692e-05/0.9182, allocations: 24 kB / 0.7589 GB, free: 5.293 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008047/0.919, allocations: 0.57 MB / 0.7595 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.919, allocations: 0 / 0.7595 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001276/0.9203, allocations: 427.5 kB / 0.7599 GB, free: 4.293 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (gENCLS.delta,gENCLS.eq,SPQ.id,SPQ.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 (54): * Single equations (assignments): 53 * 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.01808/0.9384, allocations: 7.025 MB / 0.7667 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007732/0.9462, allocations: 2.702 MB / 0.7694 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.9462, allocations: 8 kB / 0.7694 GB, free: 10.51 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005959/0.9522, allocations: 1.933 MB / 0.7713 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008197/0.953, allocations: 80.27 kB / 0.7713 GB, free: 8.488 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02742/0.9805, allocations: 13.46 MB / 0.7845 GB, free: 10.68 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007999/0.9813, allocations: 1.082 MB / 0.7856 GB, free: 9.578 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003796/0.9817, allocations: 65.45 kB / 0.7856 GB, free: 9.512 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005288/0.9822, allocations: 391.3 kB / 0.786 GB, free: 9.129 MB / 0.573 GB Notification: Performance of SimCode: time 1.192e-06/0.9823, allocations: 0 / 0.786 GB, free: 9.129 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3133/1.296, allocations: 31.53 MB / 0.8168 GB, free: 154.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004224/1.296, allocations: 187.6 kB / 0.817 GB, free: 154 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_SolarPQTest.o OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest_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_SolarPQTest.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest_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_SolarPQTest.o] Error 1