Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.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.StaticGrid,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid",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.0007286/0.0007286, allocations: 90.52 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.004986/0.004986, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.261/1.261, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05666/0.05666, allocations: 14.16 MB / 284.9 MB, free: 7.039 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.0004731/0.0004732, allocations: 12 kB / 349 MB, free: 17.36 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09157/0.09205, allocations: 51.11 MB / 400.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid): time 0.0106/0.1027, allocations: 11.86 MB / 411.9 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008719/0.1115, allocations: 5.362 MB / 417.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.1128, allocations: 31.88 kB / 417.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.1143, allocations: 0.5405 MB / 417.9 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005079/0.1194, allocations: 2.115 MB / 420 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.121, allocations: 0.8098 MB / 420.8 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004401/0.1254, allocations: 3.722 MB / 424.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003996/0.1258, allocations: 225.9 kB / 424.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.1271, allocations: 0.9641 MB / 425.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.1283, allocations: 1.081 MB / 426.8 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.1285, allocations: 68 kB / 426.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.1296, allocations: 443.7 kB / 427.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.1298, allocations: 262.4 kB / 427.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008403/0.1307, allocations: 0.9691 MB / 428.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1745/0.3052, allocations: 2.375 MB / 430.9 MB, free: 18.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3053, allocations: 2.281 kB / 430.9 MB, free: 18.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.3053, allocations: 0 / 430.9 MB, free: 18.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.96e-05/0.3054, allocations: 1.219 kB / 430.9 MB, free: 18.61 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: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.009277/0.3146, allocations: 2.624 MB / 433.5 MB, free: 17.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.3147, allocations: 13.34 kB / 433.5 MB, free: 17.68 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000339/0.3151, allocations: 185.3 kB / 433.7 MB, free: 17.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.3162, allocations: 288.1 kB / 434 MB, free: 17.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.3182, allocations: 1.111 MB / 435.1 MB, free: 17.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.3184, allocations: 110.9 kB / 435.2 MB, free: 17.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.3186, allocations: 142.1 kB / 435.3 MB, free: 17.1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.3208, allocations: 1.281 MB / 436.6 MB, free: 16.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.3208, allocations: 2.719 kB / 436.6 MB, free: 16.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.3209, allocations: 56.34 kB / 436.7 MB, free: 16.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/0.321, allocations: 32.28 kB / 436.7 MB, free: 16.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.3231, allocations: 1.302 MB / 438 MB, free: 16.94 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.008903/0.332, allocations: 8.374 MB / 446.4 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/0.3343, allocations: 2.087 MB / 448.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007244/0.3351, allocations: 0.5229 MB / 449 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.486e-05/0.3351, allocations: 17.72 kB / 449 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.3352, allocations: 54.41 kB / 449.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=140): time 3.116e-06/0.3352, allocations: 0 / 449.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.00749/0.3427, allocations: 2.728 MB / 451.8 MB, free: 9.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.3427, allocations: 66.47 kB / 451.9 MB, free: 9.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.3439, allocations: 1.093 MB / 453 MB, free: 9.074 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.465e-05/0.344, allocations: 56.08 kB / 453 MB, free: 9.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.3443, allocations: 0.6765 MB / 453.7 MB, free: 8.418 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.3446, allocations: 0.4913 MB / 454.2 MB, free: 7.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.3448, allocations: 176.5 kB / 454.4 MB, free: 7.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.455e-05/0.3448, allocations: 314 kB / 454.7 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007972/0.3456, allocations: 0.5501 MB / 455.2 MB, free: 7.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009204/0.3466, allocations: 1.02 MB / 456.2 MB, free: 6.438 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.3482, allocations: 1.602 MB / 457.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.3482, allocations: 6.531 kB / 457.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003849/0.3521, allocations: 2.343 MB / 460.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3521, allocations: 13.34 kB / 460.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.3521, allocations: 17.28 kB / 460.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005617/0.3577, allocations: 1.196 MB / 461.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.3593, allocations: 471.8 kB / 461.9 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.3706, allocations: 12.52 MB / 474.4 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.3725, allocations: 189.8 kB / 474.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.3726, allocations: 83.98 kB / 474.7 MB, free: 6.188 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (233): * Single equations (assignments): 225 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(23,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0006484/0.3732, allocations: 357.5 kB / 475 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.3735, allocations: 162.1 kB / 475.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/0.3764, allocations: 1.536 MB / 476.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.3764, allocations: 16 kB / 476.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.3764, allocations: 11.94 kB / 476.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.3765, allocations: 7.969 kB / 476.7 MB, free: 4.137 MB / 334.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 postOpt removeSimpleEquations (simulation): time 0.00457/0.381, allocations: 3.162 MB / 479.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.381, allocations: 0 / 479.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.3821, allocations: 242.7 kB / 480.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.3832, allocations: 292.5 kB / 480.4 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/0.3832, allocations: 24 kB / 480.4 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006099/0.3893, allocations: 3.83 MB / 484.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3894, allocations: 0 / 484.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/0.3928, allocations: 2.14 MB / 486.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005741/0.3934, allocations: 327 kB / 486.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.3936, allocations: 24 kB / 486.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007524/0.3943, allocations: 51.69 kB / 486.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.3945, allocations: 89.17 kB / 486.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/0.3946, allocations: 35.94 kB / 486.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008869/0.3954, allocations: 0.6924 MB / 487.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3955, allocations: 0 / 487.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00157/0.397, allocations: 0.5387 MB / 488.2 MB, free: 8.492 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (GEN.theta,GEN.omegaPu,GEN.lambdaDPu,GEN.lambdafPu,GEN.lambdaQ1Pu,GEN.lambdaQ2Pu) * 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 (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(36,0,8.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003801/0.4008, allocations: 2.814 MB / 491 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00461/0.4055, allocations: 2.744 MB / 493.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4055, allocations: 0 / 493.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002347/0.4078, allocations: 1.213 MB / 494.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.4089, allocations: 184.4 kB / 495.1 MB, free: 1.516 MB / 350.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.02098/0.4299, allocations: 14.1 MB / 0.4973 GB, free: 2.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007853/0.4307, allocations: 1.219 MB / 0.4985 GB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000862/0.4316, allocations: 199.4 kB / 0.4987 GB, free: 1.145 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006703/0.4322, allocations: 0.55 MB / 0.4992 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4323, allocations: 0 / 0.4992 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05121/0.4835, allocations: 31.65 MB / 0.5301 GB, free: 1.055 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.4837, allocations: 240.4 kB / 0.5303 GB, free: 0.7969 MB / 398.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_StaticGrid.o PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid.c In file included from PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid.c:7: In file included from ./PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid_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_StaticGrid.c:8:10: fatal error: 'PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid_16dae.h' file not found #include "PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid_16dae.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGrid.o] Error 1