Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00595/0.00595, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.2 MB / 239 MB, free: 1.801 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000878/0.000878, allocations: 104.6 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5054/0.5054, allocations: 78.53 MB / 419.8 MB, free: 44.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004058, allocations: 12 kB / 499.8 MB, free: 2.668 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4133, allocations: 69.34 MB / 0.5558 GB, free: 38.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1414/0.5547, allocations: 103.4 MB / 0.6568 GB, free: 2.984 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.5551, allocations: 82.45 kB / 0.6568 GB, free: 2.906 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09505/0.6501, allocations: 36.17 MB / 0.6922 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6501, allocations: 0 / 0.6922 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.204e-05/0.6502, allocations: 24.16 kB / 0.6922 GB, free: 14.54 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005296/0.6555, allocations: 1.994 MB / 0.6941 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.6555, allocations: 8.031 kB / 0.6941 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/0.6557, allocations: 102.5 kB / 0.6942 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/0.6578, allocations: 382.1 kB / 0.6946 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.6592, allocations: 0.8124 MB / 0.6954 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/0.6595, allocations: 225.8 kB / 0.6956 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.6596, allocations: 67.98 kB / 0.6957 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.6616, allocations: 0.9433 MB / 0.6966 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.6616, allocations: 0 / 0.6966 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.293e-05/0.6617, allocations: 24 kB / 0.6966 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.6617, allocations: 16 kB / 0.6966 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.6641, allocations: 1.059 MB / 0.6977 GB, free: 8.758 MB / 0.4948 GB 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.005143/0.6692, allocations: 2.759 MB / 0.7004 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002864/0.6721, allocations: 1.168 MB / 0.7015 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.6722, allocations: 24.97 kB / 0.7015 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.6722, allocations: 47.52 kB / 0.7016 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=94): time 4.508e-06/0.6723, allocations: 0 / 0.7016 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94): time 0.0244/0.6967, allocations: 6.82 MB / 0.7082 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.6968, allocations: 60.41 kB / 0.7083 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.6986, allocations: 0.9366 MB / 0.7092 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.6989, allocations: 37.7 kB / 0.7092 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.6992, allocations: 437.9 kB / 0.7096 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/0.6997, allocations: 346.9 kB / 0.71 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.6997, allocations: 16 kB / 0.71 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6999, allocations: 338 kB / 0.7103 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.7012, allocations: 0.5993 MB / 0.7109 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.7025, allocations: 0.6022 MB / 0.7115 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.7039, allocations: 0.6238 MB / 0.7121 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.7039, allocations: 3.953 kB / 0.7121 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004659/0.7086, allocations: 2.033 MB / 0.7141 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.7086, allocations: 8 kB / 0.7141 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.7087, allocations: 0 / 0.7141 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009355/0.718, allocations: 2.518 MB / 0.7166 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/0.7187, allocations: 115.8 kB / 0.7167 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005441/0.7242, allocations: 2.46 MB / 0.7191 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.7263, allocations: 163.2 kB / 0.7192 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/0.7266, allocations: 23.98 kB / 0.7192 GB, free: 2.371 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 29} Notification: Performance of prepare postOptimizeDAE: time 0.0008271/0.7274, allocations: 209.8 kB / 0.7194 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006931/0.7281, allocations: 114.6 kB / 0.7196 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/0.74, allocations: 3.926 MB / 0.7234 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.7401, allocations: 12 kB / 0.7234 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.7401, allocations: 0 / 0.7234 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.97e-05/0.7402, allocations: 11.97 kB / 0.7234 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.7424, allocations: 1.203 MB / 0.7246 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.7425, allocations: 0 / 0.7246 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007953/0.7433, allocations: 107.9 kB / 0.7247 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005572/0.7488, allocations: 1.685 MB / 0.7263 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/0.749, allocations: 16 kB / 0.7264 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02027/0.7693, allocations: 8.203 MB / 0.7344 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.7694, allocations: 4 kB / 0.7344 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/0.7834, allocations: 4.783 MB / 0.739 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006917/0.7842, allocations: 231.4 kB / 0.7393 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004866/0.7847, allocations: 24 kB / 0.7393 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/0.7863, allocations: 115.9 kB / 0.7394 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000661/0.787, allocations: 176.7 kB / 0.7396 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.7871, allocations: 20 kB / 0.7396 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001396/0.7885, allocations: 0.7523 MB / 0.7403 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.6e-07/0.7885, allocations: 0 / 0.7403 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001517/0.7901, allocations: 363.6 kB / 0.7407 GB, free: 12.18 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq) * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01319/0.8033, allocations: 5.242 MB / 0.7458 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006162/0.8094, allocations: 1.947 MB / 0.7477 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.8095, allocations: 0 / 0.7477 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004406/0.8139, allocations: 1.446 MB / 0.7491 GB, free: 3.496 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.8152, allocations: 106.1 kB / 0.7492 GB, free: 3.391 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/0.834, allocations: 9.199 MB / 0.7582 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007802/0.8348, allocations: 1.081 MB / 0.7592 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005851/0.8354, allocations: 90.7 kB / 0.7593 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008017/0.8362, allocations: 427.3 kB / 0.7597 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of SimCode: time 1.443e-06/0.8362, allocations: 0 / 0.7597 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3163/1.152, allocations: 29.22 MB / 0.7883 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/1.153, allocations: 235.5 kB / 0.7885 GB, free: 145.9 MB / 0.5573 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.o OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.c In file included from OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.c:7: In file included from ./OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.c:7: In file included from ./OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_model.h:24: ./OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_functions.h:153:1: error: unknown type name 'OpenIPSL_Types_ComplexPower' OpenIPSL_Types_ComplexPower omc_OpenIPSL_Types_ComplexPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 1 error generated. make: *** [: OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.o] Error 1