Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROE.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Machines.PSSE.GENROE,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROE,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROE",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.00655/0.00655, allocations: 170.7 kB / 15.11 MB, free: 6.039 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.472/1.472, allocations: 223.2 MB / 239 MB, free: 68 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.0008831/0.0008831, allocations: 94.52 kB / 290.2 MB, free: 4.547 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5079/0.5079, allocations: 78.52 MB / 419.8 MB, free: 36.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004114, allocations: 8 kB / 499.8 MB, free: 7.02 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1505, allocations: 69.36 MB / 0.5558 GB, free: 1.668 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4553/0.6059, allocations: 106.4 MB / 0.6598 GB, free: 11.73 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.6062, allocations: 86.14 kB / 0.6598 GB, free: 11.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09779/0.704, allocations: 37.01 MB / 0.696 GB, free: 7.066 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.704, allocations: 4 kB / 0.696 GB, free: 7.062 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.927e-05/0.7041, allocations: 23.94 kB / 0.696 GB, free: 7.039 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.006658/0.7107, allocations: 2.22 MB / 0.6982 GB, free: 4.766 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.7108, allocations: 12.03 kB / 0.6982 GB, free: 4.754 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003204/0.7112, allocations: 136.8 kB / 0.6983 GB, free: 4.613 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003175/0.7143, allocations: 0.525 MB / 0.6988 GB, free: 4.086 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.7164, allocations: 0.8496 MB / 0.6997 GB, free: 3.184 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004461/0.7168, allocations: 369.2 kB / 0.7 GB, free: 2.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.717, allocations: 80 kB / 0.7001 GB, free: 2.691 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/0.7198, allocations: 1.305 MB / 0.7014 GB, free: 1.371 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.7198, allocations: 0 / 0.7014 GB, free: 1.371 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.7199, allocations: 36 kB / 0.7014 GB, free: 1.336 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.72, allocations: 23.98 kB / 0.7014 GB, free: 1.312 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/0.7225, allocations: 1.269 MB / 0.7027 GB, free: 44 kB / 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.00783/0.7304, allocations: 4.12 MB / 0.7067 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00868/0.7391, allocations: 3.255 MB / 0.7099 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.7394, allocations: 20.97 kB / 0.7099 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.7395, allocations: 43.56 kB / 0.7099 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=111): time 4.559e-06/0.7395, allocations: 1.406 kB / 0.7099 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of matching and sorting (n=111): time 0.04687/0.7864, allocations: 12.29 MB / 0.7219 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.7865, allocations: 102.1 kB / 0.722 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.7885, allocations: 0.9757 MB / 0.723 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003081/0.7888, allocations: 49.64 kB / 0.723 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.7892, allocations: 0.5216 MB / 0.7235 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004491/0.7897, allocations: 394.2 kB / 0.7239 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/0.7898, allocations: 20 kB / 0.7239 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.7899, allocations: 345.9 kB / 0.7243 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.7915, allocations: 0.7561 MB / 0.725 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.7932, allocations: 0.901 MB / 0.7259 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.7949, allocations: 0.8034 MB / 0.7267 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.7949, allocations: 4 kB / 0.7267 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005824/0.8008, allocations: 2.579 MB / 0.7292 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.8008, allocations: 8 kB / 0.7292 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.8009, allocations: 7 kB / 0.7292 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0103/0.8112, allocations: 3.046 MB / 0.7322 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000779/0.812, allocations: 135.8 kB / 0.7323 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006711/0.8187, allocations: 2.996 MB / 0.7352 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.8208, allocations: 215.8 kB / 0.7354 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.8209, allocations: 39.98 kB / 0.7355 GB, free: 13.93 MB / 0.5261 GB 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 (75): * Single equations (assignments): 74 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006285/0.8215, allocations: 239.7 kB / 0.7357 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.8218, allocations: 150.2 kB / 0.7358 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01667/0.8385, allocations: 5.662 MB / 0.7414 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/0.8386, allocations: 12 kB / 0.7414 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.8386, allocations: 4 kB / 0.7414 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.782e-05/0.8386, allocations: 7.969 kB / 0.7414 GB, free: 7.832 MB / 0.5261 GB 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 postOpt removeSimpleEquations (simulation): time 0.01998/0.8586, allocations: 7.506 MB / 0.7487 GB, free: 200 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/0.8587, allocations: 3.953 kB / 0.7487 GB, free: 196 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008455/0.8595, allocations: 111.8 kB / 0.7488 GB, free: 84 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008022/0.8676, allocations: 2.509 MB / 0.7513 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/0.8678, allocations: 20 kB / 0.7513 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02731/0.8951, allocations: 10.88 MB / 0.7619 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.8952, allocations: 4 kB / 0.7619 GB, free: 2.531 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01983/0.915, allocations: 6.857 MB / 0.7686 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008657/0.9159, allocations: 243.1 kB / 0.7689 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.9162, allocations: 16 kB / 0.7689 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.9178, allocations: 151.9 kB / 0.769 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008331/0.9186, allocations: 241 kB / 0.7692 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.593e-05/0.9187, allocations: 31.95 kB / 0.7693 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001293/0.92, allocations: 0.7686 MB / 0.77 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.41e-07/0.92, allocations: 4 kB / 0.77 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001489/0.9215, allocations: 451.5 kB / 0.7705 GB, free: 9.738 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,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 (68): * Single equations (assignments): 67 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01997/0.9415, allocations: 7.535 MB / 0.7778 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008508/0.9501, allocations: 2.636 MB / 0.7804 GB, free: 15.52 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.9501, allocations: 3.938 kB / 0.7804 GB, free: 15.52 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006439/0.9566, allocations: 2.068 MB / 0.7824 GB, free: 13.45 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.9578, allocations: 100.7 kB / 0.7825 GB, free: 13.34 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/0.9801, allocations: 12.66 MB / 0.7949 GB, free: 304 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3602/1.34, allocations: 1.165 MB / 0.796 GB, free: 152.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007629/1.341, allocations: 92.12 kB / 0.7961 GB, free: 152.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007505/1.342, allocations: 492.3 kB / 0.7966 GB, free: 152.6 MB / 0.573 GB Notification: Performance of SimCode: time 8.11e-07/1.342, allocations: 0 / 0.7966 GB, free: 152.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06301/1.405, allocations: 33.53 MB / 0.8293 GB, free: 151.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/1.405, allocations: 190.9 kB / 0.8295 GB, free: 151.2 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_OpenIPSL_Tests_Machines_PSSE_GENROE.o OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROE.c In file included from OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROE.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROE_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_OpenIPSL_Tests_Machines_PSSE_GENROE.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROE_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROE_functions.h:153: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_OpenIPSL_Tests_Machines_PSSE_GENROE.o] Error 1