Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.004748/0.004748, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.4 MB / 221.3 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000829/0.000829, allocations: 98.8 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06583/0.06583, allocations: 12.19 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4167/0.4167, allocations: 78.52 MB / 459.6 MB, free: 4.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004546, allocations: 15.5 kB / 0.528 GB, free: 35.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1195, allocations: 69.24 MB / 0.5956 GB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3689/0.4885, allocations: 105.6 MB / 0.6987 GB, free: 37.51 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.4887, allocations: 78.59 kB / 0.6988 GB, free: 37.51 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1125/0.6013, allocations: 49.65 MB / 0.7473 GB, free: 28.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.6013, allocations: 0 / 0.7473 GB, free: 28.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.522e-05/0.6013, allocations: 27.31 kB / 0.7473 GB, free: 28.59 MB / 474.7 MB 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.005609/0.607, allocations: 2.559 MB / 0.7498 GB, free: 27.12 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.607, allocations: 19.28 kB / 0.7498 GB, free: 27.12 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.6072, allocations: 137.9 kB / 0.75 GB, free: 27.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.6092, allocations: 467.7 kB / 0.7504 GB, free: 26.87 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.6106, allocations: 1.085 MB / 0.7515 GB, free: 26.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.6108, allocations: 252.5 kB / 0.7517 GB, free: 26.11 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.6109, allocations: 88.34 kB / 0.7518 GB, free: 26.11 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.6127, allocations: 1.134 MB / 0.7529 GB, free: 25.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.6127, allocations: 0 / 0.7529 GB, free: 25.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-05/0.6128, allocations: 37.84 kB / 0.7529 GB, free: 25.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.6128, allocations: 19.53 kB / 0.7529 GB, free: 25.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.6148, allocations: 1.231 MB / 0.7541 GB, free: 25.62 MB / 474.7 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.00567/0.6205, allocations: 4.363 MB / 0.7584 GB, free: 23.33 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.623, allocations: 2.197 MB / 0.7606 GB, free: 22.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.816e-05/0.6231, allocations: 24.95 kB / 0.7606 GB, free: 22.15 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.6232, allocations: 46.97 kB / 0.7606 GB, free: 22.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=130): time 2.414e-06/0.6232, allocations: 0 / 0.7606 GB, free: 22.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=130): time 0.0263/0.6495, allocations: 7.912 MB / 0.7683 GB, free: 19.33 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.6495, allocations: 72.34 kB / 0.7684 GB, free: 19.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.6514, allocations: 1.354 MB / 0.7697 GB, free: 18.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.6515, allocations: 48.36 kB / 0.7698 GB, free: 18.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.6518, allocations: 0.6293 MB / 0.7704 GB, free: 18.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003561/0.6522, allocations: 468.1 kB / 0.7708 GB, free: 18.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.6523, allocations: 25.09 kB / 0.7709 GB, free: 18.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.6524, allocations: 351.5 kB / 0.7712 GB, free: 18.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.6535, allocations: 0.6667 MB / 0.7719 GB, free: 17.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.6547, allocations: 0.7776 MB / 0.7726 GB, free: 17.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.6558, allocations: 0.7259 MB / 0.7733 GB, free: 17.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.6559, allocations: 3.953 kB / 0.7733 GB, free: 17.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004054/0.6599, allocations: 2.387 MB / 0.7757 GB, free: 17.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.6599, allocations: 3.875 kB / 0.7757 GB, free: 17.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.66, allocations: 7.688 kB / 0.7757 GB, free: 17.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009779/0.6697, allocations: 3.075 MB / 0.7787 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/0.6705, allocations: 186.8 kB / 0.7789 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004736/0.6752, allocations: 2.697 MB / 0.7815 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.677, allocations: 165.1 kB / 0.7816 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.6771, allocations: 41.8 kB / 0.7817 GB, free: 12.81 MB / 474.7 MB 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.0005697/0.6777, allocations: 257 kB / 0.7819 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004095/0.6781, allocations: 173.8 kB / 0.7821 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.6882, allocations: 4.163 MB / 0.7862 GB, free: 9.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.6882, allocations: 12 kB / 0.7862 GB, free: 9.059 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.6882, allocations: 0 / 0.7862 GB, free: 9.059 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/0.6883, allocations: 7.969 kB / 0.7862 GB, free: 9.051 MB / 474.7 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.01288/0.7012, allocations: 6.257 MB / 0.7923 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.7012, allocations: 0 / 0.7923 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.7022, allocations: 171.2 kB / 0.7925 GB, free: 3.738 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00496/0.7072, allocations: 1.693 MB / 0.7941 GB, free: 2.117 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/0.7074, allocations: 35.94 kB / 0.7941 GB, free: 2.082 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01843/0.7258, allocations: 8.178 MB / 0.8021 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7258, allocations: 0 / 0.8021 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/0.7391, allocations: 5.189 MB / 0.8072 GB, free: 4.555 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00087/0.74, allocations: 306.8 kB / 0.8075 GB, free: 4.234 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005683/0.7406, allocations: 24 kB / 0.8075 GB, free: 4.211 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001917/0.7425, allocations: 103.9 kB / 0.8076 GB, free: 4.109 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000562/0.7431, allocations: 189.4 kB / 0.8078 GB, free: 3.926 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.7432, allocations: 35.98 kB / 0.8078 GB, free: 3.891 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00213/0.7453, allocations: 1.075 MB / 0.8089 GB, free: 2.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7454, allocations: 0 / 0.8089 GB, free: 2.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001727/0.7471, allocations: 479.6 kB / 0.8093 GB, free: 2.352 MB / 490.7 MB 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.01314/0.7602, allocations: 5.824 MB / 0.815 GB, free: 12.49 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.006354/0.7666, allocations: 2.309 MB / 0.8173 GB, free: 10.18 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7666, allocations: 0 / 0.8173 GB, free: 10.18 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004315/0.771, allocations: 1.649 MB / 0.8189 GB, free: 8.516 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.7724, allocations: 146.1 kB / 0.819 GB, free: 8.371 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02126/0.7936, allocations: 13.93 MB / 0.8326 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/0.7944, allocations: 1.261 MB / 0.8339 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006162/0.795, allocations: 137.3 kB / 0.834 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008485/0.7959, allocations: 0.6203 MB / 0.8346 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of SimCode: time 1.803e-06/0.7959, allocations: 0 / 0.8346 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06519/0.8611, allocations: 39.37 MB / 0.873 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.8613, allocations: 239.7 kB / 0.8733 GB, free: 288 kB / 0.5417 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_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.o OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.c In file included from OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.c:7: In file included from ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_model.h:24: ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.o] Error 1