Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.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.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL",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.008399/0.008399, allocations: 172 kB / 15.11 MB, free: 5.98 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.376/1.376, allocations: 223.2 MB / 239 MB, free: 76 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.0009993/0.0009997, allocations: 102.2 kB / 290.2 MB, free: 4.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4887/0.4887, allocations: 79.43 MB / 420.7 MB, free: 36.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004004, allocations: 8 kB / 0.4891 GB, free: 6.305 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1709, allocations: 69.52 MB / 0.557 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4366/0.6076, allocations: 105.9 MB / 0.6605 GB, free: 11.27 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.608, allocations: 80.47 kB / 0.6606 GB, free: 11.19 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09532/0.7033, allocations: 34.12 MB / 0.6939 GB, free: 9.062 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.7033, allocations: 3.938 kB / 0.6939 GB, free: 9.059 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001234/0.7035, allocations: 20 kB / 0.6939 GB, free: 9.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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.007368/0.7109, allocations: 2.126 MB / 0.696 GB, free: 6.859 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.7109, allocations: 12.03 kB / 0.696 GB, free: 6.848 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004742/0.7114, allocations: 130.9 kB / 0.6961 GB, free: 6.711 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004645/0.7161, allocations: 0.7318 MB / 0.6968 GB, free: 5.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.7185, allocations: 0.8569 MB / 0.6977 GB, free: 5.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004786/0.719, allocations: 361.2 kB / 0.698 GB, free: 4.664 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003572/0.7194, allocations: 83.91 kB / 0.6981 GB, free: 4.582 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/0.7225, allocations: 1.278 MB / 0.6993 GB, free: 3.289 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.7226, allocations: 1.125 kB / 0.6993 GB, free: 3.289 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.7227, allocations: 36 kB / 0.6994 GB, free: 3.254 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.7227, allocations: 20 kB / 0.6994 GB, free: 3.234 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/0.7257, allocations: 1.241 MB / 0.7006 GB, free: 1.992 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.009892/0.7356, allocations: 4.117 MB / 0.7046 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008639/0.7442, allocations: 3.198 MB / 0.7077 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002956/0.7446, allocations: 24.92 kB / 0.7078 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.7446, allocations: 43.56 kB / 0.7078 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=107): time 4.368e-06/0.7447, allocations: 4 kB / 0.7078 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=107): time 0.04267/0.7873, allocations: 11.22 MB / 0.7188 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.7875, allocations: 98.03 kB / 0.7189 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.79, allocations: 0.9857 MB / 0.7198 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003735/0.7904, allocations: 43.11 kB / 0.7199 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/0.791, allocations: 0.5252 MB / 0.7204 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008287/0.7918, allocations: 374.5 kB / 0.7207 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.792, allocations: 20 kB / 0.7208 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002309/0.7922, allocations: 353.9 kB / 0.7211 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/0.794, allocations: 0.732 MB / 0.7218 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.7959, allocations: 0.8783 MB / 0.7227 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.7978, allocations: 0.7839 MB / 0.7234 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.7978, allocations: 0 / 0.7234 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00626/0.8041, allocations: 2.528 MB / 0.7259 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.8042, allocations: 8 kB / 0.7259 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.8042, allocations: 4 kB / 0.7259 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008985/0.8132, allocations: 2.732 MB / 0.7286 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006992/0.8139, allocations: 127.8 kB / 0.7287 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006739/0.8207, allocations: 2.915 MB / 0.7316 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/0.8227, allocations: 206 kB / 0.7317 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/0.8229, allocations: 35.98 kB / 0.7318 GB, free: 1.555 MB / 0.5105 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 (73): * Single equations (assignments): 72 * 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 {28 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007711/0.8237, allocations: 242.2 kB / 0.732 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005784/0.8243, allocations: 134.4 kB / 0.7321 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01716/0.8415, allocations: 5.676 MB / 0.7377 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.8415, allocations: 15.98 kB / 0.7377 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.8416, allocations: 4 kB / 0.7377 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.945e-05/0.8416, allocations: 3.984 kB / 0.7377 GB, free: 11.45 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.02123/0.8628, allocations: 7.459 MB / 0.745 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.8629, allocations: 4 kB / 0.745 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007552/0.8637, allocations: 103.8 kB / 0.7451 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008058/0.8718, allocations: 2.509 MB / 0.7475 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003076/0.8721, allocations: 16 kB / 0.7476 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02806/0.9002, allocations: 10.89 MB / 0.7582 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.9002, allocations: 0 / 0.7582 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01993/0.9201, allocations: 6.806 MB / 0.7648 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009135/0.9211, allocations: 247.2 kB / 0.7651 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006787/0.9218, allocations: 19.94 kB / 0.7651 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/0.9237, allocations: 151.9 kB / 0.7652 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009249/0.9247, allocations: 237 kB / 0.7655 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/0.9249, allocations: 28 kB / 0.7655 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001579/0.9265, allocations: 0.7794 MB / 0.7663 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/0.9265, allocations: 0 / 0.7663 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001998/0.9285, allocations: 435.5 kB / 0.7667 GB, free: 13.46 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,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 (64): * Single equations (assignments): 63 * 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.02029/0.9488, allocations: 7.494 MB / 0.774 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008426/0.9573, allocations: 2.566 MB / 0.7765 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.9573, allocations: 0 / 0.7765 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006532/0.9639, allocations: 2.054 MB / 0.7785 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.9654, allocations: 109 kB / 0.7786 GB, free: 1.184 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02285/0.9883, allocations: 12.32 MB / 0.7906 GB, free: 4.48 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009667/0.9893, allocations: 1.144 MB / 0.7918 GB, free: 3.312 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005924/0.9899, allocations: 94.83 kB / 0.7918 GB, free: 3.219 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008777/0.9908, allocations: 480.1 kB / 0.7923 GB, free: 2.75 MB / 0.573 GB Notification: Performance of SimCode: time 5.81e-07/0.9908, allocations: 0 / 0.7923 GB, free: 2.75 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2949/1.286, allocations: 32.77 MB / 0.8243 GB, free: 151.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/1.286, allocations: 189.5 kB / 0.8245 GB, free: 151.1 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_Machines_PSSE_GENSAL.o OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL_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_Machines_PSSE_GENSAL.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL_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_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL.o] Error 1