Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_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.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_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.007686/0.007686, allocations: 170.8 kB / 15.11 MB, free: 5.969 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.359/1.359, allocations: 223.2 MB / 239 MB, free: 1.773 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.0008905/0.0008906, allocations: 98.64 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.455/0.455, allocations: 78.52 MB / 419.8 MB, free: 44.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005378/0.0005379, allocations: 16 kB / 499.8 MB, free: 2.617 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4632, allocations: 69.34 MB / 0.5558 GB, free: 38.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.5984, allocations: 104.1 MB / 0.6575 GB, free: 2.246 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.5987, allocations: 79.95 kB / 0.6575 GB, free: 2.168 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1385/0.7372, allocations: 50.88 MB / 0.7072 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.086e-06/0.7373, allocations: 0 / 0.7072 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001508/0.7374, allocations: 28 kB / 0.7072 GB, free: 14.94 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.008956/0.7464, allocations: 2.561 MB / 0.7098 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.7465, allocations: 12.03 kB / 0.7098 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005481/0.747, allocations: 139.2 kB / 0.7099 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002964/0.75, allocations: 461.3 kB / 0.7103 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002916/0.753, allocations: 1.073 MB / 0.7114 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003309/0.7533, allocations: 264.1 kB / 0.7116 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003927/0.7537, allocations: 103.8 kB / 0.7117 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/0.7565, allocations: 1.12 MB / 0.7128 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.7565, allocations: 0 / 0.7128 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.7566, allocations: 36 kB / 0.7129 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.7567, allocations: 20 kB / 0.7129 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.7592, allocations: 1.23 MB / 0.7141 GB, free: 7.785 MB / 0.5105 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.008072/0.7673, allocations: 4.361 MB / 0.7183 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.7706, allocations: 2.19 MB / 0.7205 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.7708, allocations: 25.3 kB / 0.7205 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.7708, allocations: 47.86 kB / 0.7205 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=130): time 4.038e-06/0.7708, allocations: 4 kB / 0.7206 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130): time 0.03028/0.8011, allocations: 7.915 MB / 0.7283 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.8012, allocations: 68.72 kB / 0.7283 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/0.804, allocations: 1.355 MB / 0.7297 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003782/0.8044, allocations: 57.64 kB / 0.7297 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005719/0.805, allocations: 0.6218 MB / 0.7303 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006522/0.8057, allocations: 469.1 kB / 0.7308 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-05/0.8058, allocations: 24 kB / 0.7308 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.8059, allocations: 357.9 kB / 0.7311 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.8075, allocations: 0.6663 MB / 0.7318 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.809, allocations: 0.7735 MB / 0.7325 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.8106, allocations: 0.7248 MB / 0.7333 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.8106, allocations: 4 kB / 0.7333 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005385/0.816, allocations: 2.391 MB / 0.7356 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.816, allocations: 4.625 kB / 0.7356 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.8161, allocations: 4 kB / 0.7356 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01185/0.8279, allocations: 3.077 MB / 0.7386 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.829, allocations: 175.7 kB / 0.7388 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00615/0.8351, allocations: 2.687 MB / 0.7414 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/0.8375, allocations: 174.9 kB / 0.7416 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.8376, allocations: 39.98 kB / 0.7416 GB, free: 11.04 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (87): * Single equations (assignments): 86 * 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 {30 38} Notification: Performance of prepare postOptimizeDAE: time 0.000721/0.8383, allocations: 269.6 kB / 0.7419 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/0.8387, allocations: 177.8 kB / 0.742 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.8504, allocations: 4.14 MB / 0.7461 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.8505, allocations: 20 kB / 0.7461 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.8505, allocations: 3.984 kB / 0.7461 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/0.8505, allocations: 3.984 kB / 0.7461 GB, free: 6.402 MB / 0.5417 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 postOpt removeSimpleEquations (simulation): time 0.01468/0.8652, allocations: 6.264 MB / 0.7522 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.8653, allocations: 0 / 0.7522 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.8664, allocations: 167.7 kB / 0.7524 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005678/0.8721, allocations: 1.691 MB / 0.754 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002741/0.8724, allocations: 31.98 kB / 0.7541 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01929/0.8917, allocations: 8.171 MB / 0.762 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8918, allocations: 0 / 0.762 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01458/0.9064, allocations: 5.185 MB / 0.7671 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/0.9077, allocations: 310.8 kB / 0.7674 GB, free: 248 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003152/0.908, allocations: 28 kB / 0.7674 GB, free: 220 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.9097, allocations: 107.9 kB / 0.7675 GB, free: 112 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2901/1.2, allocations: 189.7 kB / 0.7677 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003722/1.2, allocations: 35.16 kB / 0.7677 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002239/1.202, allocations: 1.076 MB / 0.7688 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/1.202, allocations: 1.438 kB / 0.7688 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001965/1.204, allocations: 479.1 kB / 0.7693 GB, free: 138.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (93): * Single equations (assignments): 92 * 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 {16 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.01494/1.219, allocations: 5.82 MB / 0.7749 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006816/1.226, allocations: 2.31 MB / 0.7772 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.226, allocations: 0.5 kB / 0.7772 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00455/1.231, allocations: 1.655 MB / 0.7788 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/1.232, allocations: 142.5 kB / 0.7789 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/1.253, allocations: 13.93 MB / 0.7925 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/1.254, allocations: 1.266 MB / 0.7938 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006897/1.254, allocations: 138.9 kB / 0.7939 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008159/1.255, allocations: 0.6161 MB / 0.7945 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.523e-06/1.255, allocations: 7.719 kB / 0.7945 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07387/1.329, allocations: 39.35 MB / 0.833 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/1.329, allocations: 230 kB / 0.8332 GB, free: 129.3 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_Reference_system.o OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.c In file included from OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.c:7: In file included from ./OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_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_Reference_system.c:7: In file included from ./OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_model.h:24: ./OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_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_Reference_system.o] Error 1