Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.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.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",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.008872/0.008872, allocations: 169.5 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.29/1.29, allocations: 223.2 MB / 239 MB, free: 1.801 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.0009367/0.0009365, allocations: 102.8 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4426/0.4426, allocations: 78.59 MB / 419.9 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 16 kB / 499.9 MB, free: 2.859 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3599, allocations: 69.34 MB / 0.5559 GB, free: 38.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.4895, allocations: 106.3 MB / 0.6597 GB, free: 164 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4898, allocations: 83.95 kB / 0.6598 GB, free: 80 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1056/0.5954, allocations: 40.21 MB / 0.699 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5954, allocations: 4 kB / 0.6991 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.195e-05/0.5955, allocations: 24 kB / 0.6991 GB, free: 7.621 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.006457/0.602, allocations: 2.276 MB / 0.7013 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.602, allocations: 8.031 kB / 0.7013 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002309/0.6023, allocations: 139.3 kB / 0.7014 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/0.605, allocations: 0.5288 MB / 0.702 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.6065, allocations: 0.8543 MB / 0.7028 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003804/0.6069, allocations: 369.2 kB / 0.7031 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.6071, allocations: 84 kB / 0.7032 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/0.6097, allocations: 1.356 MB / 0.7045 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.6097, allocations: 7.938 kB / 0.7046 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.6098, allocations: 35.98 kB / 0.7046 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.6099, allocations: 20 kB / 0.7046 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.6124, allocations: 1.3 MB / 0.7059 GB, free: 480 kB / 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.007247/0.6197, allocations: 4.397 MB / 0.7102 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008284/0.628, allocations: 3.072 MB / 0.7132 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.6281, allocations: 16.98 kB / 0.7132 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.6282, allocations: 51.5 kB / 0.7132 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=111): time 2.635e-06/0.6282, allocations: 0 / 0.7132 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of matching and sorting (n=111): time 0.04638/0.6746, allocations: 12.96 MB / 0.7259 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.567e-05/0.6747, allocations: 90.11 kB / 0.726 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/0.6773, allocations: 0.9901 MB / 0.7269 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.6775, allocations: 41.7 kB / 0.727 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006223/0.6781, allocations: 0.5569 MB / 0.7275 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005923/0.6787, allocations: 394.2 kB / 0.7279 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.6789, allocations: 24 kB / 0.7279 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.6791, allocations: 341.9 kB / 0.7283 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/0.6815, allocations: 0.7678 MB / 0.729 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002581/0.6841, allocations: 0.9126 MB / 0.7299 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.6859, allocations: 0.8152 MB / 0.7307 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.6859, allocations: 3.938 kB / 0.7307 GB, free: 6.617 MB / 0.5261 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005562/0.6914, allocations: 2.634 MB / 0.7333 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.6915, allocations: 8 kB / 0.7333 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.6915, allocations: 4 kB / 0.7333 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009343/0.7008, allocations: 2.924 MB / 0.7361 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.7014, allocations: 127.8 kB / 0.7363 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006187/0.7076, allocations: 3.056 MB / 0.7392 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.7092, allocations: 207 kB / 0.7394 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.7093, allocations: 43.98 kB / 0.7395 GB, free: 13.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {28 29} Notification: Performance of prepare postOptimizeDAE: time 0.0005248/0.7099, allocations: 249.7 kB / 0.7397 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.7101, allocations: 146.3 kB / 0.7399 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02033/0.7304, allocations: 5.833 MB / 0.7456 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-05/0.7305, allocations: 15.98 kB / 0.7456 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/0.7305, allocations: 3.938 kB / 0.7456 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.261e-05/0.7306, allocations: 7.969 kB / 0.7456 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02192/0.7525, allocations: 7.588 MB / 0.753 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.7525, allocations: 4 kB / 0.753 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005764/0.7531, allocations: 99.89 kB / 0.7531 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008385/0.7615, allocations: 2.688 MB / 0.7557 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.7616, allocations: 27.92 kB / 0.7557 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02634/0.788, allocations: 11.57 MB / 0.767 GB, free: 1.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.788, allocations: 0 / 0.767 GB, free: 1.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2497/1.038, allocations: 7.053 MB / 0.7739 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005889/1.038, allocations: 249.2 kB / 0.7742 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004585/1.039, allocations: 22.95 kB / 0.7742 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/1.041, allocations: 152 kB / 0.7743 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007627/1.041, allocations: 243.4 kB / 0.7746 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.041, allocations: 32.06 kB / 0.7746 GB, free: 141 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001223/1.043, allocations: 0.7842 MB / 0.7754 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.043, allocations: 0 / 0.7754 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001549/1.044, allocations: 470.8 kB / 0.7758 GB, free: 140.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epq,gENROE.PSIkd,gENROE.PSIppq,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 (64): * Single equations (assignments): 63 * 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 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.01842/1.063, allocations: 7.751 MB / 0.7834 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007242/1.07, allocations: 2.646 MB / 0.786 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.07, allocations: 4.062 kB / 0.786 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005578/1.076, allocations: 2.103 MB / 0.788 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/1.077, allocations: 104.8 kB / 0.7881 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/1.096, allocations: 12.82 MB / 0.8006 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007791/1.097, allocations: 1.186 MB / 0.8018 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004804/1.097, allocations: 95.34 kB / 0.8019 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007012/1.098, allocations: 0.5119 MB / 0.8024 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.042e-06/1.098, allocations: 1.406 kB / 0.8024 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06374/1.162, allocations: 35.02 MB / 0.8366 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/1.162, allocations: 208.3 kB / 0.8368 GB, free: 131.4 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_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.o OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.c In file included from OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.c:7: In file included from ./OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_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_Branches_PSSE_TwoWindingTransformer.c:7: In file included from ./OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_model.h:24: ./OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_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_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.o] Error 1