Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.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.Mostar,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar",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.005537/0.005537, allocations: 172 kB / 15.11 MB, free: 5.969 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.332/1.332, 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.0008583/0.0008583, allocations: 98.83 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05998/0.05998, 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.4018/0.4018, allocations: 78.52 MB / 459.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005589/0.0005589, allocations: 21.31 kB / 0.528 GB, free: 35.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1149, allocations: 69.25 MB / 0.5956 GB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3669/0.4819, allocations: 108.5 MB / 0.7016 GB, free: 38.79 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.4821, allocations: 75.11 kB / 0.7017 GB, free: 38.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08739/0.5695, allocations: 38.67 MB / 0.7395 GB, free: 31.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.5695, allocations: 4 kB / 0.7395 GB, free: 31.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001279/0.5697, allocations: 39.19 kB / 0.7395 GB, free: 31.17 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00463/0.5743, allocations: 2.095 MB / 0.7415 GB, free: 29.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.5743, allocations: 15.64 kB / 0.7416 GB, free: 29.85 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003415/0.5747, allocations: 155 kB / 0.7417 GB, free: 29.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.5758, allocations: 273.5 kB / 0.742 GB, free: 29.67 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.5776, allocations: 1.066 MB / 0.743 GB, free: 29.08 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.5778, allocations: 214.9 kB / 0.7432 GB, free: 28.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.578, allocations: 99.06 kB / 0.7433 GB, free: 28.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.5803, allocations: 1.373 MB / 0.7446 GB, free: 28.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.5803, allocations: 7.906 kB / 0.7447 GB, free: 28.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.5804, allocations: 39.66 kB / 0.7447 GB, free: 28.46 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.5804, allocations: 27.25 kB / 0.7447 GB, free: 28.46 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.5828, allocations: 1.259 MB / 0.7459 GB, free: 28.24 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.006196/0.589, allocations: 5.199 MB / 0.751 GB, free: 25.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007271/0.5963, allocations: 3.021 MB / 0.754 GB, free: 24.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.682e-05/0.5964, allocations: 24.33 kB / 0.754 GB, free: 24.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.5977, allocations: 0.7892 MB / 0.7548 GB, free: 23.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=101): time 2.224e-06/0.5977, allocations: 0 / 0.7548 GB, free: 23.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=101): time 0.009459/0.6072, allocations: 3.513 MB / 0.7582 GB, free: 22.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.6073, allocations: 273.1 kB / 0.7585 GB, free: 22.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.6088, allocations: 1.165 MB / 0.7596 GB, free: 22.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.6089, allocations: 50.86 kB / 0.7596 GB, free: 22.06 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/0.6093, allocations: 0.6637 MB / 0.7603 GB, free: 21.78 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.6095, allocations: 373.4 kB / 0.7606 GB, free: 21.51 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.6096, allocations: 22.47 kB / 0.7607 GB, free: 21.51 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.6097, allocations: 355.8 kB / 0.761 GB, free: 21.19 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.6108, allocations: 0.6244 MB / 0.7616 GB, free: 21.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.612, allocations: 0.8514 MB / 0.7624 GB, free: 20.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.6132, allocations: 0.6876 MB / 0.7631 GB, free: 20.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6132, allocations: 0 / 0.7631 GB, free: 20.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006859/0.6201, allocations: 3.192 MB / 0.7662 GB, free: 19.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002543/0.6204, allocations: 1.528 MB / 0.7677 GB, free: 18.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.6204, allocations: 3.875 kB / 0.7677 GB, free: 18.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005331/0.6257, allocations: 1.807 MB / 0.7695 GB, free: 17.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/0.6263, allocations: 149.5 kB / 0.7696 GB, free: 17.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00512/0.6315, allocations: 4.786 MB / 0.7743 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.633, allocations: 214.1 kB / 0.7745 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.297e-05/0.6331, allocations: 50.39 kB / 0.7746 GB, free: 14.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.6331, allocations: 3.906 kB / 0.7746 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005488/0.6386, allocations: 2.513 MB / 0.777 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.6386, allocations: 3.875 kB / 0.777 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00445/0.6431, allocations: 1.542 MB / 0.7785 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005421/0.6436, allocations: 156.8 kB / 0.7787 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006029/0.6496, allocations: 7.805 MB / 0.7863 GB, free: 7.504 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.651, allocations: 164 kB / 0.7865 GB, free: 7.422 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.6511, allocations: 46.73 kB / 0.7865 GB, free: 7.387 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,10 52} Notification: Performance of prepare postOptimizeDAE: time 0.0007399/0.6519, allocations: 386.1 kB / 0.7869 GB, free: 7.109 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/0.6522, allocations: 169.9 kB / 0.787 GB, free: 6.941 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005053/0.6573, allocations: 2.182 MB / 0.7892 GB, free: 5.246 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.6573, allocations: 8 kB / 0.7892 GB, free: 5.238 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6573, allocations: 4 kB / 0.7892 GB, free: 5.234 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.6573, allocations: 7.969 kB / 0.7892 GB, free: 5.227 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.006824/0.6642, allocations: 3.965 MB / 0.7931 GB, free: 2.145 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6642, allocations: 0 / 0.7931 GB, free: 2.145 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008175/0.665, allocations: 198.3 kB / 0.7932 GB, free: 1.957 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00196/0.667, allocations: 0.6602 MB / 0.7939 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-05/0.6671, allocations: 26.56 kB / 0.7939 GB, free: 1.359 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006723/0.6738, allocations: 3.744 MB / 0.7976 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6738, allocations: 0 / 0.7976 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0073/0.6811, allocations: 3.022 MB / 0.8005 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006363/0.6818, allocations: 250.9 kB / 0.8008 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/0.6822, allocations: 27.98 kB / 0.8008 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.6835, allocations: 135.8 kB / 0.8009 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003251/0.6838, allocations: 124.8 kB / 0.801 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-05/0.6839, allocations: 31.98 kB / 0.8011 GB, free: 10.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001347/0.6853, allocations: 0.8964 MB / 0.8019 GB, free: 9.258 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6853, allocations: 0 / 0.8019 GB, free: 9.258 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001728/0.687, allocations: 0.6237 MB / 0.8026 GB, free: 8.633 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.006863/0.6939, allocations: 3.579 MB / 0.8061 GB, free: 5.012 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007828/0.7017, allocations: 3.619 MB / 0.8096 GB, free: 1.305 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.7018, allocations: 4 kB / 0.8096 GB, free: 1.301 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002179/0.7039, allocations: 1.072 MB / 0.8106 GB, free: 196 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.705, allocations: 163 kB / 0.8108 GB, free: 32 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006884/0.7119, allocations: 6.468 MB / 0.8171 GB, free: 9.438 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007924/0.7127, allocations: 1.238 MB / 0.8183 GB, free: 8.168 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0006559/0.7134, allocations: 148.8 kB / 0.8185 GB, free: 8.02 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000781/0.7142, allocations: 0.5813 MB / 0.819 GB, free: 7.438 MB / 0.4949 GB Notification: Performance of SimCode: time 7.81e-07/0.7142, allocations: 0 / 0.819 GB, free: 7.438 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06056/0.7748, allocations: 36.66 MB / 0.8548 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/0.775, allocations: 194.1 kB / 0.855 GB, free: 2.758 MB / 0.5261 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_Mostar.o OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar.c In file included from OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar_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_Mostar.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar_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_Mostar.o] Error 1