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.0007403/0.0007406, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.004385/0.004385, allocations: 170.9 kB / 16.26 MB, free: 6.676 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.25/1.25, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05581/0.05581, allocations: 14.16 MB / 284.9 MB, free: 7.031 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.0004892/0.0004893, allocations: 16 kB / 348.9 MB, free: 17.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07361/0.07411, allocations: 51.12 MB / 400.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow): time 0.008332/0.08248, allocations: 9.887 MB / 410 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006291/0.0888, allocations: 4.631 MB / 414.6 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006776/0.0895, allocations: 27.88 kB / 414.6 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.09058, allocations: 497.8 kB / 415.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003989/0.09458, allocations: 1.91 MB / 417 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008816/0.09546, allocations: 490.4 kB / 417.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003128/0.0986, allocations: 3.027 MB / 420.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.09892, allocations: 180.2 kB / 420.7 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009314/0.09986, allocations: 0.7773 MB / 421.5 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008062/0.1007, allocations: 0.8126 MB / 422.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.906e-05/0.1008, allocations: 44 kB / 422.3 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008592/0.1016, allocations: 387.7 kB / 422.7 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.1018, allocations: 170.9 kB / 422.9 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006322/0.1024, allocations: 0.7709 MB / 423.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.1046, allocations: 1.896 MB / 425.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1046, allocations: 0 / 425.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1047, allocations: 0 / 425.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.392e-05/0.1047, allocations: 0 / 425.5 MB, free: 4.609 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.005953/0.1106, allocations: 2.03 MB / 427.6 MB, free: 2.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1107, allocations: 16.03 kB / 427.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/0.1109, allocations: 165.1 kB / 427.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009023/0.1118, allocations: 235.1 kB / 428 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.1132, allocations: 0.9452 MB / 428.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/0.1133, allocations: 82.56 kB / 429 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.1134, allocations: 104.4 kB / 429.1 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1446/0.258, allocations: 1.066 MB / 430.2 MB, free: 35.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.2581, allocations: 0.6875 kB / 430.2 MB, free: 35.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-05/0.2582, allocations: 48.2 kB / 430.2 MB, free: 35.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.2582, allocations: 27.19 kB / 430.2 MB, free: 35.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.2598, allocations: 1.053 MB / 431.3 MB, free: 35.91 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.005988/0.2658, allocations: 7.536 MB / 438.8 MB, free: 29.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.2673, allocations: 1.111 MB / 439.9 MB, free: 29.03 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/0.2677, allocations: 311.3 kB / 440.2 MB, free: 28.9 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.384e-05/0.2678, allocations: 16.05 kB / 440.3 MB, free: 28.9 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.2678, allocations: 39.98 kB / 440.3 MB, free: 28.86 MB / 318.1 MB Notification: Performance of pre-optimization done (n=88): time 2.234e-06/0.2678, allocations: 0 / 440.3 MB, free: 28.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=88): time 0.002748/0.2706, allocations: 1.361 MB / 441.7 MB, free: 28.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.2706, allocations: 62.73 kB / 441.7 MB, free: 28.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.2717, allocations: 0.9416 MB / 442.7 MB, free: 27.74 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.2718, allocations: 45.48 kB / 442.7 MB, free: 27.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.2721, allocations: 0.6473 MB / 443.4 MB, free: 27.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.2723, allocations: 313 kB / 443.7 MB, free: 26.94 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.2725, allocations: 111.3 kB / 443.8 MB, free: 26.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.2725, allocations: 353.4 kB / 444.1 MB, free: 26.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.273, allocations: 326 kB / 444.4 MB, free: 26.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/0.2737, allocations: 0.7198 MB / 445.2 MB, free: 25.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.2751, allocations: 1.097 MB / 446.2 MB, free: 24.92 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.2751, allocations: 3.5 kB / 446.3 MB, free: 24.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002347/0.2775, allocations: 1.355 MB / 447.6 MB, free: 24.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.2775, allocations: 10.92 kB / 447.6 MB, free: 24.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.2776, allocations: 17.19 kB / 447.6 MB, free: 24.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.279, allocations: 296.5 kB / 447.9 MB, free: 24.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.28, allocations: 311.2 kB / 448.2 MB, free: 24.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/0.2832, allocations: 3.488 MB / 451.7 MB, free: 21.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.2843, allocations: 133.5 kB / 451.8 MB, free: 21.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/0.2844, allocations: 52.34 kB / 451.9 MB, free: 21.14 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.0004165/0.2848, allocations: 314.1 kB / 452.2 MB, free: 20.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.285, allocations: 130.2 kB / 452.3 MB, free: 20.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.2865, allocations: 0.8826 MB / 453.2 MB, free: 20.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2865, allocations: 12.19 kB / 453.2 MB, free: 20.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2865, allocations: 1.375 kB / 453.2 MB, free: 20.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.2865, allocations: 8.219 kB / 453.2 MB, free: 20.39 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.2891, allocations: 2.2 MB / 455.4 MB, free: 19.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.2891, allocations: 6.812 kB / 455.4 MB, free: 19.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000634/0.2898, allocations: 172.7 kB / 455.6 MB, free: 19.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005083/0.2903, allocations: 129.7 kB / 455.7 MB, free: 18.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.2903, allocations: 22.59 kB / 455.8 MB, free: 18.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002772/0.2931, allocations: 3.45 MB / 459.2 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2931, allocations: 3.969 kB / 459.2 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.2944, allocations: 1.041 MB / 460.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.2947, allocations: 270.8 kB / 460.5 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.2949, allocations: 11.97 kB / 460.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/0.2954, allocations: 39.66 kB / 460.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.2955, allocations: 68.05 kB / 460.6 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.2955, allocations: 23.88 kB / 460.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006014/0.2961, allocations: 0.6182 MB / 461.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2961, allocations: 4 kB / 461.3 MB, free: 14.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001061/0.2972, allocations: 378.6 kB / 461.6 MB, free: 14.35 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.001506/0.2987, allocations: 1.677 MB / 463.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.3005, allocations: 1.236 MB / 464.6 MB, free: 12.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3005, allocations: 1.406 kB / 464.6 MB, free: 12.4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009494/0.3015, allocations: 0.7315 MB / 465.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.3025, allocations: 140.3 kB / 465.4 MB, free: 11.83 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.00936/0.3119, allocations: 9.637 MB / 475.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.3123, allocations: 1.081 MB / 476.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005985/0.3129, allocations: 162.5 kB / 476.3 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004117/0.3133, allocations: 427.7 kB / 476.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3134, allocations: 0 / 476.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03533/0.3487, allocations: 21.75 MB / 498.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.3489, allocations: 239.2 kB / 498.7 MB, free: 10 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:155: ./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