Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS",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.005793/0.005793, allocations: 172 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.508/1.508, allocations: 223.2 MB / 239 MB, free: 1.789 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.0008872/0.0008869, allocations: 95.08 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.4867/0.4867, allocations: 79.44 MB / 420.7 MB, free: 43.71 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004531, allocations: 12 kB / 0.4891 GB, free: 1.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4294, allocations: 69.5 MB / 0.557 GB, free: 38.63 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.5673, allocations: 98.33 MB / 0.653 GB, free: 7.234 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.5676, allocations: 75.97 kB / 0.6531 GB, free: 7.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0806/0.6482, allocations: 28.45 MB / 0.6809 GB, free: 10.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6482, allocations: 0 / 0.6809 GB, free: 10.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001171/0.6484, allocations: 23.94 kB / 0.6809 GB, free: 10.51 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.006474/0.6548, allocations: 1.896 MB / 0.6827 GB, free: 8.562 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.6549, allocations: 12.03 kB / 0.6828 GB, free: 8.551 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004503/0.6554, allocations: 126.4 kB / 0.6829 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/0.6585, allocations: 493.9 kB / 0.6833 GB, free: 7.934 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.6607, allocations: 0.7235 MB / 0.6841 GB, free: 7.152 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004681/0.6612, allocations: 365.2 kB / 0.6844 GB, free: 6.742 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/0.6616, allocations: 71.84 kB / 0.6845 GB, free: 6.672 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/0.6646, allocations: 1.208 MB / 0.6857 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.6646, allocations: 3.938 kB / 0.6857 GB, free: 5.445 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.6647, allocations: 32 kB / 0.6857 GB, free: 5.414 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.6648, allocations: 16 kB / 0.6857 GB, free: 5.398 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.6674, allocations: 1.167 MB / 0.6868 GB, free: 4.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 preOpt removeSimpleEquations (simulation): time 0.007633/0.675, allocations: 3.635 MB / 0.6904 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008137/0.6832, allocations: 3.08 MB / 0.6934 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.6834, allocations: 9 kB / 0.6934 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.6834, allocations: 47.56 kB / 0.6935 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=97): time 3.256e-06/0.6835, allocations: 0 / 0.6935 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=97): time 0.04064/0.7241, allocations: 10.65 MB / 0.7039 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.7242, allocations: 86.11 kB / 0.7039 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.7258, allocations: 0.7787 MB / 0.7047 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002826/0.7261, allocations: 45.69 kB / 0.7047 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/0.7265, allocations: 468.8 kB / 0.7052 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004477/0.7269, allocations: 350.9 kB / 0.7055 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.727, allocations: 16 kB / 0.7055 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.7272, allocations: 338 kB / 0.7059 GB, free: 360 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/0.7288, allocations: 0.7048 MB / 0.7065 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.7304, allocations: 0.8518 MB / 0.7074 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.732, allocations: 0.7487 MB / 0.7081 GB, free: 14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.732, allocations: 4 kB / 0.7081 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01712/0.7491, allocations: 5.512 MB / 0.7135 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.7492, allocations: 4.625 kB / 0.7135 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.7492, allocations: 4 kB / 0.7135 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008071/0.7573, allocations: 2.677 MB / 0.7161 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/0.7579, allocations: 111.8 kB / 0.7162 GB, free: 5.664 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02954/0.7874, allocations: 12.3 MB / 0.7282 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.7891, allocations: 199.1 kB / 0.7284 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.049e-05/0.7892, allocations: 36 kB / 0.7285 GB, free: 9.004 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005073/0.7897, allocations: 225.7 kB / 0.7287 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.79, allocations: 122.5 kB / 0.7288 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01597/0.8059, allocations: 5.518 MB / 0.7342 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.806, allocations: 15.94 kB / 0.7342 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.806, allocations: 0 / 0.7342 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.091e-05/0.806, allocations: 3.984 kB / 0.7342 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.8243, allocations: 7.14 MB / 0.7412 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.8244, allocations: 0 / 0.7412 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006049/0.825, allocations: 95.89 kB / 0.7413 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007639/0.8326, allocations: 2.509 MB / 0.7437 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001886/0.8328, allocations: 20 kB / 0.7437 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02529/0.8581, allocations: 10.79 MB / 0.7543 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.8582, allocations: 0 / 0.7543 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01848/0.8767, allocations: 6.625 MB / 0.7607 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006062/0.8773, allocations: 215.5 kB / 0.7609 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.8775, allocations: 16 kB / 0.761 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.8787, allocations: 151.9 kB / 0.7611 GB, free: 7.207 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007487/0.8795, allocations: 225 kB / 0.7613 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.737e-05/0.8796, allocations: 28 kB / 0.7613 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008373/0.8804, allocations: 0.6148 MB / 0.762 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8804, allocations: 4 kB / 0.762 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001402/0.8818, allocations: 455.5 kB / 0.7624 GB, free: 5.887 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,gENCLS1.delta,gENCLS1.omega,gENCLS1.eq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.3212/1.203, allocations: 7.274 MB / 0.7695 GB, free: 148 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008608/1.212, allocations: 2.799 MB / 0.7722 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.212, allocations: 0 / 0.7722 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006606/1.218, allocations: 1.987 MB / 0.7742 GB, free: 147.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008785/1.219, allocations: 84.84 kB / 0.7742 GB, free: 147.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/1.246, allocations: 14.23 MB / 0.7881 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005959/1.247, allocations: 1.112 MB / 0.7892 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004234/1.247, allocations: 72.19 kB / 0.7893 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/1.247, allocations: 414.1 kB / 0.7897 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of SimCode: time 6.81e-07/1.247, allocations: 0 / 0.7897 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06817/1.316, allocations: 33.77 MB / 0.8227 GB, free: 140.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/1.316, allocations: 181.5 kB / 0.8229 GB, free: 140 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_Machines_PSSE_GENCLS.o OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS_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_Machines_PSSE_GENCLS.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS_functions.h:137: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_Machines_PSSE_GENCLS.o] Error 1