Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_dev_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.006538/0.006538, allocations: 173.2 kB / 15.12 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.399/1.399, allocations: 223.2 MB / 239 MB, free: 24 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.0009337/0.0009332, allocations: 99.05 kB / 290.2 MB, free: 4.543 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5381/0.5381, allocations: 79.44 MB / 420.8 MB, free: 36.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005385/0.0005385, allocations: 8 kB / 0.4891 GB, free: 6.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1707, allocations: 69.5 MB / 0.557 GB, free: 0.668 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4649/0.6356, allocations: 111.4 MB / 0.6658 GB, free: 5.703 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000386/0.6361, allocations: 91.94 kB / 0.6659 GB, free: 5.613 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.123/0.7592, allocations: 41.56 MB / 0.7065 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.955e-06/0.7592, allocations: 4 kB / 0.7065 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002061/0.7594, allocations: 27.94 kB / 0.7065 GB, free: 12.02 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.009471/0.7689, allocations: 2.582 MB / 0.7091 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.258e-05/0.769, allocations: 8.031 kB / 0.7091 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008161/0.7698, allocations: 152 kB / 0.7092 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004634/0.7745, allocations: 0.6807 MB / 0.7099 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003992/0.7785, allocations: 1.112 MB / 0.711 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006536/0.7792, allocations: 440.6 kB / 0.7114 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005414/0.7798, allocations: 99.91 kB / 0.7115 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004205/0.784, allocations: 1.514 MB / 0.713 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.784, allocations: 0 / 0.713 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.7842, allocations: 40 kB / 0.713 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.7843, allocations: 24 kB / 0.713 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003637/0.7879, allocations: 1.468 MB / 0.7145 GB, free: 3.699 MB / 0.4948 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.01201/0.7999, allocations: 5.003 MB / 0.7193 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009439/0.8094, allocations: 3.532 MB / 0.7228 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.8097, allocations: 30.8 kB / 0.7228 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002928/0.8126, allocations: 1.155 MB / 0.7239 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=126): time 8.025e-06/0.8127, allocations: 0 / 0.7239 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126): time 0.04298/0.8557, allocations: 11.29 MB / 0.735 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.8559, allocations: 141.5 kB / 0.7351 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004608/0.8606, allocations: 1.313 MB / 0.7364 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005814/0.8612, allocations: 45.7 kB / 0.7364 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008535/0.8621, allocations: 0.6519 MB / 0.7371 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001132/0.8632, allocations: 449.4 kB / 0.7375 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/0.8635, allocations: 24 kB / 0.7375 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002429/0.8637, allocations: 357.9 kB / 0.7379 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002299/0.866, allocations: 0.8576 MB / 0.7387 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/0.8685, allocations: 1.023 MB / 0.7397 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/0.8707, allocations: 0.9084 MB / 0.7406 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-06/0.8707, allocations: 0 / 0.7406 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007097/0.8779, allocations: 2.868 MB / 0.7434 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006299/0.8785, allocations: 1.357 MB / 0.7447 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.8785, allocations: 0 / 0.7447 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009975/0.8885, allocations: 3.019 MB / 0.7477 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.8898, allocations: 195.7 kB / 0.7478 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00715/0.897, allocations: 3.017 MB / 0.7508 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.8999, allocations: 274.7 kB / 0.7511 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/0.9002, allocations: 47.98 kB / 0.7511 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.9002, allocations: 4 kB / 0.7511 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006491/0.9067, allocations: 2.653 MB / 0.7537 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.9068, allocations: 4 kB / 0.7537 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/0.9172, allocations: 3.019 MB / 0.7566 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.9187, allocations: 195.7 kB / 0.7568 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007999/0.9267, allocations: 3.002 MB / 0.7598 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.9298, allocations: 258.9 kB / 0.76 GB, free: 4.324 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003678/0.9302, allocations: 51.97 kB / 0.7601 GB, free: 4.273 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 (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.001612/0.9319, allocations: 360.9 kB / 0.7604 GB, free: 3.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/0.9331, allocations: 165.9 kB / 0.7606 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01856/0.9516, allocations: 5.893 MB / 0.7663 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/0.9517, allocations: 15.94 kB / 0.7663 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/0.9518, allocations: 4 kB / 0.7663 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.304e-05/0.9518, allocations: 3.984 kB / 0.7663 GB, free: 13.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.02304/0.9749, allocations: 8.031 MB / 0.7742 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/0.9749, allocations: 3.938 kB / 0.7742 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.9761, allocations: 155.8 kB / 0.7743 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008069/0.9842, allocations: 2.501 MB / 0.7768 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004306/0.9847, allocations: 31.98 kB / 0.7768 GB, free: 2.949 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02801/1.013, allocations: 10.87 MB / 0.7874 GB, free: 7.941 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/1.013, allocations: 5.172 kB / 0.7874 GB, free: 7.938 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02209/1.035, allocations: 7.167 MB / 0.7944 GB, free: 0.7227 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/1.036, allocations: 286.7 kB / 0.7947 GB, free: 432 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009412/1.037, allocations: 35.94 kB / 0.7947 GB, free: 396 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002481/1.04, allocations: 207.8 kB / 0.7949 GB, free: 188 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3947/1.434, allocations: 254.4 kB / 0.7952 GB, free: 145.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004659/1.435, allocations: 30.09 kB / 0.7952 GB, free: 145.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002472/1.437, allocations: 1.039 MB / 0.7962 GB, free: 145 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.3e-07/1.437, allocations: 0.9375 kB / 0.7962 GB, free: 145 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003136/1.441, allocations: 0.761 MB / 0.797 GB, free: 145 MB / 0.573 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.02192/1.463, allocations: 7.938 MB / 0.8047 GB, free: 144.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0163/1.479, allocations: 4.798 MB / 0.8094 GB, free: 144.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/1.479, allocations: 1.625 kB / 0.8094 GB, free: 144.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006882/1.486, allocations: 2.185 MB / 0.8115 GB, free: 143.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/1.487, allocations: 136.2 kB / 0.8117 GB, free: 143.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008001/1.495, allocations: 6.499 MB / 0.818 GB, free: 139.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009266/1.496, allocations: 1.275 MB / 0.8193 GB, free: 138.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000909/1.497, allocations: 152.9 kB / 0.8194 GB, free: 138.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009716/1.498, allocations: 0.6066 MB / 0.82 GB, free: 138.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.002e-06/1.498, allocations: 0 / 0.82 GB, free: 138.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09172/1.59, allocations: 43.44 MB / 0.8624 GB, free: 136.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/1.59, allocations: 195.2 kB / 0.8626 GB, free: 136.5 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_Controls_CGMES_ES_ExcSEXS.o OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.c:7: In file included from ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.o] Error 1