Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridComputedParameters.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.StaticGridComputedParameters,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridComputedParameters,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters",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.0008549/0.0008549, allocations: 91.84 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.00486/0.00486, allocations: 169.9 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.255/1.255, 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.05712/0.05712, allocations: 14.16 MB / 284.9 MB, free: 7.043 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.000594/0.0005941, allocations: 12 kB / 349 MB, free: 17.33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.09485, allocations: 51.11 MB / 400.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridComputedParameters): time 0.01025/0.1052, allocations: 11.86 MB / 411.9 MB, free: 2.238 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008367/0.1136, allocations: 5.362 MB / 417.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008465/0.1144, allocations: 31.88 kB / 417.3 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.1157, allocations: 0.5483 MB / 417.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00443/0.1201, allocations: 2.117 MB / 420 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.1216, allocations: 0.8099 MB / 420.8 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003884/0.1255, allocations: 3.718 MB / 424.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.1259, allocations: 237.9 kB / 424.8 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.1273, allocations: 0.9602 MB / 425.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.1285, allocations: 1.089 MB / 426.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.1286, allocations: 64 kB / 426.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009732/0.1296, allocations: 439.7 kB / 427.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.1298, allocations: 270.4 kB / 427.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008395/0.1307, allocations: 0.9691 MB / 428.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1723/0.3029, allocations: 2.376 MB / 430.9 MB, free: 18.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.303, allocations: 2.188 kB / 430.9 MB, free: 18.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.303, allocations: 0 / 430.9 MB, free: 18.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.625e-05/0.3031, allocations: 0 / 430.9 MB, free: 18.52 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.008214/0.3113, allocations: 2.624 MB / 433.5 MB, free: 17.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3113, allocations: 10.88 kB / 433.5 MB, free: 17.58 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002706/0.3116, allocations: 186.3 kB / 433.7 MB, free: 17.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.3127, allocations: 285.8 kB / 434 MB, free: 17.44 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.3146, allocations: 1.118 MB / 435.1 MB, free: 17.01 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.42e-05/0.3147, allocations: 113.2 kB / 435.2 MB, free: 17.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/0.3149, allocations: 139 kB / 435.4 MB, free: 17.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.3171, allocations: 1.284 MB / 436.7 MB, free: 16.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.3171, allocations: 0 / 436.7 MB, free: 16.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-05/0.3172, allocations: 53.53 kB / 436.7 MB, free: 16.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.3172, allocations: 31.5 kB / 436.7 MB, free: 16.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.3193, allocations: 1.304 MB / 438 MB, free: 16.84 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.008632/0.3279, allocations: 8.382 MB / 446.4 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002314/0.3302, allocations: 2.087 MB / 448.5 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006827/0.3309, allocations: 0.5174 MB / 449 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.622e-05/0.331, allocations: 19.59 kB / 449 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.331, allocations: 49.12 kB / 449.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=140): time 3.116e-06/0.3311, allocations: 5.375 kB / 449.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.007579/0.3386, allocations: 2.73 MB / 451.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.3387, allocations: 70.17 kB / 451.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.34, allocations: 1.096 MB / 453 MB, free: 8.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.733e-05/0.3401, allocations: 55.8 kB / 453 MB, free: 8.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.3405, allocations: 0.675 MB / 453.7 MB, free: 8.273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.3408, allocations: 0.4924 MB / 454.2 MB, free: 7.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.341, allocations: 176.5 kB / 454.4 MB, free: 7.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.015e-05/0.341, allocations: 310.4 kB / 454.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008075/0.3418, allocations: 0.5543 MB / 455.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009181/0.3428, allocations: 1.012 MB / 456.3 MB, free: 6.309 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.3444, allocations: 1.602 MB / 457.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.3444, allocations: 2.969 kB / 457.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.003963/0.3484, allocations: 2.343 MB / 460.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.3485, allocations: 9.125 kB / 460.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.3485, allocations: 13.53 kB / 460.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005756/0.3542, allocations: 1.199 MB / 461.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.3561, allocations: 471.8 kB / 461.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.3679, allocations: 12.53 MB / 474.4 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/0.37, allocations: 186.2 kB / 474.6 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.3702, allocations: 86.83 kB / 474.7 MB, free: 6.062 MB / 334.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 (234): * Single equations (assignments): 226 * 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.0006678/0.3708, allocations: 357.8 kB / 475 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.3711, allocations: 154.1 kB / 475.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/0.374, allocations: 1.535 MB / 476.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.374, allocations: 16 kB / 476.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.374, allocations: 7.938 kB / 476.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.374, allocations: 7.969 kB / 476.7 MB, free: 4.023 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.004526/0.3786, allocations: 3.169 MB / 479.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3786, allocations: 0 / 479.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.3796, allocations: 248.4 kB / 480.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.3807, allocations: 280.5 kB / 480.4 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/0.3808, allocations: 34.83 kB / 480.5 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006203/0.387, allocations: 3.831 MB / 484.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.387, allocations: 4 kB / 484.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/0.3906, allocations: 2.136 MB / 486.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006897/0.3913, allocations: 331 kB / 486.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.3915, allocations: 20 kB / 486.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007965/0.3923, allocations: 59.67 kB / 486.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.3925, allocations: 88.75 kB / 486.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.3926, allocations: 36.12 kB / 487 MB, free: 9.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009283/0.3935, allocations: 0.6964 MB / 487.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3935, allocations: 3.938 kB / 487.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001681/0.3952, allocations: 0.531 MB / 488.2 MB, free: 8.367 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.003862/0.399, allocations: 2.822 MB / 491 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00463/0.4037, allocations: 2.752 MB / 493.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4037, allocations: 192 / 493.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.4061, allocations: 1.207 MB / 495 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.4074, allocations: 180.8 kB / 495.1 MB, free: 1.379 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.02161/0.429, allocations: 14.13 MB / 0.4973 GB, free: 2.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007915/0.4298, allocations: 1.219 MB / 0.4985 GB, free: 1.188 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008539/0.4307, allocations: 199.4 kB / 0.4987 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000687/0.4314, allocations: 0.55 MB / 0.4993 GB, free: 448 kB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4314, allocations: 0 / 0.4993 GB, free: 448 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05161/0.483, allocations: 31.74 MB / 0.5303 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/0.4833, allocations: 263 kB / 0.5305 GB, free: 496 kB / 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_StaticGridComputedParameters.o PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters.c In file included from PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters.c:7: In file included from ./PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters_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_StaticGridComputedParameters.c:8:10: fatal error: 'PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters_16dae.h' file not found #include "PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters_16dae.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Static_StaticGridComputedParameters.o] Error 1