Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_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.008202/0.008202, allocations: 171.8 kB / 15.11 MB, free: 5.59 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.362/1.362, allocations: 223.2 MB / 239 MB, free: 1.793 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.001133/0.001133, allocations: 92.42 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4805/0.4805, allocations: 78.52 MB / 419.8 MB, free: 44.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003816, allocations: 8 kB / 499.8 MB, free: 2.664 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4107, allocations: 69.35 MB / 0.5558 GB, free: 38.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.5446, allocations: 106.3 MB / 0.6596 GB, free: 36 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.5449, allocations: 84.03 kB / 0.6597 GB, free: 15.95 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.104/0.6489, allocations: 40.21 MB / 0.699 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.873e-06/0.649, allocations: 0 / 0.699 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.518e-05/0.649, allocations: 20 kB / 0.699 GB, free: 7.5 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.006033/0.6551, allocations: 2.276 MB / 0.7012 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.6551, allocations: 8.031 kB / 0.7012 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002155/0.6553, allocations: 135.3 kB / 0.7014 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.6581, allocations: 0.5327 MB / 0.7019 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.6596, allocations: 0.8543 MB / 0.7027 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003554/0.6599, allocations: 373.2 kB / 0.7031 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.6601, allocations: 84 kB / 0.7032 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.6626, allocations: 1.36 MB / 0.7045 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.6627, allocations: 4 kB / 0.7045 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.6628, allocations: 32 kB / 0.7045 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.6628, allocations: 20 kB / 0.7045 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.6654, allocations: 1.304 MB / 0.7058 GB, free: 352 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.007771/0.6732, allocations: 4.389 MB / 0.7101 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008024/0.6813, allocations: 3.074 MB / 0.7131 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/0.6815, allocations: 24.97 kB / 0.7131 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.6815, allocations: 47.5 kB / 0.7132 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=111): time 3.096e-06/0.6815, allocations: 0 / 0.7132 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of matching and sorting (n=111): time 0.04864/0.7302, allocations: 12.96 MB / 0.7258 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.7303, allocations: 90.11 kB / 0.7259 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.7322, allocations: 0.9901 MB / 0.7269 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.7325, allocations: 45.7 kB / 0.7269 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004772/0.7329, allocations: 0.5569 MB / 0.7275 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004622/0.7334, allocations: 394.2 kB / 0.7279 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.011e-05/0.7335, allocations: 20 kB / 0.7279 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.7337, allocations: 345.9 kB / 0.7282 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/0.7353, allocations: 0.7678 MB / 0.7289 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.7371, allocations: 0.9126 MB / 0.7298 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.7388, allocations: 0.819 MB / 0.7306 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7388, allocations: 0 / 0.7306 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005676/0.7445, allocations: 2.634 MB / 0.7332 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.7445, allocations: 8 kB / 0.7332 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.7446, allocations: 4 kB / 0.7332 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009667/0.7542, allocations: 2.912 MB / 0.7361 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007159/0.755, allocations: 127.8 kB / 0.7362 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006604/0.7616, allocations: 3.064 MB / 0.7392 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.7635, allocations: 207 kB / 0.7394 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.7636, allocations: 35.98 kB / 0.7394 GB, free: 13.46 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.0006505/0.7643, allocations: 249.7 kB / 0.7397 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.7646, allocations: 150.3 kB / 0.7398 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01733/0.782, allocations: 5.837 MB / 0.7455 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/0.782, allocations: 12 kB / 0.7455 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.7821, allocations: 0 / 0.7455 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-05/0.7821, allocations: 7.984 kB / 0.7455 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02087/0.803, allocations: 7.584 MB / 0.7529 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/0.8031, allocations: 4 kB / 0.7529 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007588/0.8038, allocations: 111.9 kB / 0.753 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009202/0.813, allocations: 2.696 MB / 0.7557 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002673/0.8133, allocations: 27.94 kB / 0.7557 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03008/0.8434, allocations: 11.56 MB / 0.767 GB, free: 0.9453 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.8435, allocations: 7.922 kB / 0.767 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3084/1.152, allocations: 7.047 MB / 0.7739 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005895/1.153, allocations: 248 kB / 0.7741 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/1.153, allocations: 23.39 kB / 0.7741 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.154, allocations: 156.9 kB / 0.7743 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007022/1.155, allocations: 241.8 kB / 0.7745 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.341e-05/1.155, allocations: 30.11 kB / 0.7745 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001001/1.156, allocations: 0.7796 MB / 0.7753 GB, free: 141 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.4e-07/1.156, allocations: 4.406 kB / 0.7753 GB, free: 141 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001191/1.157, allocations: 471.5 kB / 0.7758 GB, free: 141 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.01873/1.176, allocations: 7.745 MB / 0.7833 GB, free: 140.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007345/1.183, allocations: 2.654 MB / 0.7859 GB, free: 140 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/1.183, allocations: 0 / 0.7859 GB, free: 140 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005763/1.189, allocations: 2.101 MB / 0.788 GB, free: 139.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/1.19, allocations: 100.5 kB / 0.7881 GB, free: 139.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/1.209, allocations: 12.83 MB / 0.8006 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008592/1.21, allocations: 1.189 MB / 0.8017 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005143/1.21, allocations: 96.02 kB / 0.8018 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007058/1.211, allocations: 0.5183 MB / 0.8023 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.173e-06/1.211, allocations: 0 / 0.8023 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06277/1.274, allocations: 34.98 MB / 0.8365 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/1.274, allocations: 215.3 kB / 0.8367 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_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.o OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.c In file included from OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.c:7: In file included from ./OpenIPSL_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_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_model.h:24: ./OpenIPSL_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_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.o] Error 1