Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",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.01055/0.01055, allocations: 171.1 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.544/1.544, allocations: 223.2 MB / 239 MB, free: 1.797 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.0009649/0.000965, allocations: 92.5 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5415/0.5415, allocations: 79.44 MB / 420.7 MB, free: 43.72 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004325, allocations: 16 kB / 0.4891 GB, free: 1.914 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5364/0.5368, allocations: 69.49 MB / 0.557 GB, free: 38.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1705/0.7074, allocations: 110.5 MB / 0.6649 GB, free: 11.04 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.7078, allocations: 88.64 kB / 0.665 GB, free: 10.96 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1142/0.822, allocations: 39.92 MB / 0.704 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.787e-06/0.8221, allocations: 0 / 0.704 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002059/0.8223, allocations: 36 kB / 0.704 GB, free: 2.793 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.009421/0.8317, allocations: 2.459 MB / 0.7064 GB, free: 280 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.8318, allocations: 12.03 kB / 0.7064 GB, free: 268 kB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005958/0.8324, allocations: 151.8 kB / 0.7066 GB, free: 108 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00427/0.8367, allocations: 0.6692 MB / 0.7072 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/0.8398, allocations: 1.023 MB / 0.7082 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000539/0.8404, allocations: 436.6 kB / 0.7087 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004426/0.8409, allocations: 95.91 kB / 0.7087 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003667/0.8445, allocations: 1.455 MB / 0.7102 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.8446, allocations: 0 / 0.7102 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/0.8448, allocations: 36 kB / 0.7102 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.8448, allocations: 24 kB / 0.7102 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003549/0.8484, allocations: 1.405 MB / 0.7116 GB, free: 10.83 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.01159/0.86, allocations: 4.839 MB / 0.7163 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009471/0.8695, allocations: 3.425 MB / 0.7197 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/0.8698, allocations: 16.98 kB / 0.7197 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002799/0.8726, allocations: 1.125 MB / 0.7208 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=122): time 4.128e-06/0.8726, allocations: 0 / 0.7208 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122): time 0.04839/0.921, allocations: 12.48 MB / 0.733 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/0.9211, allocations: 115.8 kB / 0.7331 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/0.9242, allocations: 1.227 MB / 0.7343 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003551/0.9246, allocations: 45.7 kB / 0.7343 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006181/0.9252, allocations: 0.6163 MB / 0.7349 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007718/0.926, allocations: 429.7 kB / 0.7353 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.9262, allocations: 24 kB / 0.7354 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.9264, allocations: 353.9 kB / 0.7357 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00206/0.9285, allocations: 0.8303 MB / 0.7365 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/0.9306, allocations: 0.9949 MB / 0.7375 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/0.9328, allocations: 0.8849 MB / 0.7383 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/0.9328, allocations: 0 / 0.7383 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.006632/0.9394, allocations: 2.84 MB / 0.7411 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.9395, allocations: 4.625 kB / 0.7411 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.9395, allocations: 4 kB / 0.7411 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01033/0.9498, allocations: 3.239 MB / 0.7443 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008479/0.9507, allocations: 159.8 kB / 0.7444 GB, free: 8.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008447/0.9592, allocations: 3.166 MB / 0.7475 GB, free: 5.465 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/0.9621, allocations: 258.8 kB / 0.7478 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003314/0.9625, allocations: 43.98 kB / 0.7478 GB, free: 5.168 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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 {33 32} Notification: Performance of prepare postOptimizeDAE: time 0.001259/0.9637, allocations: 273.6 kB / 0.7481 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007166/0.9645, allocations: 162 kB / 0.7482 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01876/0.9832, allocations: 5.87 MB / 0.754 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.9833, allocations: 16 kB / 0.754 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.9833, allocations: 4 kB / 0.754 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/0.9833, allocations: 11.95 kB / 0.754 GB, free: 14.81 MB / 0.5573 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.02211/1.005, allocations: 7.853 MB / 0.7617 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/1.006, allocations: 4 kB / 0.7617 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009892/1.007, allocations: 135.8 kB / 0.7618 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008331/1.015, allocations: 2.505 MB / 0.7642 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003507/1.015, allocations: 24 kB / 0.7643 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4446/1.46, allocations: 10.87 MB / 0.7749 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.46, allocations: 1.094 kB / 0.7749 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01985/1.48, allocations: 7.035 MB / 0.7818 GB, free: 138.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009198/1.481, allocations: 279.2 kB / 0.782 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/1.481, allocations: 30.98 kB / 0.782 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/1.483, allocations: 175.6 kB / 0.7822 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009478/1.484, allocations: 257.1 kB / 0.7825 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.484, allocations: 38.42 kB / 0.7825 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001659/1.486, allocations: 0.9597 MB / 0.7834 GB, free: 138.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.1e-07/1.486, allocations: 0 / 0.7834 GB, free: 138.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00177/1.487, allocations: 497.1 kB / 0.7839 GB, free: 138 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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.01937/1.507, allocations: 7.797 MB / 0.7915 GB, free: 136.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009044/1.516, allocations: 2.833 MB / 0.7943 GB, free: 136.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.516, allocations: 0 / 0.7943 GB, free: 136.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006941/1.523, allocations: 2.151 MB / 0.7964 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/1.524, allocations: 113.9 kB / 0.7965 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007589/1.532, allocations: 6.295 MB / 0.8026 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007761/1.533, allocations: 1.241 MB / 0.8039 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006409/1.533, allocations: 122.9 kB / 0.804 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007231/1.534, allocations: 0.5756 MB / 0.8045 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.643e-06/1.534, allocations: 0 / 0.8045 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0758/1.61, allocations: 37.04 MB / 0.8407 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/1.61, allocations: 190.3 kB / 0.8409 GB, free: 129.1 MB / 0.5573 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_Controls_PSSE_ES_SEXS.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_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_Controls_PSSE_ES_SEXS.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_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_Controls_PSSE_ES_SEXS.o] Error 1