Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.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.Mostar,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Mostar",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.005558/0.005558, allocations: 173.4 kB / 15.12 MB, free: 5.973 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.383/1.383, allocations: 223.2 MB / 239 MB, free: 1.781 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.000933/0.0009334, allocations: 109.6 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5073/0.5073, allocations: 78.52 MB / 419.8 MB, free: 43.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003697, allocations: 15.98 kB / 499.8 MB, free: 2.609 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4073, allocations: 69.34 MB / 0.5558 GB, free: 38.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.5482, allocations: 107 MB / 0.6603 GB, free: 15.34 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.5485, allocations: 83.95 kB / 0.6604 GB, free: 15.26 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1035/0.652, allocations: 39.25 MB / 0.6987 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.557e-06/0.652, allocations: 0 / 0.6987 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001147/0.6522, allocations: 43.92 kB / 0.6987 GB, free: 7.777 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004849/0.657, allocations: 2.08 MB / 0.7008 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.6571, allocations: 8.031 kB / 0.7008 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002546/0.6573, allocations: 160.2 kB / 0.7009 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.6584, allocations: 277.6 kB / 0.7012 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.6602, allocations: 1.025 MB / 0.7022 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002685/0.6605, allocations: 212.8 kB / 0.7024 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.6607, allocations: 104 kB / 0.7025 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/0.6633, allocations: 1.369 MB / 0.7038 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.6633, allocations: 0 / 0.7038 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.6634, allocations: 40 kB / 0.7039 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.6635, allocations: 32 kB / 0.7039 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002752/0.6662, allocations: 1.253 MB / 0.7051 GB, free: 1.02 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.008705/0.675, allocations: 5.186 MB / 0.7102 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008713/0.6837, allocations: 3.026 MB / 0.7131 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.6838, allocations: 16.98 kB / 0.7132 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001718/0.6855, allocations: 0.7905 MB / 0.7139 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=101): time 2.906e-06/0.6856, allocations: 3.938 kB / 0.7139 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=101): time 0.01104/0.6966, allocations: 3.514 MB / 0.7174 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.6968, allocations: 270 kB / 0.7176 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.6988, allocations: 1.146 MB / 0.7187 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.699, allocations: 49.7 kB / 0.7188 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005832/0.6995, allocations: 0.6622 MB / 0.7194 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004251/0.7, allocations: 370.8 kB / 0.7198 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.804e-05/0.7001, allocations: 24 kB / 0.7198 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.7003, allocations: 353.9 kB / 0.7201 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.7019, allocations: 0.6272 MB / 0.7208 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001843/0.7038, allocations: 0.8596 MB / 0.7216 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.7055, allocations: 0.6823 MB / 0.7223 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.7055, allocations: 3.953 kB / 0.7223 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.008116/0.7136, allocations: 3.187 MB / 0.7254 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006935/0.7144, allocations: 1.522 MB / 0.7269 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.7144, allocations: 4 kB / 0.7269 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006014/0.7204, allocations: 1.814 MB / 0.7286 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/0.721, allocations: 143.8 kB / 0.7288 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006616/0.7277, allocations: 4.795 MB / 0.7335 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.7293, allocations: 218.9 kB / 0.7337 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.763e-05/0.7295, allocations: 43.98 kB / 0.7337 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.7295, allocations: 4 kB / 0.7337 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006368/0.7358, allocations: 2.512 MB / 0.7362 GB, free: 336 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.7359, allocations: 4 kB / 0.7362 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005174/0.7411, allocations: 1.541 MB / 0.7377 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/0.7417, allocations: 147.8 kB / 0.7378 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008051/0.7498, allocations: 7.814 MB / 0.7455 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.7514, allocations: 167 kB / 0.7456 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-05/0.7516, allocations: 43.98 kB / 0.7457 GB, free: 6.031 MB / 0.5417 GB 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.0008524/0.7524, allocations: 377.4 kB / 0.746 GB, free: 5.652 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.7527, allocations: 150.1 kB / 0.7462 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005877/0.7586, allocations: 2.202 MB / 0.7483 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.7586, allocations: 12 kB / 0.7483 GB, free: 3.277 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.7586, allocations: 3.938 kB / 0.7483 GB, free: 3.273 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.7586, allocations: 8.344 kB / 0.7483 GB, free: 3.266 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.008436/0.7671, allocations: 3.955 MB / 0.7522 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.7671, allocations: 0 / 0.7522 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.7682, allocations: 195.8 kB / 0.7524 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/0.7706, allocations: 0.6558 MB / 0.753 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/0.7707, allocations: 31.94 kB / 0.753 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007527/0.7783, allocations: 3.74 MB / 0.7567 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.7783, allocations: 4 kB / 0.7567 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007528/0.7858, allocations: 3.03 MB / 0.7597 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006981/0.7866, allocations: 247 kB / 0.7599 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.7868, allocations: 20 kB / 0.7599 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.788, allocations: 139.9 kB / 0.7601 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.7883, allocations: 124.8 kB / 0.7602 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-05/0.7884, allocations: 31.88 kB / 0.7602 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001353/0.7898, allocations: 0.8803 MB / 0.7611 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7898, allocations: 4 kB / 0.7611 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001749/0.7916, allocations: 0.6275 MB / 0.7617 GB, free: 5.301 MB / 0.5573 GB 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.007207/0.7988, allocations: 3.564 MB / 0.7652 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2542/1.053, allocations: 3.619 MB / 0.7687 GB, free: 140.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/1.053, allocations: 1.031 kB / 0.7687 GB, free: 140.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002584/1.056, allocations: 1.08 MB / 0.7697 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/1.057, allocations: 164.3 kB / 0.7699 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007624/1.065, allocations: 6.436 MB / 0.7762 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009671/1.066, allocations: 1.234 MB / 0.7774 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008395/1.066, allocations: 141.2 kB / 0.7775 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007842/1.067, allocations: 0.5759 MB / 0.7781 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.162e-06/1.067, allocations: 0 / 0.7781 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07341/1.141, allocations: 36.46 MB / 0.8137 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/1.141, allocations: 200.6 kB / 0.8139 GB, free: 133.1 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_Mostar.o OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Mostar.c In file included from OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Mostar.c:7: In file included from ./OpenIPSL_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_OpenIPSL_Examples_RaPIdExperiments_Mostar.c:7: In file included from ./OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Mostar_model.h:24: ./OpenIPSL_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_OpenIPSL_Examples_RaPIdExperiments_Mostar.o] Error 1