Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00493/0.00493, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.4 MB / 221.3 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008521/0.000852, allocations: 98.83 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06116/0.06116, allocations: 12.2 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4299/0.4299, allocations: 78.52 MB / 459.6 MB, free: 4.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004789, allocations: 19.25 kB / 0.528 GB, free: 35.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 69.25 MB / 0.5956 GB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3982/0.5259, allocations: 112.2 MB / 0.7053 GB, free: 33.08 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.5262, allocations: 91.27 kB / 0.7054 GB, free: 33.08 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1033/0.6295, allocations: 42.06 MB / 0.7464 GB, free: 24.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6296, allocations: 0 / 0.7464 GB, free: 24.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.276e-05/0.6297, allocations: 27.12 kB / 0.7464 GB, free: 24.9 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.006577/0.6363, allocations: 2.579 MB / 0.749 GB, free: 23.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.6363, allocations: 11.7 kB / 0.749 GB, free: 23.44 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000265/0.6366, allocations: 157 kB / 0.7491 GB, free: 23.38 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/0.6396, allocations: 0.5672 MB / 0.7497 GB, free: 23.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.6417, allocations: 1.081 MB / 0.7507 GB, free: 22.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000344/0.6421, allocations: 431.4 kB / 0.7511 GB, free: 22.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.6423, allocations: 104.2 kB / 0.7512 GB, free: 22.24 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/0.6449, allocations: 1.506 MB / 0.7527 GB, free: 21.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.6449, allocations: 3.938 kB / 0.7527 GB, free: 21.83 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.6451, allocations: 43.52 kB / 0.7528 GB, free: 21.83 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.6451, allocations: 27.31 kB / 0.7528 GB, free: 21.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/0.6478, allocations: 1.469 MB / 0.7542 GB, free: 21.59 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.007609/0.6554, allocations: 4.957 MB / 0.7591 GB, free: 19.08 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008018/0.6634, allocations: 3.538 MB / 0.7625 GB, free: 17.76 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.6636, allocations: 24.3 kB / 0.7625 GB, free: 17.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001958/0.6656, allocations: 1.156 MB / 0.7637 GB, free: 17.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=126): time 2.866e-06/0.6656, allocations: 0 / 0.7637 GB, free: 17.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=126): time 0.03791/0.7035, allocations: 11.29 MB / 0.7747 GB, free: 13.53 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.7036, allocations: 142.4 kB / 0.7748 GB, free: 13.38 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003313/0.707, allocations: 1.267 MB / 0.7761 GB, free: 13.03 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003432/0.7073, allocations: 52.45 kB / 0.7761 GB, free: 12.99 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005273/0.7079, allocations: 0.635 MB / 0.7767 GB, free: 12.67 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005291/0.7084, allocations: 450.1 kB / 0.7772 GB, free: 12.29 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.7086, allocations: 25.69 kB / 0.7772 GB, free: 12.29 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.7087, allocations: 356.1 kB / 0.7775 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.7105, allocations: 0.8644 MB / 0.7784 GB, free: 11.35 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.7122, allocations: 1.024 MB / 0.7794 GB, free: 10.56 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.7138, allocations: 0.9076 MB / 0.7803 GB, free: 9.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.7138, allocations: 4 kB / 0.7803 GB, free: 9.977 MB / 474.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005244/0.719, allocations: 2.852 MB / 0.7831 GB, free: 7.926 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002273/0.7193, allocations: 1.355 MB / 0.7844 GB, free: 6.477 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.7193, allocations: 4 kB / 0.7844 GB, free: 6.473 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008531/0.7278, allocations: 3.015 MB / 0.7873 GB, free: 3.754 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008352/0.7287, allocations: 203.1 kB / 0.7875 GB, free: 3.562 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005614/0.7343, allocations: 3.008 MB / 0.7905 GB, free: 1.203 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.7364, allocations: 260.9 kB / 0.7907 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.7366, allocations: 50.66 kB / 0.7908 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.7366, allocations: 4 kB / 0.7908 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005386/0.742, allocations: 2.664 MB / 0.7934 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.742, allocations: 4 kB / 0.7934 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009466/0.7515, allocations: 3.021 MB / 0.7963 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009681/0.7524, allocations: 191.7 kB / 0.7965 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006792/0.7592, allocations: 3 MB / 0.7994 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/0.7616, allocations: 262.8 kB / 0.7997 GB, free: 8.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.7618, allocations: 47.98 kB / 0.7997 GB, free: 8.703 MB / 490.7 MB 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 (103): * Single equations (assignments): 102 * 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.000886/0.7627, allocations: 368.8 kB / 0.8001 GB, free: 8.332 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/0.763, allocations: 165.9 kB / 0.8002 GB, free: 8.168 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/0.7804, allocations: 5.89 MB / 0.806 GB, free: 2.258 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/0.7805, allocations: 12 kB / 0.806 GB, free: 2.246 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.7805, allocations: 4 kB / 0.806 GB, free: 2.242 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.025e-05/0.7806, allocations: 11.97 kB / 0.806 GB, free: 2.23 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 postOpt removeSimpleEquations (simulation): time 0.02118/0.8017, allocations: 8.004 MB / 0.8138 GB, free: 10.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/0.8018, allocations: 4 kB / 0.8138 GB, free: 10.12 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.803, allocations: 143.8 kB / 0.814 GB, free: 9.977 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007874/0.8109, allocations: 2.509 MB / 0.8164 GB, free: 7.465 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003005/0.8112, allocations: 27.98 kB / 0.8164 GB, free: 7.438 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02643/0.8376, allocations: 10.87 MB / 0.8271 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.8377, allocations: 3.984 kB / 0.8271 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02027/0.858, allocations: 7.171 MB / 0.8341 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.859, allocations: 286.6 kB / 0.8343 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003137/0.8594, allocations: 20 kB / 0.8344 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/0.8611, allocations: 199.8 kB / 0.8345 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008639/0.862, allocations: 265.4 kB / 0.8348 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.8621, allocations: 39.92 kB / 0.8348 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001838/0.864, allocations: 0.9986 MB / 0.8358 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.864, allocations: 0 / 0.8358 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002053/0.8661, allocations: 0.7606 MB / 0.8366 GB, free: 2.637 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1],sEXS.transferFunction.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 (83): * Single equations (assignments): 82 * 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.01989/0.886, allocations: 7.946 MB / 0.8443 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01377/0.8998, allocations: 4.8 MB / 0.849 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.8998, allocations: 4 kB / 0.849 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006011/0.9058, allocations: 2.183 MB / 0.8511 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.907, allocations: 138 kB / 0.8513 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007211/0.9142, allocations: 6.45 MB / 0.8576 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007927/0.9151, allocations: 1.279 MB / 0.8588 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007611/0.9158, allocations: 156.7 kB / 0.859 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007816/0.9166, allocations: 0.6047 MB / 0.8596 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of SimCode: time 1.122e-06/0.9166, allocations: 0 / 0.8596 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07399/0.9906, allocations: 43.07 MB / 0.9016 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.9909, allocations: 195.1 kB / 0.9018 GB, free: 15.69 MB / 0.5886 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_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_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_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_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_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.o] Error 1