Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_dev_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.006814/0.006814, 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.355/1.355, 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.0009961/0.0009961, allocations: 106.9 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.4902/0.4902, allocations: 79.44 MB / 420.8 MB, free: 43.74 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004027, allocations: 12 kB / 0.4891 GB, free: 1.969 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4383, allocations: 69.49 MB / 0.557 GB, free: 38.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1571/0.5955, allocations: 107 MB / 0.6615 GB, free: 14.56 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.5958, allocations: 87.95 kB / 0.6616 GB, free: 14.47 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1099/0.7058, allocations: 37.85 MB / 0.6985 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7058, allocations: 0 / 0.6985 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001508/0.706, allocations: 24.44 kB / 0.6986 GB, free: 8.391 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.007811/0.7138, allocations: 2.287 MB / 0.7008 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.7139, allocations: 16.02 kB / 0.7008 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004587/0.7143, allocations: 139.3 kB / 0.7009 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004485/0.7188, allocations: 0.7434 MB / 0.7017 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.7213, allocations: 0.9207 MB / 0.7026 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00051/0.7218, allocations: 369.2 kB / 0.7029 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003688/0.7222, allocations: 84 kB / 0.703 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003402/0.7256, allocations: 1.36 MB / 0.7043 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.7257, allocations: 0 / 0.7043 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.7258, allocations: 32 kB / 0.7044 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.7259, allocations: 31.98 kB / 0.7044 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003002/0.7289, allocations: 1.296 MB / 0.7057 GB, free: 0.9336 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.01098/0.7399, allocations: 4.498 MB / 0.71 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008483/0.7484, allocations: 3.075 MB / 0.713 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/0.7487, allocations: 16.98 kB / 0.7131 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.7488, allocations: 47.56 kB / 0.7131 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=111): time 3.236e-06/0.7488, allocations: 0 / 0.7131 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of matching and sorting (n=111): time 0.04965/0.7984, allocations: 12.96 MB / 0.7258 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.7985, allocations: 90.11 kB / 0.7258 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.8006, allocations: 1.072 MB / 0.7269 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003133/0.8009, allocations: 41.7 kB / 0.7269 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.8014, allocations: 0.5608 MB / 0.7275 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005296/0.8019, allocations: 398.2 kB / 0.7279 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/0.802, allocations: 20 kB / 0.7279 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8021, allocations: 345.9 kB / 0.7282 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.8038, allocations: 0.7639 MB / 0.729 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/0.8056, allocations: 0.9204 MB / 0.7299 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.8073, allocations: 0.8151 MB / 0.7307 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.8073, allocations: 0 / 0.7307 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005818/0.8132, allocations: 2.634 MB / 0.7332 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.8132, allocations: 8.656 kB / 0.7332 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.8133, allocations: 7.953 kB / 0.7332 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009911/0.8232, allocations: 2.916 MB / 0.7361 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.8239, allocations: 127.8 kB / 0.7362 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006753/0.8307, allocations: 3.056 MB / 0.7392 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.8328, allocations: 211 kB / 0.7394 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.8329, allocations: 39.98 kB / 0.7394 GB, free: 13.85 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.000659/0.8336, allocations: 257.5 kB / 0.7397 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/0.834, allocations: 138.3 kB / 0.7398 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01751/0.8515, allocations: 5.84 MB / 0.7455 GB, free: 7.586 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.8515, allocations: 12 kB / 0.7455 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.8516, allocations: 0 / 0.7455 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-05/0.8516, allocations: 7.969 kB / 0.7455 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02054/0.8721, allocations: 7.643 MB / 0.753 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.8722, allocations: 3.984 kB / 0.753 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007247/0.8729, allocations: 103.9 kB / 0.7531 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008816/0.8818, allocations: 2.696 MB / 0.7557 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002395/0.882, allocations: 20 kB / 0.7558 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0278/0.9099, allocations: 11.57 MB / 0.7671 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9099, allocations: 0 / 0.7671 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3341/1.244, allocations: 7.045 MB / 0.7739 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007559/1.245, allocations: 258.5 kB / 0.7742 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/1.245, allocations: 27.91 kB / 0.7742 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/1.247, allocations: 152.5 kB / 0.7744 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007717/1.248, allocations: 243.8 kB / 0.7746 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-05/1.248, allocations: 27.94 kB / 0.7746 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001231/1.249, allocations: 0.8463 MB / 0.7754 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.249, allocations: 0 / 0.7754 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001471/1.25, allocations: 472.5 kB / 0.7759 GB, free: 141.3 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.01981/1.27, allocations: 7.751 MB / 0.7835 GB, free: 140.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007987/1.278, allocations: 2.648 MB / 0.786 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.278, allocations: 0 / 0.786 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006291/1.285, allocations: 2.109 MB / 0.7881 GB, free: 140 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/1.286, allocations: 101.8 kB / 0.7882 GB, free: 140 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/1.307, allocations: 13.02 MB / 0.8009 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007642/1.308, allocations: 1.182 MB / 0.8021 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005853/1.308, allocations: 92.42 kB / 0.8022 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006979/1.309, allocations: 0.5136 MB / 0.8027 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.098e-05/1.309, allocations: 5.594 kB / 0.8027 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08202/1.391, allocations: 35.6 MB / 0.8374 GB, free: 132 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/1.391, allocations: 219.6 kB / 0.8376 GB, free: 131.7 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_Branches_PSSE_TwoWindingTransformer.o OpenIPSL_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.c:7: In file included from ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.o] Error 1