Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.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.Controlled.ControlledGridWithControlledGen,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen",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.004578/0.004578, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001076/0.001076, allocations: 191.1 kB / 16.67 MB, free: 5.969 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.403/1.403, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.064/0.064, allocations: 14.17 MB / 284.1 MB, free: 6.984 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.002821/0.002821, allocations: 67.89 kB / 398.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.3006, allocations: 50.13 MB / 448.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen): time 0.01585/0.3165, allocations: 16.26 MB / 464.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01286/0.3294, allocations: 7.177 MB / 471.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00445/0.3339, allocations: 75.56 kB / 471.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003301/0.3373, allocations: 0.8495 MB / 472.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0081/0.3454, allocations: 2.723 MB / 475.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003665/0.3491, allocations: 1.727 MB / 477.1 MB, free: 9.977 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2647:11-2647:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.007071/0.3561, allocations: 5.485 MB / 482.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.3578, allocations: 0.8703 MB / 483.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003043/0.3609, allocations: 1.876 MB / 485.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003736/0.3646, allocations: 1.914 MB / 487.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001642/0.3663, allocations: 356 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/0.3692, allocations: 0.7731 MB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001388/0.3706, allocations: 0.7083 MB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00327/0.3739, allocations: 1.773 MB / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008098/0.382, allocations: 5.021 MB / 495.8 MB, free: 7.113 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.382, allocations: 0 / 495.8 MB, free: 7.113 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.382, allocations: 0 / 495.8 MB, free: 7.113 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001461/0.3822, allocations: 0 / 495.8 MB, free: 7.113 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01431/0.3965, allocations: 4.423 MB / 0.4885 GB, free: 2.602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3966, allocations: 12.03 kB / 0.4885 GB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005381/0.3971, allocations: 283.3 kB / 0.4888 GB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.3989, allocations: 446.7 kB / 0.4892 GB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004332/0.4033, allocations: 2.174 MB / 0.4914 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.4035, allocations: 168 kB / 0.4915 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004701/0.4039, allocations: 231.9 kB / 0.4917 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004222/0.4082, allocations: 2.195 MB / 0.4939 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.49e-05/0.4082, allocations: 0 / 0.4939 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/0.4084, allocations: 84 kB / 0.494 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/0.4085, allocations: 52 kB / 0.494 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004141/0.4126, allocations: 2.041 MB / 0.496 GB, free: 10.73 MB / 382.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.02203/0.4347, allocations: 13.17 MB / 0.5089 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004666/0.4394, allocations: 2.806 MB / 0.5116 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/0.4411, allocations: 0.9049 MB / 0.5125 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.4412, allocations: 29.97 kB / 0.5125 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002042/0.4433, allocations: 1.142 MB / 0.5136 GB, free: 7.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=209): time 6.572e-06/0.4433, allocations: 0 / 0.5136 GB, free: 7.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=209): time 0.01252/0.4558, allocations: 3.953 MB / 0.5175 GB, free: 3.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002569/0.4561, allocations: 372.1 kB / 0.5179 GB, free: 2.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003874/0.46, allocations: 1.909 MB / 0.5197 GB, free: 1.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003994/0.4604, allocations: 69.7 kB / 0.5198 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.4615, allocations: 1.08 MB / 0.5208 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009262/0.4625, allocations: 0.7629 MB / 0.5216 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000754/0.4632, allocations: 481.7 kB / 0.522 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4633, allocations: 305.1 kB / 0.5223 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.4652, allocations: 0.9266 MB / 0.5232 GB, free: 13.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.4674, allocations: 1.468 MB / 0.5247 GB, free: 11.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003705/0.4711, allocations: 2.355 MB / 0.527 GB, free: 9.156 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.4711, allocations: 4 kB / 0.527 GB, free: 9.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=344) (initialization): time 0.009726/0.4809, allocations: 4.008 MB / 0.5309 GB, free: 5.051 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/0.481, allocations: 67.39 kB / 0.531 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.481, allocations: 16.62 kB / 0.531 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009945/0.4909, allocations: 1.851 MB / 0.5328 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/0.4937, allocations: 0.5227 MB / 0.5333 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02969/0.5234, allocations: 22.26 MB / 0.555 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/0.5263, allocations: 266.4 kB / 0.5553 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003692/0.5267, allocations: 95.98 kB / 0.5554 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002661/0.5293, allocations: 1.212 MB / 0.5566 GB, free: 9.148 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002072/0.5314, allocations: 1.351 MB / 0.5579 GB, free: 7.594 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003386/0.5348, allocations: 2.195 MB / 0.56 GB, free: 5.188 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.479e-05/0.5348, allocations: 7.938 kB / 0.56 GB, free: 5.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=344) (initialization_lambda0): time 0.006998/0.5419, allocations: 3.157 MB / 0.5631 GB, free: 1.934 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.062e-05/0.5419, allocations: 67.39 kB / 0.5632 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.542, allocations: 12 kB / 0.5632 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007137/0.5491, allocations: 1.308 MB / 0.5645 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002696/0.5518, allocations: 0.5929 MB / 0.565 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/0.5684, allocations: 17.05 MB / 0.5817 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/0.5709, allocations: 190.9 kB / 0.5819 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/0.5712, allocations: 95.98 kB / 0.582 GB, free: 13.16 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 15 (NTHV.fault,$PRE.NTHV.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,NTHV.Y.im,$PRE.NTHV.Y.im,NTHV.Y.re,$PRE.NTHV.Y.re,ctrlGEN.PSS.firstWashoutVsi2.integrator.local_reset,ctrlGEN.PSS.secondWashoutVsi1.integrator.local_reset,ctrlGEN.PSS.firstWashoutVsi1.integrator.local_reset,ctrlGEN.AVR.firstOrderLim.I.local_reset,ctrlGEN.TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(38,0), (2,0), (2,0), (2,0), (2,0), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0006975/0.5719, allocations: 400.7 kB / 0.5824 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007134/0.5726, allocations: 262.4 kB / 0.5826 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004919/0.5776, allocations: 2.432 MB / 0.585 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.5776, allocations: 16 kB / 0.585 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.5776, allocations: 8 kB / 0.585 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.532e-05/0.5776, allocations: 11.95 kB / 0.585 GB, free: 9.992 MB / 478.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.008826/0.5865, allocations: 5.385 MB / 0.5903 GB, free: 4.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.5865, allocations: 0 / 0.5903 GB, free: 4.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/0.5882, allocations: 355.5 kB / 0.5906 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.5893, allocations: 268.5 kB / 0.5909 GB, free: 3.836 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/0.5895, allocations: 47.98 kB / 0.5909 GB, free: 3.789 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1938/0.7834, allocations: 4.599 MB / 0.5954 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7834, allocations: 1.406 kB / 0.5954 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006539/0.7899, allocations: 3.496 MB / 0.5988 GB, free: 137.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/0.7912, allocations: 0.5658 MB / 0.5994 GB, free: 137 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003385/0.7916, allocations: 46.09 kB / 0.5994 GB, free: 137 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/0.793, allocations: 83.36 kB / 0.5995 GB, free: 137 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/0.7933, allocations: 144.5 kB / 0.5996 GB, free: 137 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.614e-05/0.7934, allocations: 49.38 kB / 0.5997 GB, free: 137 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001716/0.7952, allocations: 1.256 MB / 0.6009 GB, free: 136.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.32e-07/0.7952, allocations: 0 / 0.6009 GB, free: 136.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003924/0.7991, allocations: 1.372 MB / 0.6022 GB, free: 136.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (ctrlGEN.GEN.theta,ctrlGEN.GEN.omegaPu,ctrlGEN.GEN.lambdaDPu,ctrlGEN.GEN.lambdafPu,ctrlGEN.GEN.lambdaQ1Pu,ctrlGEN.GEN.lambdaQ2Pu,ctrlGEN.TGOV.firstOrderLim.I.y,ctrlGEN.TGOV.leadLag.firstOrder.y,ctrlGEN.AVR.leadLag.firstOrder.y,ctrlGEN.AVR.firstOrderLim.I.y,ctrlGEN.PSS.firstWashoutVsi1.integrator.y,ctrlGEN.PSS.secondWashoutVsi1.integrator.y,ctrlGEN.PSS.firstWashoutVsi2.integrator.y,ctrlGEN.PSS.leadLag1.firstOrder.y,ctrlGEN.PSS.leadLag2.firstOrder.y,ctrlGEN.PSS.firstOrderVsi2.firstOrder1.y) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,NTHV.Y.re,NTHV.Y.im,NTHV.fault) * Number of discrete states: 7 ($whenCondition4,NTHV.Y.im,NTHV.Y.re,$whenCondition3,NTHV.fault,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 2 * 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 {(38,0,7.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006017/0.8051, allocations: 4.212 MB / 0.6064 GB, free: 134.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01216/0.8173, allocations: 7.835 MB / 0.614 GB, free: 130.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.8173, allocations: 0 / 0.614 GB, free: 130.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003181/0.8205, allocations: 1.77 MB / 0.6157 GB, free: 129.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/0.8231, allocations: 492.8 kB / 0.6162 GB, free: 129.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03558/0.8587, allocations: 21.88 MB / 0.6376 GB, free: 109.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009233/0.8597, allocations: 1.622 MB / 0.6392 GB, free: 107.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001471/0.8611, allocations: 341.1 kB / 0.6395 GB, free: 107.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/0.8623, allocations: 0.9952 MB / 0.6405 GB, free: 106.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.323e-06/0.8623, allocations: 4 kB / 0.6405 GB, free: 106.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/0.9711, allocations: 69.29 MB / 0.7081 GB, free: 36.88 MB / 478.1 MB Error: Error building simulator. Build log: cmd: cd 'PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.fmutmp/sources/' && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++ -std=c++17' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_dynamic -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.fmutmp/sources/../binaries/linux64 -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.fmutmp/sources/build_cmake_dynamic [ 0%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dgemm.c.o [ 1%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dger.c.o [ 2%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dgesv.c.o [ 3%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dgetf2.c.o [ 4%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dgetrf.c.o [ 5%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dgetrs.c.o [ 6%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dlamch.c.o [ 7%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dlaswp.c.o [ 8%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dogleg_.c.o [ 9%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dpmpar_.c.o [ 10%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dscal.c.o [ 11%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dswap.c.o [ 12%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/dtrsm.c.o [ 13%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/enorm_.c.o [ 14%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/hybrj_.c.o [ 15%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/i_nint.c.o [ 16%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/idamax.c.o [ 17%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/ieeeck.c.o [ 18%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/ilaenv.c.o [ 19%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/iparmq.c.o [ 20%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/lsame.c.o [ 21%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/pow_di.c.o [ 22%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/qform_.c.o [ 23%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/qrfac_.c.o [ 24%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/r1mpyq_.c.o [ 25%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/r1updt_.c.o [ 26%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/s_cmp.c.o [ 27%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/s_copy.c.o [ 28%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/external_solvers/xerbla.c.o [ 29%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/gc/memory_pool.c.o [ 30%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/gc/omc_gc.c.o [ 31%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/math-support/pivot.c.o [ 32%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/meta/meta_modelica_catch.c.o [ 33%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/jacobian_util.c.o [ 33%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/omc_simulation_util.c.o [ 34%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/options.c.o [ 35%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/simulation_info_json.c.o [ 36%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/simulation_omc_assert.c.o [ 37%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/delay.c.o [ 38%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/fmi_events.c.o [ 39%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/initialization/initialization.c.o [ 40%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/linearSolverLapack.c.o [ 41%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/linearSolverTotalPivot.c.o [ 42%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/linearSystem.c.o [ 43%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/model_help.c.o [ 44%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/nonlinearSolverHomotopy.c.o [ 45%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/nonlinearSolverHybrd.c.o [ 46%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/nonlinearSystem.c.o [ 47%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/nonlinearValuesList.c.o [ 48%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/omc_math.c.o [ 49%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/spatialDistribution.c.o [ 50%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/stateset.c.o [ 51%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/simulation/solver/synchronous.c.o [ 52%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/ModelicaUtilities.c.o [ 53%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/base_array.c.o [ 54%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/boolean_array.c.o [ 55%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/context.c.o [ 56%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/division.c.o [ 57%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/doubleEndedList.c.o [ 58%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/generic_array.c.o [ 59%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/index_spec.c.o [ 60%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/integer_array.c.o [ 61%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/list.c.o [ 62%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/modelica_string.c.o [ 63%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/modelica_string_lit.c.o [ 64%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/omc_error.c.o [ 65%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/omc_file.c.o [ 66%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/omc_init.c.o [ 66%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/omc_mmap.c.o [ 67%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/omc_msvc.c.o [ 68%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/omc_numbers.c.o [ 69%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/parallel_helper.c.o [ 70%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/rational.c.o [ 71%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/real_array.c.o [ 72%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/ringbuffer.c.o [ 73%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/simulation_options.c.o [ 74%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/string_array.c.o [ 75%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/utility.c.o [ 76%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/util/varinfo.c.o [ 77%] Building C object CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.c.o /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.fmutmp/sources/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.c:8:10: fatal error: 'PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen_16dae.h' file not found #include "PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen_16dae.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. gmake[2]: *** [CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/build.make:1182: CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithControlledGen.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2