Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_PowerFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_PowerFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 190.9 kB / 16.25 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 222.1 MB, free: 4.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06105/0.06105, allocations: 14.15 MB / 283.6 MB, free: 7.246 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 71.88 kB / 346.8 MB, free: 17.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09568/0.0972, allocations: 50.14 MB / 396.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow): time 0.01098/0.1082, allocations: 10.43 MB / 407.3 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007241/0.1155, allocations: 4.693 MB / 412 MB, free: 172 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.117, allocations: 31.88 kB / 412.1 MB, free: 140 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.1186, allocations: 497.7 kB / 412.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004846/0.1235, allocations: 1.917 MB / 414.5 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009301/0.1244, allocations: 482.1 kB / 414.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003606/0.128, allocations: 3.164 MB / 418.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.1284, allocations: 203.7 kB / 418.3 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.1296, allocations: 0.8944 MB / 419.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008134/0.1304, allocations: 0.9024 MB / 420.1 MB, free: 8.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.8e-05/0.1305, allocations: 76 kB / 420.2 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009453/0.1314, allocations: 471.7 kB / 420.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.1316, allocations: 206.9 kB / 420.8 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006328/0.1322, allocations: 0.8162 MB / 421.7 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.1341, allocations: 2.002 MB / 423.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1341, allocations: 0 / 423.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1341, allocations: 3.938 kB / 423.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.1342, allocations: 0 / 423.7 MB, free: 4.508 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.005878/0.14, allocations: 2.291 MB / 425.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.1401, allocations: 12.03 kB / 426 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.1403, allocations: 161.1 kB / 426.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008872/0.1412, allocations: 243 kB / 426.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.1426, allocations: 0.9452 MB / 427.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.1427, allocations: 86.56 kB / 427.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.1428, allocations: 104.4 kB / 427.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1415/0.2843, allocations: 1.064 MB / 428.5 MB, free: 37.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.2844, allocations: 3.344 kB / 428.6 MB, free: 37.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.2845, allocations: 46.38 kB / 428.6 MB, free: 37.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.2845, allocations: 28.23 kB / 428.6 MB, free: 37.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.286, allocations: 1.052 MB / 429.7 MB, free: 37.27 MB / 318.1 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.006246/0.2923, allocations: 7.523 MB / 437.2 MB, free: 30.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.2938, allocations: 1.112 MB / 438.3 MB, free: 30 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000402/0.2942, allocations: 319.9 kB / 438.6 MB, free: 29.87 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-05/0.2943, allocations: 13 kB / 438.6 MB, free: 29.87 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2943, allocations: 39.41 kB / 438.7 MB, free: 29.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=88): time 2.344e-06/0.2943, allocations: 1.094 kB / 438.7 MB, free: 29.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=88): time 0.002708/0.2971, allocations: 1.356 MB / 440 MB, free: 29.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.2971, allocations: 61.59 kB / 440.1 MB, free: 29.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.2982, allocations: 0.9428 MB / 441 MB, free: 28.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.2983, allocations: 40.02 kB / 441.1 MB, free: 28.67 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.2986, allocations: 0.6445 MB / 441.7 MB, free: 28.17 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.2988, allocations: 317.6 kB / 442 MB, free: 27.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.2991, allocations: 244.2 kB / 442.3 MB, free: 27.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.2992, allocations: 357.7 kB / 442.6 MB, free: 27.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.2996, allocations: 319.3 kB / 442.9 MB, free: 27.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.3002, allocations: 0.7193 MB / 443.6 MB, free: 26.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.3014, allocations: 1.1 MB / 444.7 MB, free: 25.85 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.3014, allocations: 8.188 kB / 444.8 MB, free: 25.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002083/0.3035, allocations: 1.356 MB / 446.1 MB, free: 25.26 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3035, allocations: 9.969 kB / 446.1 MB, free: 25.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.3036, allocations: 26.66 kB / 446.1 MB, free: 25.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.3051, allocations: 299.7 kB / 446.4 MB, free: 25.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.3068, allocations: 305.5 kB / 446.7 MB, free: 25.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004997/0.3118, allocations: 3.755 MB / 450.5 MB, free: 21.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.3136, allocations: 132.7 kB / 450.6 MB, free: 21.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.3138, allocations: 53.7 kB / 450.7 MB, free: 21.8 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (157): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,0)} Notification: Performance of prepare postOptimizeDAE: time 0.00063/0.3144, allocations: 309.7 kB / 451 MB, free: 21.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.3147, allocations: 132 kB / 451.1 MB, free: 21.49 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.3171, allocations: 0.8847 MB / 452 MB, free: 21.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3171, allocations: 9.906 kB / 452 MB, free: 21.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3171, allocations: 3.938 kB / 452 MB, free: 21.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.3171, allocations: 5.453 kB / 452 MB, free: 21.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004238/0.3214, allocations: 2.206 MB / 454.2 MB, free: 19.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.3214, allocations: 7.938 kB / 454.2 MB, free: 19.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009751/0.3224, allocations: 164.5 kB / 454.4 MB, free: 19.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007299/0.3231, allocations: 126.9 kB / 454.5 MB, free: 19.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-05/0.3232, allocations: 18.31 kB / 454.5 MB, free: 19.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004283/0.3275, allocations: 3.728 MB / 458.3 MB, free: 16.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3275, allocations: 7.906 kB / 458.3 MB, free: 16.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.3294, allocations: 1.034 MB / 459.3 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004813/0.3299, allocations: 270.8 kB / 459.6 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.3302, allocations: 15.91 kB / 459.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009012/0.3311, allocations: 35.75 kB / 459.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.3312, allocations: 64.17 kB / 459.7 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.312e-05/0.3313, allocations: 27.8 kB / 459.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009225/0.3322, allocations: 0.6153 MB / 460.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3322, allocations: 0 / 460.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001684/0.3339, allocations: 381.8 kB / 460.7 MB, free: 14.7 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,0)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002237/0.3362, allocations: 1.681 MB / 462.4 MB, free: 13.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002838/0.339, allocations: 1.298 MB / 463.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.339, allocations: 1.875 kB / 463.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009072/0.3399, allocations: 0.7519 MB / 464.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007212/0.3407, allocations: 139.3 kB / 464.6 MB, free: 11.8 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009575/0.3503, allocations: 9.598 MB / 474.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.3506, allocations: 1.077 MB / 475.2 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006025/0.3512, allocations: 161.1 kB / 475.4 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/0.3517, allocations: 435.9 kB / 475.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3517, allocations: 0 / 475.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04702/0.3987, allocations: 22.71 MB / 498.5 MB, free: 9.188 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/0.399, allocations: 244 kB / 498.8 MB, free: 8.93 MB / 350.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_PowerFlow.o PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_PowerFlow.c In file included from PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_PowerFlow.c:7: In file included from ./PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_PowerFlow_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_PowerFlow.c:8:10: fatal error: 'PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_PowerFlow_16dae.h' file not found #include "PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_PowerFlow_16dae.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_PowerFlow.o] Error 1