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.001432/0.001432, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001877/0.001877, allocations: 193 kB / 16.25 MB, free: 6.625 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.265/1.265, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06398/0.06398, allocations: 14.15 MB / 283.6 MB, free: 7.27 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.001397/0.001397, allocations: 67.91 kB / 346.8 MB, free: 17.57 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09697/0.09838, allocations: 50.13 MB / 396.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid): time 0.01198/0.1104, allocations: 12.46 MB / 409.4 MB, free: 2.867 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008755/0.1192, allocations: 5.447 MB / 414.8 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.1205, allocations: 31.88 kB / 414.8 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.122, allocations: 0.5405 MB / 415.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004916/0.1269, allocations: 2.111 MB / 417.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.1285, allocations: 0.8014 MB / 418.3 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004642/0.1331, allocations: 3.886 MB / 422.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004177/0.1336, allocations: 249.5 kB / 422.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.1352, allocations: 1.113 MB / 423.5 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.1365, allocations: 1.19 MB / 424.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.1367, allocations: 124 kB / 424.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.1379, allocations: 0.5427 MB / 425.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.1381, allocations: 326.4 kB / 425.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008994/0.139, allocations: 1.046 MB / 426.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1829/0.3219, allocations: 2.511 MB / 429.3 MB, free: 19.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.322, allocations: 1.375 kB / 429.3 MB, free: 19.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.322, allocations: 3.828 kB / 429.3 MB, free: 19.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.967e-05/0.3221, allocations: 2.375 kB / 429.3 MB, free: 19.46 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.009413/0.3315, allocations: 2.908 MB / 432.2 MB, free: 18.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.3316, allocations: 8.938 kB / 432.2 MB, free: 18.45 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002531/0.3318, allocations: 186.7 kB / 432.4 MB, free: 18.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.333, allocations: 289.6 kB / 432.6 MB, free: 18.31 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.335, allocations: 1.113 MB / 433.8 MB, free: 17.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.696e-05/0.3351, allocations: 109 kB / 433.9 MB, free: 17.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.3353, allocations: 140.4 kB / 434 MB, free: 17.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.3375, allocations: 1.273 MB / 435.3 MB, free: 17.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.3376, allocations: 4.875 kB / 435.3 MB, free: 17.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.3377, allocations: 50.5 kB / 435.3 MB, free: 17.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.3377, allocations: 31.69 kB / 435.4 MB, free: 17.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.3397, allocations: 1.295 MB / 436.7 MB, free: 17.71 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.008891/0.3486, allocations: 8.322 MB / 445 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.3509, allocations: 2.09 MB / 447.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006656/0.3516, allocations: 0.5057 MB / 447.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.332e-05/0.3517, allocations: 24.84 kB / 447.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3517, allocations: 49.98 kB / 447.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=140): time 4.008e-06/0.3518, allocations: 0 / 447.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.007574/0.3593, allocations: 2.712 MB / 450.4 MB, free: 9.852 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.3594, allocations: 66.47 kB / 450.4 MB, free: 9.785 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.3606, allocations: 1.091 MB / 451.5 MB, free: 9.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.3e-05/0.3607, allocations: 55.64 kB / 451.6 MB, free: 9.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.361, allocations: 0.6761 MB / 452.2 MB, free: 8.609 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003952/0.3614, allocations: 0.4925 MB / 452.7 MB, free: 8.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005023/0.3619, allocations: 367 kB / 453.1 MB, free: 7.965 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.362, allocations: 301.1 kB / 453.4 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008155/0.3628, allocations: 0.5597 MB / 454 MB, free: 7.383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008982/0.3637, allocations: 1.013 MB / 455 MB, free: 6.531 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.3653, allocations: 1.598 MB / 456.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.3653, allocations: 14.59 kB / 456.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00413/0.3695, allocations: 2.321 MB / 458.9 MB, free: 4.277 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.3695, allocations: 10.25 kB / 458.9 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.3695, allocations: 11.94 kB / 458.9 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006312/0.3759, allocations: 1.185 MB / 460.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.3775, allocations: 465.9 kB / 460.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.3905, allocations: 13.49 MB / 474.1 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.3926, allocations: 186.2 kB / 474.2 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.3928, allocations: 80 kB / 474.3 MB, free: 5.203 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.0007017/0.3935, allocations: 357 kB / 474.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.3937, allocations: 158.1 kB / 474.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/0.3965, allocations: 1.518 MB / 476.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.3965, allocations: 16 kB / 476.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.3965, allocations: 4 kB / 476.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.3966, allocations: 19.38 kB / 476.4 MB, free: 3.172 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.004888/0.4014, allocations: 3.153 MB / 479.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.4015, allocations: 0 / 479.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.4026, allocations: 243.5 kB / 479.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.4036, allocations: 260.4 kB / 480 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.925e-05/0.4037, allocations: 23.98 kB / 480 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006358/0.4101, allocations: 4.157 MB / 484.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4101, allocations: 3.938 kB / 484.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/0.4136, allocations: 2.135 MB / 486.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006371/0.4143, allocations: 330.9 kB / 486.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.4145, allocations: 20 kB / 486.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007522/0.4152, allocations: 51.78 kB / 486.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.4154, allocations: 97.11 kB / 486.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/0.4155, allocations: 31.94 kB / 486.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008851/0.4164, allocations: 0.6885 MB / 487.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.62e-07/0.4164, allocations: 0 / 487.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001546/0.4179, allocations: 0.5345 MB / 488.1 MB, free: 7.254 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.003773/0.4217, allocations: 2.801 MB / 490.9 MB, free: 4.469 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 initialization part: time 0.00552/0.4273, allocations: 2.817 MB / 493.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4273, allocations: 0.8125 kB / 493.7 MB, free: 1.609 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 simulation system equations: time 0.00271/0.43, allocations: 1.214 MB / 494.9 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.4313, allocations: 188.9 kB / 495.1 MB, free: 236 kB / 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.02282/0.4541, allocations: 13.98 MB / 0.4971 GB, free: 1.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009053/0.455, allocations: 1.219 MB / 0.4983 GB, free: 184 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009356/0.456, allocations: 199.5 kB / 0.4985 GB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006958/0.4567, allocations: 0.5447 MB / 0.4991 GB, free: 15.44 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4567, allocations: 0 / 0.4991 GB, free: 15.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07585/0.5326, allocations: 33.06 MB / 0.5313 GB, free: 14.48 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.5328, allocations: 245.2 kB / 0.5316 GB, free: 14.22 MB / 414.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: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_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