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.001122/0.001122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001158/0.001158, allocations: 197.9 kB / 16.14 MB, free: 6.703 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.158/1.158, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05449/0.05449, allocations: 14.16 MB / 283.5 MB, free: 7.305 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.00122/0.00122, allocations: 72.23 kB / 346.6 MB, free: 17.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06884/0.07007, allocations: 50.14 MB / 396.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow): time 0.007983/0.07808, allocations: 10.42 MB / 407.1 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00519/0.08329, allocations: 4.712 MB / 411.8 MB, free: 280 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004189/0.08374, allocations: 31.88 kB / 411.9 MB, free: 248 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009123/0.08466, allocations: 497.8 kB / 412.4 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003206/0.08787, allocations: 1.937 MB / 414.3 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007988/0.08868, allocations: 0.4943 MB / 414.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002461/0.09115, allocations: 3.016 MB / 417.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.09142, allocations: 180.2 kB / 418 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007277/0.09215, allocations: 0.7889 MB / 418.8 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006993/0.09286, allocations: 0.8282 MB / 419.6 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.451e-05/0.09295, allocations: 44 kB / 419.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007004/0.09366, allocations: 395.7 kB / 420 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.0938, allocations: 182.8 kB / 420.2 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005743/0.09438, allocations: 0.742 MB / 421 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.09614, allocations: 1.943 MB / 422.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.09615, allocations: 0 / 422.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09616, allocations: 3.938 kB / 422.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.09618, allocations: 4 kB / 422.9 MB, free: 5.18 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.005757/0.1019, allocations: 2.272 MB / 425.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.102, allocations: 12.03 kB / 425.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.1021, allocations: 165.1 kB / 425.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008285/0.103, allocations: 239 kB / 425.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.1043, allocations: 0.9491 MB / 426.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.1043, allocations: 78.56 kB / 426.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.1044, allocations: 104.4 kB / 426.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.1058, allocations: 1.076 MB / 427.8 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.1059, allocations: 0 / 427.8 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.519e-05/0.106, allocations: 47.94 kB / 427.8 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.106, allocations: 27.94 kB / 427.9 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1294/0.2354, allocations: 1.049 MB / 428.9 MB, free: 37.88 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.006362/0.2418, allocations: 7.534 MB / 436.4 MB, free: 31.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.2432, allocations: 1.108 MB / 437.6 MB, free: 30.83 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004024/0.2436, allocations: 314.8 kB / 437.9 MB, free: 30.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.2437, allocations: 17.25 kB / 437.9 MB, free: 30.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.2437, allocations: 38.95 kB / 437.9 MB, free: 30.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=88): time 2.775e-06/0.2438, allocations: 0.8125 kB / 437.9 MB, free: 30.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=88): time 0.00267/0.2464, allocations: 1.357 MB / 439.3 MB, free: 30 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.2465, allocations: 61.19 kB / 439.3 MB, free: 29.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.2476, allocations: 0.9457 MB / 440.3 MB, free: 29.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.2476, allocations: 40.45 kB / 440.3 MB, free: 29.49 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.248, allocations: 0.6488 MB / 441 MB, free: 28.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.2482, allocations: 318.4 kB / 441.3 MB, free: 28.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002955/0.2485, allocations: 242.5 kB / 441.5 MB, free: 28.62 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.2485, allocations: 354.1 kB / 441.9 MB, free: 28.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.249, allocations: 318.2 kB / 442.2 MB, free: 28.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.2496, allocations: 0.7181 MB / 442.9 MB, free: 27.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.2507, allocations: 1.105 MB / 444 MB, free: 26.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.2507, allocations: 4.156 kB / 444 MB, free: 26.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002239/0.2529, allocations: 1.359 MB / 445.4 MB, free: 26.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.253, allocations: 9.594 kB / 445.4 MB, free: 26.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.253, allocations: 14.22 kB / 445.4 MB, free: 26.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.2544, allocations: 294.5 kB / 445.7 MB, free: 26.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009372/0.2554, allocations: 305.6 kB / 446 MB, free: 26.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.2584, allocations: 3.473 MB / 449.4 MB, free: 23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009441/0.2594, allocations: 127.8 kB / 449.6 MB, free: 22.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/0.2595, allocations: 58.11 kB / 449.6 MB, free: 22.91 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.0003407/0.2598, allocations: 314.6 kB / 449.9 MB, free: 22.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.26, allocations: 133.4 kB / 450.1 MB, free: 22.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.2614, allocations: 0.8863 MB / 450.9 MB, free: 22.17 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.2614, allocations: 16.19 kB / 451 MB, free: 22.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2614, allocations: 1.375 kB / 451 MB, free: 22.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.2614, allocations: 3.891 kB / 451 MB, free: 22.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.2639, allocations: 2.204 MB / 453.2 MB, free: 20.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.264, allocations: 6.219 kB / 453.2 MB, free: 20.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.2646, allocations: 163.5 kB / 453.3 MB, free: 20.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005008/0.2651, allocations: 129.7 kB / 453.5 MB, free: 20.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.2651, allocations: 18.89 kB / 453.5 MB, free: 20.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/0.2678, allocations: 3.44 MB / 456.9 MB, free: 17.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2678, allocations: 3.938 kB / 456.9 MB, free: 17.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.269, allocations: 1.038 MB / 458 MB, free: 16.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.2693, allocations: 263.1 kB / 458.2 MB, free: 16.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.2694, allocations: 19.91 kB / 458.2 MB, free: 16.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.2699, allocations: 39.5 kB / 458.3 MB, free: 16.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.782e-05/0.27, allocations: 64.23 kB / 458.3 MB, free: 16.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.27, allocations: 23.72 kB / 458.4 MB, free: 16.6 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005316/0.2706, allocations: 0.6102 MB / 459 MB, free: 16.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2706, allocations: 0 / 459 MB, free: 16.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009991/0.2716, allocations: 382.8 kB / 459.3 MB, free: 16.19 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.001472/0.2731, allocations: 1.697 MB / 461 MB, free: 14.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.2746, allocations: 1.23 MB / 462.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2747, allocations: 0 / 462.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008598/0.2755, allocations: 0.7388 MB / 463 MB, free: 13.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007258/0.2763, allocations: 141.8 kB / 463.1 MB, free: 13.57 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.008993/0.2853, allocations: 9.599 MB / 472.7 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.2856, allocations: 1.077 MB / 473.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005937/0.2862, allocations: 164.7 kB / 474 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.2866, allocations: 427.3 kB / 474.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2866, allocations: 0 / 474.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.32, allocations: 22.06 MB / 496.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.3202, allocations: 243.8 kB / 496.7 MB, free: 11.3 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