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.001193/0.001193, 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.001329/0.001329, allocations: 198.1 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.157/1.157, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05567/0.05567, allocations: 14.16 MB / 283.5 MB, free: 7.309 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.001214/0.001214, allocations: 68.47 kB / 346.6 MB, free: 17.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06607/0.06729, allocations: 50.15 MB / 396.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByModifierUsingExtends): time 0.009493/0.07681, allocations: 12.48 MB / 409.2 MB, free: 2.941 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007259/0.08409, allocations: 5.463 MB / 414.7 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.08538, allocations: 31.88 kB / 414.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.08687, allocations: 0.5327 MB / 415.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004638/0.09153, allocations: 2.147 MB / 417.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.09305, allocations: 0.8174 MB / 418.2 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003755/0.09682, allocations: 3.734 MB / 421.9 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.09722, allocations: 237.9 kB / 422.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.09845, allocations: 0.968 MB / 423.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009233/0.09938, allocations: 1.097 MB / 424.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.09953, allocations: 72 kB / 424.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008858/0.1004, allocations: 447.7 kB / 424.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.1006, allocations: 278.4 kB / 425 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007299/0.1014, allocations: 0.9596 MB / 426 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.13/0.2313, allocations: 2.431 MB / 428.4 MB, free: 18.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2314, allocations: 1.609 kB / 428.4 MB, free: 18.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2314, allocations: 3.609 kB / 428.4 MB, free: 18.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.653e-05/0.2314, allocations: 0 / 428.4 MB, free: 18.84 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.008525/0.24, allocations: 2.892 MB / 431.3 MB, free: 17.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.24, allocations: 9.5 kB / 431.3 MB, free: 17.9 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002428/0.2403, allocations: 189.2 kB / 431.5 MB, free: 17.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.2414, allocations: 285.4 kB / 431.8 MB, free: 17.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.2433, allocations: 1.117 MB / 432.9 MB, free: 17.33 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-05/0.2433, allocations: 109 kB / 433 MB, free: 17.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.2435, allocations: 144.5 kB / 433.1 MB, free: 17.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.2454, allocations: 1.282 MB / 434.4 MB, free: 17.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.2455, allocations: 1.281 kB / 434.4 MB, free: 17.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.476e-05/0.2456, allocations: 53.73 kB / 434.5 MB, free: 17.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.2456, allocations: 30.22 kB / 434.5 MB, free: 17.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.2476, allocations: 1.298 MB / 435.8 MB, free: 17.16 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.007921/0.2555, allocations: 8.323 MB / 444.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.2575, allocations: 2.112 MB / 446.2 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006741/0.2582, allocations: 0.5239 MB / 446.7 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.881e-05/0.2583, allocations: 19.81 kB / 446.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.2583, allocations: 49.53 kB / 446.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=144): time 2.705e-06/0.2583, allocations: 4 kB / 446.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=144): time 0.006956/0.2653, allocations: 2.693 MB / 449.5 MB, free: 9.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.2654, allocations: 70.41 kB / 449.6 MB, free: 9.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.2664, allocations: 1.073 MB / 450.7 MB, free: 8.863 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.248e-05/0.2665, allocations: 55.23 kB / 450.7 MB, free: 8.809 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.2668, allocations: 0.6657 MB / 451.4 MB, free: 8.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.2671, allocations: 0.5056 MB / 451.9 MB, free: 7.883 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004111/0.2675, allocations: 367.3 kB / 452.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.084e-05/0.2675, allocations: 306.4 kB / 452.5 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008447/0.2684, allocations: 0.562 MB / 453.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009175/0.2693, allocations: 1.015 MB / 454.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.2709, allocations: 1.613 MB / 455.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.2709, allocations: 3.75 kB / 455.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.003964/0.2749, allocations: 2.344 MB / 458.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2749, allocations: 9.406 kB / 458.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.275, allocations: 14.53 kB / 458.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00571/0.2807, allocations: 1.179 MB / 459.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.2822, allocations: 463.9 kB / 459.7 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.2931, allocations: 12.49 MB / 472.2 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.2948, allocations: 186.7 kB / 472.4 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.295, allocations: 79.98 kB / 472.5 MB, free: 6.273 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.0005956/0.2956, allocations: 357.7 kB / 472.8 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.2958, allocations: 158.1 kB / 473 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.2986, allocations: 1.561 MB / 474.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.2986, allocations: 18.84 kB / 474.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2986, allocations: 4.688 kB / 474.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.2986, allocations: 11.97 kB / 474.6 MB, free: 4.203 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.004425/0.3031, allocations: 3.198 MB / 477.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.3031, allocations: 0 / 477.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.3041, allocations: 257.6 kB / 478 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.3052, allocations: 248.5 kB / 478.3 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-05/0.3052, allocations: 20 kB / 478.3 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005879/0.3111, allocations: 3.796 MB / 482.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3111, allocations: 1.203 kB / 482.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003566/0.3147, allocations: 2.192 MB / 484.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005728/0.3153, allocations: 327 kB / 484.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.3155, allocations: 29.75 kB / 484.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/0.3162, allocations: 43.69 kB / 484.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.3164, allocations: 93.17 kB / 484.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/0.3164, allocations: 32 kB / 484.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008036/0.3173, allocations: 0.6844 MB / 485.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3173, allocations: 0 / 485.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001448/0.3187, allocations: 0.5309 MB / 486 MB, free: 8.562 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.00392/0.3227, allocations: 2.866 MB / 488.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004504/0.3272, allocations: 2.767 MB / 491.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3272, allocations: 0 / 491.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00228/0.3295, allocations: 1.223 MB / 492.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3306, allocations: 188.6 kB / 493 MB, free: 1.5 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.0205/0.3511, allocations: 14.08 MB / 0.4952 GB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/0.3518, allocations: 1.219 MB / 0.4964 GB, free: 1.355 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008142/0.3526, allocations: 199.5 kB / 0.4966 GB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/0.3532, allocations: 0.5501 MB / 0.4972 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3532, allocations: 4 kB / 0.4972 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04655/0.3998, allocations: 32.13 MB / 0.5285 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.4, allocations: 273.7 kB / 0.5288 GB, free: 220 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_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