Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",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.01023/0.01023, allocations: 170.8 kB / 15.11 MB, free: 5.969 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.522/1.522, allocations: 223.2 MB / 239 MB, free: 1.816 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.0009467/0.0009466, allocations: 102.2 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.5383/0.5383, allocations: 79.44 MB / 420.8 MB, free: 43.69 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004482, allocations: 8 kB / 0.4891 GB, free: 1.941 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.52/0.5205, allocations: 69.49 MB / 0.557 GB, free: 38.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.7028, allocations: 111.5 MB / 0.6658 GB, free: 10.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/0.7032, allocations: 99.92 kB / 0.6659 GB, free: 10 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1191/0.8222, allocations: 40.58 MB / 0.7056 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8223, allocations: 0 / 0.7056 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001818/0.8225, allocations: 28 kB / 0.7056 GB, free: 1.188 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.009096/0.8316, allocations: 2.498 MB / 0.708 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.8317, allocations: 12.03 kB / 0.708 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007006/0.8324, allocations: 156.1 kB / 0.7082 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004408/0.8368, allocations: 0.6807 MB / 0.7089 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.8404, allocations: 1.065 MB / 0.7099 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005978/0.841, allocations: 432.7 kB / 0.7103 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000509/0.8415, allocations: 103.9 kB / 0.7104 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003836/0.8454, allocations: 1.494 MB / 0.7119 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.8454, allocations: 4 kB / 0.7119 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.8456, allocations: 36 kB / 0.7119 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.8456, allocations: 24 kB / 0.7119 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003387/0.849, allocations: 1.437 MB / 0.7133 GB, free: 9.051 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.01103/0.8601, allocations: 4.96 MB / 0.7182 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008814/0.8689, allocations: 3.439 MB / 0.7215 GB, free: 300 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.8691, allocations: 32.97 kB / 0.7216 GB, free: 268 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002416/0.8716, allocations: 1.128 MB / 0.7227 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=125): time 7.083e-06/0.8716, allocations: 4 kB / 0.7227 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=125): time 0.04445/0.916, allocations: 11.92 MB / 0.7343 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/0.9162, allocations: 119.8 kB / 0.7344 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/0.9188, allocations: 1.24 MB / 0.7356 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004228/0.9192, allocations: 45.7 kB / 0.7357 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005385/0.9198, allocations: 0.6319 MB / 0.7363 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005871/0.9204, allocations: 445.6 kB / 0.7367 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.36e-05/0.9205, allocations: 28 kB / 0.7367 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.9206, allocations: 349.9 kB / 0.7371 GB, free: 260 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/0.9226, allocations: 0.8459 MB / 0.7379 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.9246, allocations: 1.004 MB / 0.7389 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.9266, allocations: 0.9005 MB / 0.7398 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.9266, allocations: 4 kB / 0.7398 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006447/0.933, allocations: 2.907 MB / 0.7426 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.9331, allocations: 7.984 kB / 0.7426 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.9331, allocations: 4 kB / 0.7426 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01075/0.9439, allocations: 3.325 MB / 0.7459 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.9448, allocations: 151.8 kB / 0.746 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007676/0.9525, allocations: 3.301 MB / 0.7492 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/0.9551, allocations: 258.7 kB / 0.7495 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.9552, allocations: 47.98 kB / 0.7495 GB, free: 3.406 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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 {34 41} Notification: Performance of prepare postOptimizeDAE: time 0.000825/0.956, allocations: 277.7 kB / 0.7498 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000358/0.9564, allocations: 166 kB / 0.7499 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01718/0.9736, allocations: 5.823 MB / 0.7556 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.061e-05/0.9737, allocations: 19.95 kB / 0.7557 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.9737, allocations: 0 / 0.7557 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-05/0.9737, allocations: 3.984 kB / 0.7557 GB, free: 13.1 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.02111/0.9948, allocations: 7.897 MB / 0.7634 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.9949, allocations: 0 / 0.7634 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.9959, allocations: 139.8 kB / 0.7635 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007767/1.004, allocations: 2.513 MB / 0.766 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002857/1.004, allocations: 27.98 kB / 0.766 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4393/1.443, allocations: 10.87 MB / 0.7766 GB, free: 138 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.443, allocations: 0 / 0.7766 GB, free: 138 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0195/1.463, allocations: 7.109 MB / 0.7835 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.464, allocations: 284.7 kB / 0.7838 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/1.464, allocations: 25.53 kB / 0.7838 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/1.466, allocations: 182.3 kB / 0.784 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000957/1.467, allocations: 263.6 kB / 0.7843 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/1.467, allocations: 42.17 kB / 0.7843 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001599/1.469, allocations: 0.9731 MB / 0.7852 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.31e-07/1.469, allocations: 0 / 0.7852 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001865/1.471, allocations: 0.4974 MB / 0.7857 GB, free: 137.3 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,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * 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 (82): * Single equations (assignments): 81 * 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.02011/1.491, allocations: 7.876 MB / 0.7934 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009476/1.5, allocations: 2.877 MB / 0.7962 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.5, allocations: 0 / 0.7962 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007248/1.508, allocations: 2.163 MB / 0.7983 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/1.509, allocations: 121.5 kB / 0.7985 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008062/1.517, allocations: 6.552 MB / 0.8049 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008501/1.518, allocations: 1.26 MB / 0.8061 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000688/1.519, allocations: 113.6 kB / 0.8062 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007573/1.52, allocations: 0.6001 MB / 0.8068 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.573e-06/1.52, allocations: 1.062 kB / 0.8068 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07201/1.592, allocations: 37.77 MB / 0.8437 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/1.592, allocations: 190.6 kB / 0.8439 GB, free: 127.5 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_SCRX.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_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_SCRX.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_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_SCRX.o] Error 1