Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_dev_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.006979/0.006979, allocations: 172.2 kB / 15.11 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.316/1.316, allocations: 223.2 MB / 239 MB, free: 1.812 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.0008678/0.000868, allocations: 89.16 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4856/0.4856, allocations: 79.45 MB / 420.8 MB, free: 43.69 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003883, allocations: 15.98 kB / 0.4891 GB, free: 1.941 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4101, allocations: 69.5 MB / 0.557 GB, free: 38.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.5511, allocations: 107.7 MB / 0.6621 GB, free: 13.91 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.5514, allocations: 84.67 kB / 0.6622 GB, free: 13.83 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1026/0.654, allocations: 36.54 MB / 0.6979 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6541, allocations: 0 / 0.6979 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002022/0.6543, allocations: 36 kB / 0.6979 GB, free: 9.078 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.006793/0.6611, allocations: 2.103 MB / 0.7 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.6611, allocations: 8.031 kB / 0.7 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005315/0.6617, allocations: 152.2 kB / 0.7001 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/0.6645, allocations: 0.4896 MB / 0.7006 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002791/0.6673, allocations: 1.103 MB / 0.7017 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.6676, allocations: 204.8 kB / 0.7019 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003038/0.668, allocations: 108 kB / 0.702 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/0.6712, allocations: 1.376 MB / 0.7033 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.6712, allocations: 0 / 0.7033 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.6714, allocations: 44 kB / 0.7034 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.6714, allocations: 27.94 kB / 0.7034 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003144/0.6746, allocations: 1.257 MB / 0.7046 GB, free: 1.996 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.01043/0.685, allocations: 5.307 MB / 0.7098 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00878/0.6938, allocations: 3.026 MB / 0.7128 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.694, allocations: 20.98 kB / 0.7128 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00193/0.696, allocations: 0.7905 MB / 0.7135 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=101): time 3.997e-06/0.696, allocations: 0 / 0.7135 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of matching and sorting (n=101): time 0.01141/0.7074, allocations: 3.514 MB / 0.717 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/0.7077, allocations: 270 kB / 0.7172 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.7102, allocations: 1.221 MB / 0.7184 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003142/0.7105, allocations: 49.7 kB / 0.7185 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006572/0.7112, allocations: 0.6661 MB / 0.7191 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004764/0.7117, allocations: 362.8 kB / 0.7195 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.7118, allocations: 24 kB / 0.7195 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.712, allocations: 362 kB / 0.7198 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.7134, allocations: 0.6272 MB / 0.7205 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.7151, allocations: 0.8557 MB / 0.7213 GB, free: 380 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.7166, allocations: 0.6847 MB / 0.722 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.7166, allocations: 4 kB / 0.722 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.008574/0.7252, allocations: 3.183 MB / 0.7251 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007807/0.7261, allocations: 1.521 MB / 0.7266 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.7261, allocations: 4 kB / 0.7266 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006281/0.7324, allocations: 1.818 MB / 0.7283 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.7331, allocations: 139.8 kB / 0.7285 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007055/0.7402, allocations: 4.798 MB / 0.7332 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.7423, allocations: 214.9 kB / 0.7334 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.7425, allocations: 47.98 kB / 0.7334 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.7425, allocations: 0 / 0.7334 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006713/0.7492, allocations: 2.512 MB / 0.7359 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.7493, allocations: 4 kB / 0.7359 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005215/0.7545, allocations: 1.545 MB / 0.7374 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/0.7551, allocations: 151.8 kB / 0.7375 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008056/0.7632, allocations: 7.81 MB / 0.7451 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.765, allocations: 163 kB / 0.7453 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.7652, allocations: 40 kB / 0.7453 GB, free: 6.82 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.0009742/0.7662, allocations: 389.3 kB / 0.7457 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003746/0.7665, allocations: 162 kB / 0.7459 GB, free: 6.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005869/0.7724, allocations: 2.182 MB / 0.748 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.7725, allocations: 12 kB / 0.748 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7725, allocations: 3.938 kB / 0.748 GB, free: 4.059 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.7725, allocations: 4.359 kB / 0.748 GB, free: 4.055 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.008498/0.781, allocations: 4.006 MB / 0.7519 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.7811, allocations: 4 kB / 0.7519 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.7821, allocations: 203.7 kB / 0.7521 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002381/0.7845, allocations: 0.6526 MB / 0.7528 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/0.7846, allocations: 31.94 kB / 0.7528 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007839/0.7925, allocations: 3.744 MB / 0.7564 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7925, allocations: 0 / 0.7564 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00796/0.8005, allocations: 3.018 MB / 0.7594 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008401/0.8014, allocations: 266.9 kB / 0.7596 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.8016, allocations: 31.92 kB / 0.7597 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.8029, allocations: 135.9 kB / 0.7598 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/0.8032, allocations: 124.8 kB / 0.7599 GB, free: 7.559 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/0.8033, allocations: 27.98 kB / 0.76 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001495/0.8048, allocations: 0.9428 MB / 0.7609 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8048, allocations: 0 / 0.7609 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001851/0.8067, allocations: 0.6315 MB / 0.7615 GB, free: 5.957 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.007447/0.8141, allocations: 3.567 MB / 0.765 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2519/1.066, allocations: 3.623 MB / 0.7685 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.066, allocations: 2.188 kB / 0.7685 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002459/1.069, allocations: 1.079 MB / 0.7696 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/1.07, allocations: 161.5 kB / 0.7697 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/1.077, allocations: 6.5 MB / 0.7761 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008843/1.078, allocations: 1.231 MB / 0.7773 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007633/1.079, allocations: 147.8 kB / 0.7774 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000729/1.079, allocations: 0.5786 MB / 0.778 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of SimCode: time 9.62e-07/1.079, allocations: 0 / 0.778 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06848/1.148, allocations: 37.06 MB / 0.8142 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001393/1.148, allocations: 197.4 kB / 0.8144 GB, free: 133.4 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_dev_OpenIPSL_Examples_RaPIdExperiments_Mostar.o OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Mostar.c In file included from OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Mostar.c:7: In file included from ./OpenIPSL_dev_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_dev_OpenIPSL_Examples_RaPIdExperiments_Mostar.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Mostar_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL_Examples_RaPIdExperiments_Mostar.o] Error 1