Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends.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.LoadChange.LoadChangeByModifierUsingExtends,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifierUsingExtends",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifierUsingExtends",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.00112/0.00112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001121/0.001121, allocations: 190.7 kB / 16.25 MB, free: 6.633 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.438/1.438, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06113/0.06113, allocations: 14.15 MB / 283.6 MB, free: 7.258 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.001425/0.001425, allocations: 71.5 kB / 346.8 MB, free: 17.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1189, allocations: 50.13 MB / 396.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends): time 0.01431/0.1332, allocations: 12.49 MB / 409.4 MB, free: 2.824 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.1436, allocations: 5.436 MB / 414.8 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002822/0.1465, allocations: 35.81 kB / 414.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.1483, allocations: 0.5405 MB / 415.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006241/0.1547, allocations: 2.12 MB / 417.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.1566, allocations: 0.8054 MB / 418.3 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005505/0.1621, allocations: 3.894 MB / 422.2 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006647/0.1627, allocations: 249.5 kB / 422.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.1652, allocations: 1.113 MB / 423.6 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002593/0.1678, allocations: 1.194 MB / 424.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006025/0.1684, allocations: 128 kB / 424.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.1708, allocations: 0.5427 MB / 425.4 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006938/0.1715, allocations: 330.4 kB / 425.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002279/0.1738, allocations: 1.042 MB / 426.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.224/0.3979, allocations: 2.516 MB / 429.3 MB, free: 19.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3979, allocations: 0.6562 kB / 429.3 MB, free: 19.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3979, allocations: 0 / 429.3 MB, free: 19.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.985e-05/0.398, allocations: 1.375 kB / 429.3 MB, free: 19.51 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.008891/0.4069, allocations: 2.911 MB / 432.2 MB, free: 18.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.407, allocations: 10.92 kB / 432.2 MB, free: 18.5 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002518/0.4072, allocations: 195.2 kB / 432.4 MB, free: 18.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.4084, allocations: 286.6 kB / 432.7 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.4104, allocations: 1.115 MB / 433.8 MB, free: 17.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.4105, allocations: 107.2 kB / 433.9 MB, free: 17.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.4107, allocations: 139.1 kB / 434.1 MB, free: 17.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.4131, allocations: 1.278 MB / 435.4 MB, free: 17.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/0.4131, allocations: 1.984 kB / 435.4 MB, free: 17.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.4133, allocations: 48.47 kB / 435.4 MB, free: 17.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/0.4133, allocations: 30.84 kB / 435.4 MB, free: 17.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.4159, allocations: 1.303 MB / 436.7 MB, free: 17.77 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.009578/0.4255, allocations: 8.326 MB / 445.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.4279, allocations: 2.103 MB / 447.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008258/0.4287, allocations: 0.5319 MB / 447.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.4288, allocations: 23.31 kB / 447.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.4289, allocations: 45.38 kB / 447.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=144): time 5.059e-06/0.4289, allocations: 4 kB / 447.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=144): time 0.007822/0.4367, allocations: 2.699 MB / 450.5 MB, free: 9.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.4368, allocations: 70.36 kB / 450.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.4384, allocations: 1.068 MB / 451.6 MB, free: 9.281 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.4385, allocations: 55.27 kB / 451.7 MB, free: 9.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.4389, allocations: 0.6634 MB / 452.3 MB, free: 8.637 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000429/0.4394, allocations: 0.5107 MB / 452.8 MB, free: 8.195 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004761/0.4398, allocations: 363.5 kB / 453.2 MB, free: 7.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.488e-05/0.4399, allocations: 312.6 kB / 453.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008953/0.4408, allocations: 0.556 MB / 454 MB, free: 7.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.4419, allocations: 1.017 MB / 455.1 MB, free: 6.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/0.4438, allocations: 1.614 MB / 456.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.4438, allocations: 3.5 kB / 456.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.004969/0.4488, allocations: 2.34 MB / 459 MB, free: 4.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.4488, allocations: 15.8 kB / 459 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.4489, allocations: 16.58 kB / 459.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006023/0.4549, allocations: 1.168 MB / 460.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.4567, allocations: 475.6 kB / 460.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.4706, allocations: 13.48 MB / 474.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/0.4731, allocations: 186.2 kB / 474.3 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.4733, allocations: 83.98 kB / 474.4 MB, free: 5.16 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 (236): * Single equations (assignments): 228 * 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.000835/0.4741, allocations: 362.3 kB / 474.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.4744, allocations: 154.1 kB / 474.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/0.4776, allocations: 1.557 MB / 476.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.4776, allocations: 12 kB / 476.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4776, allocations: 8 kB / 476.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.4776, allocations: 7.969 kB / 476.5 MB, free: 3.094 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.005391/0.483, allocations: 3.203 MB / 479.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.483, allocations: 0 / 479.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.4842, allocations: 246.4 kB / 480 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/0.4852, allocations: 260.3 kB / 480.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-05/0.4853, allocations: 29.25 kB / 480.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006808/0.4921, allocations: 4.152 MB / 484.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4921, allocations: 4 kB / 484.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/0.4961, allocations: 2.192 MB / 486.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009904/0.4971, allocations: 327 kB / 486.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.4973, allocations: 24 kB / 486.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007854/0.4981, allocations: 47.69 kB / 487 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.4984, allocations: 99.47 kB / 487.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/0.4984, allocations: 32 kB / 487.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009631/0.4994, allocations: 0.6837 MB / 487.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4994, allocations: 0 / 487.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001712/0.5011, allocations: 0.5309 MB / 488.3 MB, free: 7.074 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 (111): * Single equations (assignments): 110 * 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.004394/0.5055, allocations: 2.848 MB / 491.2 MB, free: 4.234 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.006186/0.5117, allocations: 2.854 MB / 494 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5117, allocations: 2.844 kB / 494 MB, free: 1.34 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.00249/0.5142, allocations: 1.234 MB / 495.3 MB, free: 116 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.5157, allocations: 187.2 kB / 495.4 MB, free: 15.94 MB / 366.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.02374/0.5394, allocations: 14.08 MB / 0.4976 GB, free: 1.051 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009336/0.5404, allocations: 1.227 MB / 0.4988 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009189/0.5413, allocations: 191.5 kB / 0.499 GB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007259/0.5421, allocations: 0.5579 MB / 0.4995 GB, free: 15.04 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5421, allocations: 0 / 0.4995 GB, free: 15.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07046/0.6125, allocations: 33.25 MB / 0.532 GB, free: 13.93 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/0.6128, allocations: 277.7 kB / 0.5322 GB, free: 13.55 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_LoadChange_LoadChangeByModifierUsingExtends.o PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifierUsingExtends.c In file included from PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifierUsingExtends.c:7: In file included from ./PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifierUsingExtends_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_LoadChange_LoadChangeByModifierUsingExtends.c:8:10: fatal error: 'PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifierUsingExtends_16dae.h' file not found #include "PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifierUsingExtends_16dae.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_LoadChange_LoadChangeByModifierUsingExtends.o] Error 1