Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.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.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.004867/0.004867, allocations: 169.6 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.309/1.309, allocations: 223.2 MB / 239 MB, free: 1.777 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.0009292/0.0009289, allocations: 97.33 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4521/0.4521, allocations: 78.52 MB / 419.8 MB, free: 44.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003754, allocations: 16 kB / 499.8 MB, free: 2.598 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.415, allocations: 69.35 MB / 0.5558 GB, free: 38.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.5677, allocations: 110.8 MB / 0.664 GB, free: 11.53 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.568, allocations: 93.38 kB / 0.6641 GB, free: 11.44 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1156/0.6836, allocations: 43.13 MB / 0.7062 GB, free: 92 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6837, allocations: 0 / 0.7062 GB, free: 92 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.451e-05/0.6838, allocations: 28 kB / 0.7062 GB, free: 64 kB / 0.4948 GB 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.007103/0.6909, allocations: 2.561 MB / 0.7087 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.6909, allocations: 16.03 kB / 0.7087 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002651/0.6912, allocations: 156 kB / 0.7089 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00294/0.6941, allocations: 0.552 MB / 0.7094 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002162/0.6963, allocations: 1.081 MB / 0.7105 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000493/0.6968, allocations: 432.6 kB / 0.7109 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.697, allocations: 107.8 kB / 0.711 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/0.7, allocations: 1.511 MB / 0.7125 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.7, allocations: 0 / 0.7125 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.7001, allocations: 43.94 kB / 0.7125 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.7002, allocations: 20 kB / 0.7125 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003088/0.7033, allocations: 1.472 MB / 0.714 GB, free: 7.914 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.008908/0.7122, allocations: 4.952 MB / 0.7188 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008903/0.7211, allocations: 3.544 MB / 0.7223 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.7213, allocations: 16.98 kB / 0.7223 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002232/0.7235, allocations: 1.155 MB / 0.7234 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=126): time 3.586e-06/0.7235, allocations: 0 / 0.7234 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=126): time 0.04051/0.764, allocations: 11.29 MB / 0.7344 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.937e-05/0.7642, allocations: 145.6 kB / 0.7346 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/0.7666, allocations: 1.27 MB / 0.7358 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004131/0.7671, allocations: 45.7 kB / 0.7358 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/0.7676, allocations: 0.6402 MB / 0.7365 GB, free: 408 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005087/0.7681, allocations: 457.6 kB / 0.7369 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.7682, allocations: 24 kB / 0.7369 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.7684, allocations: 349.9 kB / 0.7373 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.7702, allocations: 0.8576 MB / 0.7381 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.7721, allocations: 1.027 MB / 0.7391 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/0.7739, allocations: 0.9084 MB / 0.74 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.7739, allocations: 3.938 kB / 0.74 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00579/0.7797, allocations: 2.864 MB / 0.7428 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000497/0.7802, allocations: 1.354 MB / 0.7441 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.7802, allocations: 4 kB / 0.7441 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009201/0.7895, allocations: 3.019 MB / 0.7471 GB, free: 5.348 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009189/0.7904, allocations: 207.7 kB / 0.7473 GB, free: 5.145 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006359/0.7968, allocations: 2.999 MB / 0.7502 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.799, allocations: 274.7 kB / 0.7505 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.7991, allocations: 43.98 kB / 0.7505 GB, free: 1.809 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.7992, allocations: 4 kB / 0.7505 GB, free: 1.805 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005408/0.8046, allocations: 2.657 MB / 0.7531 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.8046, allocations: 4 kB / 0.7531 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009163/0.8138, allocations: 3.015 MB / 0.756 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008541/0.8146, allocations: 195.7 kB / 0.7562 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006203/0.8208, allocations: 3 MB / 0.7592 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/0.823, allocations: 258.9 kB / 0.7594 GB, free: 8.648 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.8232, allocations: 51.91 kB / 0.7595 GB, free: 8.598 MB / 0.5573 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 (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.0008178/0.824, allocations: 364.9 kB / 0.7598 GB, free: 8.23 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.8243, allocations: 173.9 kB / 0.76 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/0.8407, allocations: 5.89 MB / 0.7657 GB, free: 2.152 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.8408, allocations: 12 kB / 0.7657 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.8408, allocations: 0 / 0.7657 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.843e-05/0.8408, allocations: 3.984 kB / 0.7657 GB, free: 2.137 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.366/1.207, allocations: 8.011 MB / 0.7736 GB, free: 136 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/1.207, allocations: 1.438 kB / 0.7736 GB, free: 136 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/1.208, allocations: 148.8 kB / 0.7737 GB, free: 136 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007321/1.216, allocations: 2.5 MB / 0.7761 GB, free: 136 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000297/1.216, allocations: 30.67 kB / 0.7762 GB, free: 136 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02425/1.24, allocations: 10.87 MB / 0.7868 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.24, allocations: 2.625 kB / 0.7868 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/1.259, allocations: 7.166 MB / 0.7938 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009254/1.26, allocations: 289 kB / 0.7941 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/1.26, allocations: 31.55 kB / 0.7941 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/1.262, allocations: 201 kB / 0.7943 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008925/1.263, allocations: 263.8 kB / 0.7945 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.263, allocations: 31.44 kB / 0.7946 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001852/1.265, allocations: 1.008 MB / 0.7955 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/1.265, allocations: 0 / 0.7955 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002292/1.267, allocations: 0.7543 MB / 0.7963 GB, free: 133.7 MB / 0.5573 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.02033/1.288, allocations: 7.929 MB / 0.804 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01606/1.304, allocations: 4.805 MB / 0.8087 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.304, allocations: 1.375 kB / 0.8087 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007038/1.311, allocations: 2.185 MB / 0.8109 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/1.313, allocations: 139.1 kB / 0.811 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/1.323, allocations: 6.454 MB / 0.8173 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/1.325, allocations: 1.278 MB / 0.8185 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009835/1.326, allocations: 153.3 kB / 0.8187 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.327, allocations: 0.6055 MB / 0.8193 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.212e-06/1.327, allocations: 0 / 0.8193 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07778/1.404, allocations: 43.03 MB / 0.8613 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/1.405, allocations: 195.6 kB / 0.8615 GB, free: 111.2 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_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.o OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.c:7: In file included from ./OpenIPSL_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_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_model.h:24: ./OpenIPSL_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_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.o] Error 1