Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_release_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.01087/0.01087, allocations: 172 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.492/1.492, allocations: 223.2 MB / 239 MB, free: 60 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.001028/0.001028, allocations: 90.73 kB / 290.2 MB, free: 4.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.473/0.473, allocations: 78.58 MB / 419.9 MB, free: 36.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 8 kB / 499.9 MB, free: 7.168 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 69.36 MB / 0.5559 GB, free: 1.746 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3582/0.4792, allocations: 97.65 MB / 0.6512 GB, free: 4.508 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.4796, allocations: 84.27 kB / 0.6513 GB, free: 4.465 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07513/0.5547, allocations: 29.05 MB / 0.6797 GB, free: 7.945 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.5547, allocations: 0 / 0.6797 GB, free: 7.945 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.682e-05/0.5548, allocations: 20 kB / 0.6797 GB, free: 7.926 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.005041/0.5598, allocations: 1.908 MB / 0.6816 GB, free: 5.969 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.5599, allocations: 8.031 kB / 0.6816 GB, free: 5.961 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000279/0.5602, allocations: 118.5 kB / 0.6817 GB, free: 5.836 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002922/0.5631, allocations: 0.4901 MB / 0.6822 GB, free: 5.344 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.5648, allocations: 0.7305 MB / 0.6829 GB, free: 4.559 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003611/0.5652, allocations: 357.2 kB / 0.6832 GB, free: 4.156 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.5654, allocations: 79.89 kB / 0.6833 GB, free: 4.078 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.5677, allocations: 1.204 MB / 0.6845 GB, free: 2.859 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.5678, allocations: 0 / 0.6845 GB, free: 2.859 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.365e-05/0.5679, allocations: 32 kB / 0.6845 GB, free: 2.828 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.5679, allocations: 17.88 kB / 0.6845 GB, free: 2.812 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.5703, allocations: 1.171 MB / 0.6857 GB, free: 1.641 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.006842/0.5772, allocations: 3.628 MB / 0.6892 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00825/0.5855, allocations: 3.081 MB / 0.6922 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002257/0.5858, allocations: 24.91 kB / 0.6922 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.5858, allocations: 43.56 kB / 0.6923 GB, free: 10.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.656e-06/0.5858, allocations: 0 / 0.6923 GB, free: 10.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.04038/0.6262, allocations: 10.64 MB / 0.7027 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.6263, allocations: 90.09 kB / 0.7028 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.6275, allocations: 0.7787 MB / 0.7035 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002339/0.6278, allocations: 41.7 kB / 0.7036 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.6281, allocations: 468.8 kB / 0.704 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003464/0.6285, allocations: 350.9 kB / 0.7043 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/0.6286, allocations: 16 kB / 0.7043 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6287, allocations: 341.9 kB / 0.7047 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.6303, allocations: 0.7008 MB / 0.7054 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.6319, allocations: 0.8441 MB / 0.7062 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.6335, allocations: 0.7518 MB / 0.7069 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/0.6336, allocations: 4 kB / 0.7069 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01718/0.6507, allocations: 5.516 MB / 0.7123 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.6508, allocations: 4 kB / 0.7123 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.6509, allocations: 4 kB / 0.7123 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008551/0.6594, allocations: 2.681 MB / 0.7149 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.6601, allocations: 111.8 kB / 0.715 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03265/0.6928, allocations: 12.29 MB / 0.727 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.6946, allocations: 197.9 kB / 0.7272 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/0.6949, allocations: 35.98 kB / 0.7273 GB, free: 6.441 MB / 0.5105 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.0007478/0.6956, allocations: 221.7 kB / 0.7275 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000492/0.6961, allocations: 118.5 kB / 0.7276 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/0.7135, allocations: 5.522 MB / 0.733 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.7136, allocations: 8 kB / 0.733 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7136, allocations: 8 kB / 0.733 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.358e-05/0.7136, allocations: 7.969 kB / 0.733 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01983/0.7335, allocations: 7.132 MB / 0.74 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.7335, allocations: 0 / 0.74 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.7341, allocations: 99.81 kB / 0.7401 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008274/0.7424, allocations: 2.505 MB / 0.7425 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002807/0.7427, allocations: 23.98 kB / 0.7425 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02842/0.7712, allocations: 10.79 MB / 0.7531 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7712, allocations: 5.5 kB / 0.7531 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01917/0.7904, allocations: 6.626 MB / 0.7596 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005887/0.7911, allocations: 215.4 kB / 0.7598 GB, free: 4.812 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004164/0.7915, allocations: 19.98 kB / 0.7598 GB, free: 4.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/0.7931, allocations: 147.9 kB / 0.7599 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007762/0.7939, allocations: 233 kB / 0.7601 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.794, allocations: 31.98 kB / 0.7602 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00103/0.7951, allocations: 0.6148 MB / 0.7608 GB, free: 3.766 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7951, allocations: 0 / 0.7608 GB, free: 3.766 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002202/0.7973, allocations: 451.5 kB / 0.7612 GB, free: 3.324 MB / 0.5417 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.0197/0.817, allocations: 7.286 MB / 0.7683 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009053/0.8261, allocations: 2.795 MB / 0.771 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.8262, allocations: 320 / 0.771 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006335/0.8325, allocations: 1.989 MB / 0.773 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.834, allocations: 86.53 kB / 0.7731 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05252/0.8865, allocations: 14.23 MB / 0.787 GB, free: 8.527 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009914/0.8876, allocations: 1.103 MB / 0.788 GB, free: 7.398 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005614/0.8881, allocations: 71.25 kB / 0.7881 GB, free: 7.328 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007896/0.8889, allocations: 419.3 kB / 0.7885 GB, free: 6.918 MB / 0.573 GB Notification: Performance of SimCode: time 1.232e-06/0.889, allocations: 4 kB / 0.7885 GB, free: 6.914 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2952/1.184, allocations: 33.74 MB / 0.8215 GB, free: 156.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001279/1.184, allocations: 197.9 kB / 0.8216 GB, free: 155.9 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_release_OpenIPSL_Tests_Machines_PSSE_GENCLS.o OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENCLS.c In file included from OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENCLS.c:7: In file included from ./OpenIPSL_release_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_release_OpenIPSL_Tests_Machines_PSSE_GENCLS.c:7: In file included from ./OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENCLS_model.h:24: ./OpenIPSL_release_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_release_OpenIPSL_Tests_Machines_PSSE_GENCLS.o] Error 1